Ubuntu vps server installation guide?

Post Reply
jwpwns
Member
Posts: 62
Joined: Sat Feb 08, 2014 22:22

Ubuntu vps server installation guide?

by jwpwns » Post

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?

jwpwns
Member
Posts: 62
Joined: Sat Feb 08, 2014 22:22

Re: Ubuntu vps server installation guide?

by jwpwns » Post

anyone?

User avatar
MineYoshi
Member
Posts: 5373
Joined: Wed Jul 08, 2015 13:20
Contact:

Re: Ubuntu vps server installation guide?

by MineYoshi » Post

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!
Have a nice day! :D

TARD
Member
Posts: 45
Joined: Thu Sep 01, 2016 23:28
GitHub: kingtard
IRC: turd
In-game: TARD

Re: Ubuntu vps server installation guide?

by TARD » Post

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)

jwpwns
Member
Posts: 62
Joined: Sat Feb 08, 2014 22:22

Re: Ubuntu vps server installation guide?

by jwpwns » Post

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.

jwpwns
Member
Posts: 62
Joined: Sat Feb 08, 2014 22:22

Re: Ubuntu vps server installation guide?

by jwpwns » Post

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.

TARD
Member
Posts: 45
Joined: Thu Sep 01, 2016 23:28
GitHub: kingtard
IRC: turd
In-game: TARD

Re: Ubuntu vps server installation guide?

by TARD » Post

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.

jwpwns
Member
Posts: 62
Joined: Sat Feb 08, 2014 22:22

Re: Ubuntu vps server installation guide?

by jwpwns » Post

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#

User avatar
BrandonReese
Member
Posts: 839
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese
Location: USA

Re: Ubuntu vps server installation guide?

by BrandonReese » Post

Try

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

jwpwns
Member
Posts: 62
Joined: Sat Feb 08, 2014 22:22

Re: Ubuntu vps server installation guide?

by jwpwns » Post

BrandonReese wrote:Try

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

jwpwns
Member
Posts: 62
Joined: Sat Feb 08, 2014 22:22

Re: Ubuntu vps server installation guide?

by jwpwns » Post

NVm all good

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest