PDA

View Full Version : linux server


vampiejay
05-12-2007, 04:22 PM
hi i followed guide for cod2 server install but am now stuck on getting cod2 files off disc onto server i am new to linux and have no idea of code to type to get files to copy. pleasecould someone post a giude forthis as i'm well and tuyly stuck. i'm running fedora core 6 and am trying to install cod2 please help.

payableondeath
05-13-2007, 07:27 AM
Hi

if you have access to windows you could zip the files and tranfer the files and unzip them.

what access do you have to the linux server? full desktop? or just ssh and ftp?
also where are the files currnectly? on a cd in the linux server or somewhere remote?


Regards

vampiejay
05-13-2007, 03:46 PM
as fair as i am aware i only have FFH access not to sure about desktop . If possible could you post info how to gain desktop access ie software . The files are on pc dvd .
Is special DVD needed to install onto linux machine or will normal game cd do ie windows be ok .


many thanks for your reply but would be greatful for HELP

payableondeath
05-13-2007, 06:09 PM
as fair as i am aware i only have FFH access not to sure about desktop . If possible could you post info how to gain desktop access ie software . The files are on pc dvd .
Is special DVD needed to install onto linux machine or will normal game cd do ie windows be ok .


many thanks for your reply but would be greatful for HELP

hi

FFH? you mean SSH ? (Command line)

no special DVD needed normal windows one will do

where is the DVD? in your pc or in the server?
if its in your pc then zip (.zip file not rar,etc) the data files from the DVD to your hard drive, then upload the zip file to the linux server.

cd to the folder where the file is uploaded, eg cd /home/cod2

then use
unzip filename.zip

that will extract the files and then you just need to setup server config files mods maps, etc
get the linux binaries http://www.callofduty.com/patch_cod2/index.html
make a start script

and off you go :)


Regards

vampiejay
05-14-2007, 03:12 PM
ok you may think that i'm thick but how do i upload files to server as i don't know how to go about this. i can zip the files on my computer but in putty what do i have to type to get the files to transfer and then to unzip.

many thanks

payableondeath
05-14-2007, 03:39 PM
normaly via ftp to the server, or you could upload to a website then using the following command download it from the website to the server

wget

eg

wget http://www.somedomain.com/filename.zip

vampiejay
05-15-2007, 02:49 PM
many thanks for the help is it the same unzip command for zip as it is tar ??

payableondeath
05-15-2007, 05:20 PM
.zip - unzip filename.zip
.tar - tar -xf filename.tar (add v if you want it to list files as its untaring, tar -xvf)
.tar.gz - tar -xzf filename.tar.gz (add v if you want it to list files as its untaring, tar -xxvf)
.tar.bz - tar -xjf filename.tar.bz (add v if you want it to list files as its untaring, tar -xjvf)

if you type in
tar --help
it will give you a list of options for taring and untaring

sometimes you will get errors when the extention is worng, eg .tar when its been gziped aswell (should be tar.gz)

payableondeath
05-26-2007, 09:50 AM
hi

how did you get on ?
all sorted ?

Regards

vampiejay
05-27-2007, 03:26 AM
not really i have 19 out of the 28 files that are needed uploaded just keep getting transfer error
can i give server resume support??

payableondeath
05-27-2007, 12:25 PM
do you know what FTP Server is running on there?
most of them should support Resume

vampiejay
05-28-2007, 04:05 PM
even worse some files were corrupt so i decided to reupload and just got to 87% and file transfer error bummer going to have a look at ftp on server to see if resume is supported getting nowhere fast.

is there anywhere on the net where the files are shared cause i'm uploading at max 40-45kbs

how do i find out ftp server running and how would i turn on resume

payableondeath
05-30-2007, 12:28 PM
Hi

if you can find a HTTP/FTP link for it you could use wget then url

wget http://www.somesite.com/codfiles.tar

the easiest way i can think of to find out what FTP server is running on would be to do the following command and look out for process with ftp in it

ps aux

then you get something like

nobody 1504 0.0 0.1 5264 1976 ? 5 may 24 0:02 proftpd (accpting connections)

once we know what ftp server is running we can then have a look at the config to setup resume

vampiejay
05-31-2007, 04:24 AM
well after many retrise it's done
but now having probs finding the server and getting error msg as below


[cod2server@localhost cod2]$ ./cod2_lnxded +set net_ip 83.166.162.24 +set net_port 28960 +set dedicated 2 +set sv_punkbuster 1 +ececdedicated.cfg +map_rotate
CoD2 MP 1.3 build linux-i386 Jun 23 2006
----- FS_Startup -----
Current language: english
Current search path:
/home/cod2server/.callofduty2/main
/home/cod2server/cod2/main/iw_15.iwd (85 files)
/home/cod2server/cod2/main/iw_14.iwd (4038 files)
/home/cod2server/cod2/main/iw_13.iwd (22624 files)
/home/cod2server/cod2/main/iw_12.iwd (1016 files)
/home/cod2server/cod2/main/iw_11.iwd (1462 files)
/home/cod2server/cod2/main/iw_10.iwd (1936 files)
/home/cod2server/cod2/main/iw_09.iwd (2142 files)
/home/cod2server/cod2/main/iw_08.iwd (2723 files)
/home/cod2server/cod2/main/iw_07.iwd (3384 files)
/home/cod2server/cod2/main/iw_06.iwd (990 files)
/home/cod2server/cod2/main/iw_05.iwd (928 files)
/home/cod2server/cod2/main/iw_04.iwd (698 files)
/home/cod2server/cod2/main/iw_03.iwd (26 files)
/home/cod2server/cod2/main/iw_02.iwd (40 files)
/home/cod2server/cod2/main/iw_01.iwd (16 files)
/home/cod2server/cod2/main/iw_00.iwd (102 files)
/home/cod2server/cod2/main
/home/cod2server/.callofduty2/raw
/home/cod2server/.callofduty2/raw_shared
/home/cod2server/.callofduty2/devraw
/home/cod2server/.callofduty2/devraw_shared
/home/cod2server/cod2/raw
/home/cod2server/cod2/raw_shared
/home/cod2server/cod2/devraw
/home/cod2server/cod2/devraw_shared
/home/cod2server/cod2/main/localized_english_iw11.iwd (1 files)
localized assets iwd file for english
/home/cod2server/cod2/main/localized_english_iw10.iwd (414 files)
localized assets iwd file for english
/home/cod2server/cod2/main/localized_english_iw09.iwd (98 files)
localized assets iwd file for english
/home/cod2server/cod2/main/localized_english_iw06.iwd (3110 files)
localized assets iwd file for english
/home/cod2server/cod2/main/localized_english_iw04.iwd (6240 files)
localized assets iwd file for english
/home/cod2server/cod2/main/localized_english_iw03.iwd (6580 files)
localized assets iwd file for english
/home/cod2server/cod2/main/localized_english_iw02.iwd (6404 files)
localized assets iwd file for english
/home/cod2server/cod2/main/localized_english_iw01.iwd (5510 files)
localized assets iwd file for english
/home/cod2server/cod2/main/localized_english_iw00.iwd (4764 files)
localized assets iwd file for english

File Handles:
----------------------
75331 files in iwd files
execing default_mp.cfg
couldn't exec language.cfg
execing config_mp_server.cfg
dedicated is read only.
Opening IP socket: 83.166.162.24:28960
Hostname: localhost.localdomain
IP: 127.0.0.1
--- Common Initialization Complete ---
net_ip is write protected.
net_port is write protected.
dedicated is read only.
sv_punkbuster is write protected.
map_rotate...

"sv_mapRotation" is:""

"sv_mapRotationCurrent" is:""
any ideas please help

payableondeath
05-31-2007, 04:36 PM
Hi

Have you set a sv_mapRotation in your ececdedicated.cfg
eg

set sv_MapRotation "gametype ctf map mp_breakout gametype ctf map mp_brecourt gametype ctf map mp_burgundy gametype ctf map mp_carentan gametype ctf map mp_dawnville gametype ctf map mp_decoy gametype ctf map mp_downtown gametype ctf map mp_farmhouse gametype ctf map mp_leningrad gametype ctf map mp_matmata gametype ctf map mp_railyard gametype ctf map mp_toujane gametype ctf map mp_trainstation"


also make sure the
map_rotate

is the last thing in the config

vampiejay
06-24-2007, 06:40 AM
ok thanks for all the help i now have the server up and running i was ecec ing the file rather than exec ing it.

doh

my next problem i have is i want to make the so it runs all knids of gametypes and maps but whene i did this via config file cam back with a error to say that basically the file was too long is there a way i can alter the config so it wnable me to do this.

payableondeath
07-04-2007, 10:54 AM
sounds like the info_string problem
this might help http://www.iwnation.com/Forums/index.php?showtopic=24161

RMM
07-04-2007, 10:33 PM
hi i was looking for help and found this post i have a similar question ...

i have and linux dedicated server and i control it by putty and ftp

i want to know what files to put in ftp ( i've already put the all the iw and the localised english on the server from my cod2 DVD) afther this do i need another file from dvd ?

now i need to patch it for v1.3 ? (does the normal version of the patch works in linux ?)

now i need to get the update with the update for linux with the extra iw and cod2_lndex rigth ??

i would like to get this awnsers responded cause i can create servers it is rather easy but in a remote server i simply don't have a clue of what to do !

ty

vampiejay
07-06-2007, 10:40 AM
yeah you need to follow setps from this guide
http://www.fpsadmin.com/forum/showthread.php?t=10539