PDA

View Full Version : How to install CoD2 on Linux VPS Server?



jepson
3rd November 2012, 16:33
How can i make a linux VPS server? Please help! :(

kung foo man
3rd November 2012, 16:43
You are just renting a VPS server ^^

What you want is setting up a cod2 server. This is a nice introduction: http://callofduty2.infinity-shell.net/howtos/Call_of_Duty_2_Linux_Guide_v1.01.pdf

If you dont understand something, feel free to ask. :)

jepson
3rd November 2012, 17:08
When i want to start the serveri get this message: -bash: ./cod2_lnxded: Permission denied

kung foo man
3rd November 2012, 17:11
Try:


chmod +x cod2_lnxded

This is making the server eXecutable :)

jepson
3rd November 2012, 17:18
OMG!!! Now i get this error: bash: ./cod2_lnxded: No such file or directory

kung foo man
3rd November 2012, 17:28
then you changed the working directory.

what shows:


ls -l

?

jepson
3rd November 2012, 17:31
it shows: cod2_inxded main/ and pb/

kung foo man
3rd November 2012, 17:34
you named your file "cod2_inxded" now (i instead of l)?

You can copy text in putty by just marking it.

kung foo man
3rd November 2012, 18:26
So, helped with TeamViewer. The problem was simple: no ia32-libs installed


Solution:
- add better sources to /etc/apt/sources.list
- apt-get update
- apt-get install ia32-libs

jepson
3rd November 2012, 18:35
Thanks. Now how can i leave the console, and next time when i want to restart map or power off the server to come back to this console? :D

kung foo man
3rd November 2012, 18:43
At first you have to install screen: apt-get install screen

Then start a screen-session: screen -AmdS cod2
Join the session: screen -r cod2
Leave the session: CTRL + a + d
Look for all sessions: screen -ls

Quit the server: CTRL + c or quit

jepson
3rd November 2012, 20:19
Do you have some fixed cod2_inxded for v1.2 version? :D

kung foo man
4th November 2012, 08:10
Do you have some fixed cod2_inxded for v1.2 version? :D

posted here: http://killtube.org/showthread.php?935-CoD2-1-2-va()-Bug-Patch

thOuMta
4th September 2013, 17:09
If you have a prob with running cod2.

Go to /etc/apt/ and edit your sources.list with:


deb http://security.debian.org/ wheezy/updates main contrib
deb-src ftp://ftp.iitm.ac.in/debian/ wheezy/updates main contrib
deb http://ftp.debian.org/debian/ wheezy-updates main contrib
deb http://http.us.debian.org/debian/ wheezy contrib non-free main
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free


Then make:
apt-get update
apt-get install ia32-libs

Normaly if you do it well you cod2 will running.

Ni3ls
19th August 2014, 18:44
is 64 bit not good for running a cod2 server?

kung foo man
19th August 2014, 20:53
Since cod2_lnxded is a 32bit binary, it's easier to run it on a 32bit Linux, but big distributions support multi-arch by installing just a single package (ia32-libs e.g. as mentioned before). So you need a bit extra work once, but that's no big problem.