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 or
in linux.
Code: Select all
dd if=<image.img> of=</dev/yoursdcard> bs=1M
You can get the name of your Sdcard inHere is external help on dd: https://wiki.ubuntuusers.de/dd/Code: Select all
fdisk -l - 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:
Add this lines and press CTL + O to save:
Code: Select all
sudo nano /etc/apt/sources.listThen runCode: 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.Code: Select all
sudo apt update - Everything should be up to date, so let's do an upgrade
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 thisto 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.Code: Select all
apt -t jessie-backports install minetestSpoiler
The other way is compiling minetest yourself, if you already used the other method skip this:
Add this to your souces.listandCode: Select all
sudo nano /etc/apt/sources.list.d/mt.list
paste this line into the file and save (CTL + O):(for all expired users: there is only the source needed because the repo don't contains minetest for armhf.)Code: Select all
deb-src http://ppa.launchpad.net/minetestdevs/stable/ubuntu vivid main
Then runandCode: Select all
sudo apt update, after that finished runCode: Select all
sudo apt install apt-srcCode: Select all
sudo apt-src updateSpoiler
Buid Minetest for your raspberry pi:
First, go into root mode:and then install the minetest source:Code: Select all
sudo -iThen build minetest from source:Code: Select all
apt-src install minetestThis can really take a long time, the raspi's processor isn't so fast.Code: Select all
apt-src build minetest
When it finished tippand press the autocomplete key. Choose the file ending with ".deb".Code: Select all
dpkg --install minetest_
The folder will look similar to this: (to get this list use the "ls" command" (do not swap the l and s otherwise it's not list but steam locomotive)[/size)
_______________________________________________________________________________________
root@minibian# ls
minetest-0.4.14 minetest_0.4.14-ppa3~ubuntu15.04.1.dsc
minetest_0.4.14-ppa3~ubuntu15.04.1_armhf.changes minetest_0.4.14-ppa3~ubuntu15.04.1.tar.xz
minetest_0.4.14-ppa3~ubuntu15.04.1_armhf.deb
_______________________________________________________________________________________
In this example the wanted file is "minetest_0.4.14-ppa3~ubuntu15.04.1_armhf.deb"
If you need further help with this, look here:
https://wiki.debian.org/apt-src
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:
Code: Select all
nohup minetest --server --worldname <your world>
Please say if I forgot something, or if something don't works anymore.
I hope I could help you