[cod] Linux Install Versions...

Dallas Crandall dallas at crd-dwc.com
Fri Sep 23 23:48:33 EDT 2005


I have run COD/CODUO on RedHat Fedora 3 & 4 as well as AS 3 & 4, with as many as 4 servers per machine (CRD's Free Servers). When you install the operating system make sure that gcc and ALL of the perl modules are installed. Mostly make sure your system has a min of 512megs memory per server that you run and that your upload speed is at least 25-35 k per connected player.

Before you start:

Firewall for your server should block all but the most important ports. For COD you must open the following tcp ports 28960, add one port for each server you will run. 3 servers would be ports 28960,28961,28962.

Make sure your linux box is seeing the internet and it can be pinged by a local machine. And this assumes that you have X-Windows on the linux box. If not then you will have to complete the following steps from a command prompt.

If you are running a firewall then forward those ports ONLY to the linux box. When the ports are forwarded you will not have a server list in the user machine, except the local server, if you only have one public ip address.

Multi-homed servers have been unreliable in starting servers on the wrong nic's. I gave up and desided to just add an additional server to provide firewalling.

Things to do:
  1.. Create the users that will run the servers: coduo1, coduo2, etc. Linux command (useradd coduo1). Do not run server as a root or superuser user. 
  2.. Set there passwords (passwd coduo1password) 
  3.. Make a directory for each of the servers you will run (mkdir callofduty1) on the root of the drive. (chmod 777) for the user made earlier. 
  4.. Download the large package, don't screw with the little one( Version 1.51),   http://0day.icculus.org/cod/ and save it to the /callofduty1 directory, and expand it. 
  5.. Copy the contents of your Callofduty CD's Disk#1 setup/data directory to /callofduty1 directory you made earlier. 
  6.. Copy the contents of your Callofduty CD's Disk#2 setup/data/uo to the /callofduty1/uo directory. 
  7.. To test install Open a Terminal Window & type the following commands:
           cd ..
            cd callofduty1
            ./coduo_lnxded

(When it stops type the following commands)

rconPassword passwordhere
map mp_kursk

Configure Server:

  1.. Go to  http://www.noginn.tsohost.co.uk/codserver/  make your config file. 
  2.. Save it to the (see the dot) /callofduty1/.callofduty/uo directory.
Go to your desktop and open Remoteconsole in the COD multi and put in the ipaddress and password of your server. Connect to the server, if you can, your done with the first one. 

To make additional servers copy the contents of callofduty1 to the callofduty2 directory. The additional servers can be run by hitting alt/F1, alt/F2, alt/F3 and logging in as the users created. Log in as different users in each of the terminals. Then cd to the directory of the server you want to start it. You can switch between servers by hitting alt & the "F" key you want. It is best to not run these servers inside of XWindows. Also I have found that if you run more then one server inside of Xwindows you can not change the config's of your server independantly (change maps).


Do not run your server as root. Login as the user you created, rerun the server and then verify that your local machine can still connect.

Good Luck
Dallas
  ----- Original Message ----- 
  From: Ian S 
  To: cod at icculus.org 
  Sent: Thursday, September 22, 2005 4:30 PM
  Subject: [cod] Linux Install Versions...


  I am REALLY confused about where to start installing my linux server. Which version do i start with then patch? Is there a version thats th most recent that i dont need to patch? I know i need to copy the Data folders and stuff. But i dont know which server to download :(

  -- 
  Ian
  0_- (eye poked out emoticon i invented. make it famous) 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20050923/c0df3d49/attachment.htm>


More information about the Cod mailing list