View Full Version : Setting up a 2nd CoD Server on a Linux Root
engel667
01-08-2004, 06:46 AM
Hi,
i just managed to get my 1st CoD Linux ded running. Now i want to start a 2nd CoD-Server on my RootServer. Can i just copy my 1st CoD-Folder into a new position and then start the Server on an other port ?
I hope you understand what i mean ;) . I searched through the Forum, but nothing answerd my Question.
greetz engel667
Steintz
01-08-2004, 09:04 AM
dunno how it work with linux .. but in win you can just make another shortcut and tell that shortcut the execute another cfg file, still using the same gamedir :)
ClickBouyow
01-08-2004, 09:30 AM
Yep. Just copy it over and exec it using a 2nd port. That is exactly how you do it.
engel667
01-08-2004, 09:49 AM
thx
Serph
01-09-2004, 09:27 PM
engel667,
Are you running your COD servers as root? if so this is a huge security breach, I suggest having another user run the server.
As for having a second server, yes you can simply copy it. Use this command, "cp -r ./* [dir to copy to]"
Here is an example of it
mkdir /home/cod/cod2
cd /home/cod/cod1
cp -r ./* /home/cod/cod2
when running more than one server use fs_homepath /home/cod/cod2/ and fs_basepath /home/cod/cod2/ in your run command
Another solution is symlinks however that is a more complex solution that will allow you to run multiple servers off of one copy of the game, however if you have the hard disk space I recommend just doing a copy :)
I hope this solves any problems you had, if your stuck I can be contacted on aim = normserph or by email serph@tapclan.com
Serph
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.