Page 1 of 1

Ubuntu vps server installation guide?

PostPosted: Thu Sep 01, 2016 20:23
by jwpwns
I tried to install a minetest server on my Ubuntu vps a long time ago could never get it to work has anyone made any good guides yet?

Re: Ubuntu vps server installation guide?

PostPosted: Thu Sep 01, 2016 23:22
by jwpwns
anyone?

Re: Ubuntu vps server installation guide?

PostPosted: Thu Sep 01, 2016 23:34
by MineYoshi
jwpwns wrote:anyone?

I don't know 'cause the Linux Distros as well are Puppy, and Mint. Also i never setted up a server.

Maybe the person that will help you, maybe isn't online, or didn't read your post yet...
Please have Patience!

Re: Ubuntu vps server installation guide?

PostPosted: Thu Sep 01, 2016 23:44
by TARD
http://dev.minetest.net/Compiling_Minetest

Just do
sudo apt-get update
sudo apt-get upgrade

Then copy and paste the text withing the blue boxes at http://dev.minetest.net/Compiling_Minetest

WARNING!!!!
After the first box titled "Install dependencies. Here's an example for Debian-based and Ubuntu-based distributions: "
You'll need to copy/paste/press enter LINE BY LINE!!!!!
Though all text is contained in a blue box you must copy/paste/press enter ONE LINE AT A TIME!!!!!
This error gave me headache and wasted 2 or 3 days. I believe the instructions need a edit to make that clear.

For example
copy paste

git clone https://github.com/minetest/minetest.git

( press enter )

(copy paste)

cd minetest/

(press enter)

and so on

After it's finished compiling you can run by

cd minetest/bin
(press enter)
./minetestserver
(press enter)

Re: Ubuntu vps server installation guide?

PostPosted: Fri Sep 02, 2016 00:07
by jwpwns
TARD wrote:http://dev.minetest.net/Compiling_Minetest

Just do
sudo apt-get update
sudo apt-get upgrade

Then copy and paste the text withing the blue boxes at http://dev.minetest.net/Compiling_Minetest

WARNING!!!!
After the first box titled "Install dependencies. Here's an example for Debian-based and Ubuntu-based distributions: "
You'll need to copy/paste/press enter LINE BY LINE!!!!!
Though all text is contained in a blue box you must copy/paste/press enter ONE LINE AT A TIME!!!!!
This error gave me headache and wasted 2 or 3 days. I believe the instructions need a edit to make that clear.

For example
copy paste

git clone https://github.com/minetest/minetest.git

( press enter )

(copy paste)

cd minetest/

(press enter)

and so on

After it's finished compiling you can run by

cd minetest/bin
(press enter)
./minetestserver
(press enter)


Thanks i will give this a shot.

Re: Ubuntu vps server installation guide?

PostPosted: Fri Sep 02, 2016 00:13
by jwpwns
All was good until i tried to run

cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1
make -j$(grep -c processor /proc/cpuinfo)


I got this error

ctory.
root@vps92811:~# cd ../
root@vps92811:/# cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1
CMake Error: The source directory "/" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
root@vps92811:/# make -j$(grep -c processor /proc/cpuinfo)
make: *** No targets specified and no makefile found. Stop.

Re: Ubuntu vps server installation guide?

PostPosted: Fri Sep 02, 2016 01:09
by TARD
Maybe error from not

cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1

(press enter)

make -j$(grep -c processor /proc/cpuinfo)

(press enter)

Or Maybe you were not in the dir /minetest, but still in minetest/games

If that doesn't work try rm -r minetest and start over. I'm running ubuntu vps and had the mistake of combining lines several times until it finally worked.

Re: Ubuntu vps server installation guide?

PostPosted: Fri Sep 02, 2016 01:48
by jwpwns
TARD wrote:Maybe error from not

cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1

(press enter)

make -j$(grep -c processor /proc/cpuinfo)

(press enter)

Or Maybe you were not in the dir /minetest, but still in minetest/games

If that doesn't work try rm -r minetest and start over. I'm running ubuntu vps and had the mistake of combining lines several times until it finally worked.



got it to work how ever when i tryu to run the server now it says


root@vps92811:~/minetest/bin# ./minetest
2016-09-01 21:48:09: WARNING[Main]: system-wide share not found at "/usr/local/share/minetest"
2016-09-01 21:48:09: WARNING[Main]: system-wide share not found at "/root/minetest/bin/../share/minetest"
2016-09-01 21:48:09: WARNING[Main]: system-wide share found at "/root/minetest/bin/.."
2016-09-01 21:48:09: WARNING[Main]: Couldn't find a locale directory!
2016-09-01 21:48:09: ERROR[Main]: Subgame specified in default_game [minetest] is invalid.
2016-09-01 21:48:09: ERROR[Main]: Irrlicht: Error: Need running XServer to start Irrlicht Engine.
2016-09-01 21:48:09: ERROR[Main]: Irrlicht: Could not open display, set DISPLAY variable
2016-09-01 21:48:09: ERROR[Main]: Could not initialize game engine.
root@vps92811:~/minetest/bin#

Re: Ubuntu vps server installation guide?

PostPosted: Fri Sep 02, 2016 01:54
by BrandonReese
Try

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
cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1 -DRUN_IN_PLACE=1 -DBUILD_SERVER=1


Then recompile and the executable you are looking for is minetestserver not just minetest

Re: Ubuntu vps server installation guide?

PostPosted: Fri Sep 02, 2016 02:15
by jwpwns
BrandonReese wrote:Try

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
cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1 -DRUN_IN_PLACE=1 -DBUILD_SERVER=1


Then recompile and the executable you are looking for is minetestserver not just minetest


Thanks that worked

Re: Ubuntu vps server installation guide?

PostPosted: Fri Sep 02, 2016 02:31
by jwpwns
NVm all good