View Full Version : installing server on linux server without graphics
ExitJudas
October 7th, 2007, 06:38 AM
hey!
question from noob
is it possible to install the server on a linux box that does not have graphics packages etc. installed, and run the server through putty, i.e. text only?
thanx
lch
October 7th, 2007, 07:27 AM
You can run a dedicated, text-only server if you pass the configuration parameters through the command line. Programs like "screen" are your friend to keep it running as a background process while still giving you access to it. However, since there is no extra text-only binary for dedicated servers, your linux box will still need to have all the libraries installed which are linked to in the binary (libX11/libGL/libGLU).
ExitJudas
October 7th, 2007, 01:09 PM
any easy way of finding out what those libraries are? i'm a linux noob http://forum.shrapnelgames.com/images/smilies/wink.gif
My friends server runs ubuntu AFAIK.
lch
October 7th, 2007, 01:47 PM
See here: http://www.shrapnelcommunity.com/threads/showflat.php?Number=502748
As I wrote there, in the end I downloaded binary libs from Sourceforge. Maybe your friend could try if installing xlibmesa-gl and xlibmesa-glu is a better choice to get it up. He'll need the libSDL and maybe some other mumbo jumbo, too. He can check with "ldd /opt/dominions3/dom3" (or where ever he installed the game) if he has all the libs.
ExitJudas
October 7th, 2007, 03:08 PM
got it to work! i am now remote controlling my friends dom 3 server via putty! http://forum.shrapnelgames.com/images/smilies/laugh.gif
thanx for the advice. its great to find such a helpful forum for this amazing game!
btw.. i seem to remember reading someone have made a web app to show who has taken their turns on the server. can anyone point me towards it?
thanx in advance.
lch
October 7th, 2007, 03:37 PM
ExitJudas said:
got it to work! i am now remote controlling my friends dom 3 server via putty! http://forum.shrapnelgames.com/images/smilies/laugh.gif
Good. For reference, could you tell which packages you installed to get it running?
Remember to use the "screen" software to make your life easier. It's very easy to use, you only need to know two commands ("screen" for the first time, "screen -r" to resume) and three hotkeys ("ctrl+a c" to create a new session, "ctrl+a space" to switch through sessions, "ctrl+a d" to detach) to control your games with it.
Further info:
http://www.yobi.be/mediawiki/index.php/Screen
http://mdxi.collapsar.net/docs/screen/#s100
ExitJudas said:
btw.. i seem to remember reading someone have made a web app to show who has taken their turns on the server. can anyone point me towards it?
I guess you mean my PHP script (http://www.shrapnelcommunity.com/threads/showflat.php?Number=496923). Haven't updated it since some time, feel free to comment in case the FAQ is incomprehensible or misleading. I should add some more features, but so far people only rarely seem to use them anyway. Nobody ever uses a different style for example, not necessarily a bad thing.
ExitJudas
October 7th, 2007, 04:44 PM
great stuff. i got it almost set up. just need my friend to install the package in question. great job with the scripting. cant wait to get this running.
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.