Tremulous Forum
Community => Servers => Topic started by: Neo(F) on May 27, 2008, 06:57:54 pm
-
Yes, i have used search ;), and i know it is possible.
But if i have a dedicated server somewhere and i control it with putty, i have a few questions about it.
If you start a tremulous server will this run in terminal(wich would make it confusing to run multiple servers.)or in seperate windows(wich i don't know how to view with putty).
I don't have the dedicated serverbox yet so i can't test anything, i just wanted to get some information before wasting a bunch of money.
-
I assume your talking about a linux box, as a windows dedi is stupid.
The common way is make a user for each server, and run each server on its own port. The different users give them different home directory's allowing easy configuration.
To keep it running without you having to keep putty open you can use screen, which allows you to start the server, detach it, and then connect again later.
-
I have got a readme I provided to Gamez-Host members.
I'll quote it in a bit when I find it.
If you do not know putty nor know how to setup directories to run multiple servers then your going to have a hard time.
Also if you are not root nor have root access you will need to grant files permission to be read, written, and run. <<< Be sure this is done first.
-
i know all the stuff have full acces etc.
It is running on linux and i know the commands how to set up different server with different ports etc.
I was just wondering if you start two trem servers what would happen.
Would they open in other windows or just run within terminal.
-
There are no windows. The server shouldn't even have X and the other windowing stuff installed, and tremded its self has no GUI.
-
yeah...
I still don't know how it works though. :-\
-
When you run the server, or any process, it is attached to the terminal. When the terminal dies, it dies too.
To keep the server running without you keeping the putty window open, you have to run it detached from said putty window. As we assume you want to keep access to the process so you can administrate the server, you need to use tools such as GNU screen.
Easiest way:
Log in as you.
type 'screen -S server1'
it should then pop up with the same prompt as before etc.
do 'exec su server1s username' to switch user.
cd to the right folder.
start the server as per normal, with exec in front of it. (so 'exec tremded +net_port 12345 +whatever)
do Ctrl+A+D and it should go back to your old prompt.
log out, log back in, do whatever else, then do 'screen -r server1' and it should be back to your server.
Just be careful to do ^AD when your finished watching the console, not ^C, killing servers is no fun.
-
Just be careful to do ^D when your finished watching the console, not ^C, killing servers is no fun.
^ad
-
^ad
Oops, thanks.