I just made a VM running Ubuntu 16.04 on XenServer 7 so I this is how i installed it.
First I did a clean install of Ubuntu Server 16.04, I just selected ssh server from that installation.
I used this page as my guide:
http://dev.minetest.net/Compiling_Minetest1. sudo su, then enter the password.
2. apt-get install build-essential cmake git libirrlicht-dev libbz2-dev libgettextpo-dev libfreetype6-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev
libogg-dev libvorbis-dev libopenal-dev libhiredis-dev libcurl3-dev
3. cd ~ I just installed it in my home directory
4. git clone
https://github.com/minetest/minetest.git5. cd minetest
7. cd games/
8. git clone
https://github.com/minetest/minetest_game.git9. cd ..
10. cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1 -DBUILD_SERVER=1 -DCMAKE_BUILD_TYPE=Release
11. make -j$(grep -c processor /proc/cpuinfo)
Then it's time to make it autostart with systemd
I found this page:
viewtopic.php?id=8867 about setting it up
I created a file /lib/systemd/system/minetestserver.service
With this content
[Unit]
Description=Minetest server
After=network.target
[Service]
Type=simple
User=sten
ExecStart=/home/sten/minetest/bin/minetestserver
[Install]
WantedBy=multi-user.target
Yes, sten is the user name I used on the ubuntu server.
The enable the service: systemctl enable minetestserver.service
Reboot and it should be running...
I have not yet learned how to configure worlds etc. But it's playable as it is.
Best regards
Sten Arild Hvidsten