Attention!
I don't support this repo and torrent anymore because of
my Docker version
so I highly recommend to use it instead.
Hello, Killtube!
I think, everyone know this thread from IzNoGoD. It's a great tutorial and whole Killtube can agree with me, I think (because everyone give link on this thread to beginners). I like it, but... few days ago I changed my hosting and not only once (thank you, good russian hosters). And after another installation I already had a file with commands from that thread (and some else). So, it was a story, now I wanna show you the main subject of this thread :)
About:
I created .sh file, which can install ALL what you need for CoD2 (if it's not all - let's modify it together).
I measured the time from VDS purchase to full CoD2 installation with this .sh and it's less than 10 minutes (with uploading all cod2 files!).
So, any beginner, even he doesn't know anything about Linux can install CoD2 server on Linux now!
So, what does this do:
All what you need to start cod2 server(s):
- Updating and upgrading packets
- Install all libs for cod2
- Install some tools, which you will need (git ssh scp nano make screen zip unzip perl aria2 geoip-bin man-db sqlite sshpass)
- Ask you to install no-ip client (for dynamic dns. you will need this for gametracker.com)
- Ask you to install web-server (lighttpd or apache2 - on your own)
- Ask you to install phpmyadmin (only if you installed web-server)
- Creates new user for cod2 (will ask you about name)
- Creates all cod2 folders for all versions (it will use links, so you don't have to have main files for all versions)
- Ask you to upload main files by yourself or download it from my link or download it from torrent!
- Install the latest version of libcod (from VoroN's repo)
- Install cod2_lnxded for all versions
- Install YOUR servers for each version (ask you about your sh name, fs_game, config name, cracked and port)
- Make .sh files to launch your servers (for all CoD2 versions, what you need)
cod2_lnxded versions:
This is the latest patched versions of CoD2 servers (from this thread):
- 1.0: cod2_lnxded_1_0a
- 1.2: cod2_lnxded_1_2c_patch_va_loc
- 1.3: cod2_lnxded_1_3_patch_va_loc
And what do you need to start it:
0. Get VDS with Ubuntu 14.04 or 16.04 and log in as root there.
1. On command line, type in the following commands:
2. Enter your info, when it will ask!PHP Code:
apt-get update
apt-get install git -y
git clone https://github.com/lonsofore/cod2install
cd cod2install
./start.sh
Few tips:
- All server files you should upload in ~/cod2/servers/
- All your maps you should upload in ~/cod2/Library/fs_game/ (fs_game of your server)
- To start your servers open a folder cod2_1_0 or cod2_1_2 or cod2_1_3 and launch it with ./name.sh (there name is the name of your server sh file)
- You can update libcod very fast - just launch parts/libcod.sh (from cod2install folder)
- You also can manage your servers faster. To add a new server - use parts/servers.sh (from cod2install folder also)
Some screenshots:
Github link
Let me know about mistakes and tell me please if download link is broken.