[cod] Linux server on RH9

Miano, Steven M. Steven.Miano at mybrighthouse.com
Mon Dec 10 10:20:23 EST 2007



________________________________________
From: Dallas Crandall [mailto:dallas at crd-dwc.com]
Sent: Saturday, December 08, 2007 1:17 PM
To: cod at icculus.org
Subject: RE: [cod] Linux server on RH9

Steven,
To just use screen:

1. Log into your server with putty.
2. Type screen hit enter.
3. Type in your server start command,  (example yours will be different) ./cod4_lnxded +set fs_basepath /home/cod4 +set_fshomepath /home/cod4 +exec config.cfg +set ui_maxclients "64" +map_rotate
4. Hit enter... and your server is running.
5. Then hit Ctrl, a, d and it will bring you back to your putty session and you can close the putty session without killing your game server.

When you connect again with putty, type screen -r and hit enter. This will put you back to your server session.

You can run more then on screen so it is possible to run several servers at the same time. Look up screen in google and learn all its tricks.
Hope it helps,

Dallas Crandall



-----Original Message-----
From: Jeffro [mailto:jeffroiscool at gmail.com]
Sent: Saturday, December 08, 2007 5:21 AM
To: cod at icculus.org
Subject: Re: [cod] Linux server on RH9

sh cod4.sh

in the sh file you have something like this

screen -S Nameofserver /pathtocod4/cod4-lnxded +exec config.cfg

that stuff ^_^
On Dec 7, 2007 11:53 PM, Bong-Master < bong-master at 22ndsas.org.uk> wrote:
Miano, Steven M. wrote:
>> Hi, guys i have few problems:
>>
>> Linux distribution is RedHat9, all work but .
>>
>>  I connect to server using SSH client (putty) i start server but if i
>> close SSH client (putty) server shutdown .. i must leave open putty
>>
>>  this is terible .. how u do it?
>>
>
> Use screen to open and administer executables that you would like to keep running when you terminate your user session.
>
> Try to man screen, if you can't man it then install it. ; )
>
> CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it.
>
> ---
> To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
>
>
>
>


Just to clarify I have no problems running commands under a screen and watching/stopping/starting applictions. The OP was Bong-Master....

~Steven

CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it.



More information about the Cod mailing list