I tested this steps on a rasberry pi 3 with Minibian / Raspbian / debian jessie (8).
- First thing: find an image for your raspberry Pi. I used Minibian for that. Minibian is a really minimal version of Debian / raspbian, ideal for servers. You can download minibian here: https://minibianpi.wordpress.com/download/
- Write the image to an Sdcard. You can use win32 Disk imager in windows orYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.in linux.
- Code: Select all
dd if=<image.img> of=</dev/yoursdcard> bs=1M
You can get the name of your Sdcard inYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.- Code: Select all
fdisk -l
Here is external help on dd: https://wiki.ubuntuusers.de/dd/ - Now boot up your Pi after you inserted your sdcard. SSH is already preinstalled in the image, so you could continue with this steps from an other pc using PUTTY or ssh. Username / Password is root / raspberry. Now there is an optional step: You can add this lines to the /etc/apt/sources.list file to get the latest packages from debian:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
sudo nano /etc/apt/sources.list
Add this lines and press CTL + O to save:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.- Code: Select all
deb http://ftp.de.debian.org/debian jessie main contrib non-free
deb-src http://ftp.de.debian.org/debian jessie main non-free contrib
Then runYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode..- Code: Select all
sudo apt update
- Everything should be up to date, so let's do an upgrade Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
sudo apt full-upgrade
- Now if you try installing minetest, you will get a really outdated version. The preferred way is following the instructions from here: https://wiki.debian.org/Backports
So add thisYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.to your souces.list, use apt update and install minetest from backports:- Code: Select all
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode..- Code: Select all
apt -t jessie-backports install minetest
+ Spoiler
+ Spoiler
When install finished, you should be able to copy your minetest map to your server using filezilla.
TIP: it's a good idea to create a seperate user for minetest, for security reasons. You can add one by "adduser minetest", and login as minetest next time. - Now you can start the server as described on the minetest wiki:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
nohup minetest --server --worldname <your world>
When I first tried running the minetesserver on a raspberry pi 3, I was really surprised of it's power. I tested with up to 10 players and the server still runs great.
Please say if I forgot something, or if something don't works anymore.
I hope I could help you