Ubuntu vps server installation guide?

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

Ubuntu vps server installation guide?

by jwpwns » Thu Sep 01, 2016 20:23

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: 53
Joined: Sat Feb 08, 2014 22:22

Re: Ubuntu vps server installation guide?

by jwpwns » Thu Sep 01, 2016 23:22

anyone?
 

User avatar
MineYoshi
Member
 
Posts: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

Re: Ubuntu vps server installation guide?

by MineYoshi » Thu Sep 01, 2016 23:34

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!
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 

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 » Thu Sep 01, 2016 23:44

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: 53
Joined: Sat Feb 08, 2014 22:22

Re: Ubuntu vps server installation guide?

by jwpwns » Fri Sep 02, 2016 00:07

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: 53
Joined: Sat Feb 08, 2014 22:22

Re: Ubuntu vps server installation guide?

by jwpwns » Fri Sep 02, 2016 00:13

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 » Fri Sep 02, 2016 01:09

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: 53
Joined: Sat Feb 08, 2014 22:22

Re: Ubuntu vps server installation guide?

by jwpwns » Fri Sep 02, 2016 01:48

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: 836
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

Re: Ubuntu vps server installation guide?

by BrandonReese » Fri Sep 02, 2016 01:54

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
 

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

Re: Ubuntu vps server installation guide?

by jwpwns » Fri Sep 02, 2016 02:15

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
 

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

Re: Ubuntu vps server installation guide?

by jwpwns » Fri Sep 02, 2016 02:31

NVm all good
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 10 guests

cron