How can i make a linux VPS server? Please help! :(
Printable View
How can i make a linux VPS server? Please help! :(
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.ne...uide_v1.01.pdf
If you dont understand something, feel free to ask. :)
When i want to start the serveri get this message: -bash: ./cod2_lnxded: Permission denied
Try:
This is making the server eXecutable :)Code:chmod +x cod2_lnxded
OMG!!! Now i get this error: bash: ./cod2_lnxded: No such file or directory
then you changed the working directory.
what shows:
?Code:ls -l
it shows: cod2_inxded main/ and pb/
you named your file "cod2_inxded" now (i instead of l)?
You can copy text in putty by just marking it.
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
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
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
Do you have some fixed cod2_inxded for v1.2 version? :D
If you have a prob with running cod2.
Go to /etc/apt/ and edit your sources.list with:
Then make:PHP Code:
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
apt-get update
apt-get install ia32-libs
Normaly if you do it well you cod2 will running.
is 64 bit not good for running a cod2 server?
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.