The command line tool for quick, simple deployment and management of Linux Call of Duty 2 dedicated game servers.
Runs on your favorite Linux distros. Ubuntu, CentOS and more.
Designed to be simple to install and use.
Runs on your favorite Linux distros. Ubuntu, CentOS and more.
Designed to be simple to install and use.
88 game servers are supported and counting.
Written in BASH and using the MIT License.
176 game servers are supported and counting.
Written in BASH and using the MIT License.
Traditionally game servers are not easy to manage yourself. Admins often have to spend hours just messing around trying to get their server working. LinuxGSM is designed to be as simple as possible allowing admins to spend less time on management and more time gaming.
Below are the basic instructions you need to get your own Call of Duty 2 server up and running.
Don't have a server? Install cod2server on a cloud server.
Linode [recommended], Vultr, DigitalOcean, UpCloud.
Most offer free credit to get you started.
Don't own a copy of Call of Duty 2?
Call of Duty 2 client is available from the Humble Store.
cod2server will run on popular distros as long as the minimum requirements are met.
ARE
supported.ARE
supported.Only 32-Bit binary is available.
Before installing, you must ensure you have all the dependencies required to run cod2server.
sudo dpkg --add-architecture i386; sudo apt update; sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux lib32gcc1 libstdc++6 libstdc++6:i386 libstdc++5:i386
sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux libstdc++6 libstdc++5
sudo dpkg --add-architecture i386; sudo apt update; sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux lib32gcc1 libstdc++6 libstdc++6:i386 libstdc++5:i386
sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux libstdc++6 libstdc++5
dnf install mailx postfix curl wget file bzip2 gzip unzip python binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686 compat-libstdc++-33.i686
dnf install mailx postfix curl wget file bzip2 gzip unzip python binutils bc jq tmux libstdc++ compat-libstdc++-33
EPEL is required to install some dependencies needed for using LinuxGSM on CentOS.
yum install epel-release
yum install mailx postfix curl wget bzip2 gzip unzip python binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686 compat-libstdc++-33.i686
yum install mailx postfix curl wget bzip2 gzip unzip python binutils bc jq tmux libstdc++ compat-libstdc++-33
From the command-line do the following. Ensuring you have also installed the dependencies above.
1. Create a user and login.adduser cod2server
note: do NOT set the password as cod2server
. Use a strong password.
random password:
passwd cod2server
su - cod2server2. Download linuxgsm.sh.
wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh cod2server3. Run the installer and follow the instructions.
./cod2server install
Support this project on Patreon, Paypal and Flattr.
Further documentation and support is available.
./cod2serverBelow are the most common commands available.
./cod2server start
./cod2server stop
./cod2server restart
./cod2server console
To exit the console press CTRL+b d. Pressing CTRL+c will terminate the server.
You can get all important and useful details about the server such as passwords, ports, config files etc.
./cod2server details
Use debug mode to help you if you are having issues with the server. Debug allows you to see the output of the server directly to your terminal allowing you to diagnose any problems the server might be having.
./cod2server debug
Server logs are available to monitor and diagnose your server. Script, console and game server (if available) logs are created for the server.
/home/cod2server/logs
Backup will allow you to create a complete bzip2 archive of the whole server.
./cod2server backup
LinuxGSM can monitor the game server by checking that the proccess is running and querying it. Should the server go offline LinuxGSM can restart the server and send you an alert. You can use cronjobs to setup monitoring.
./cod2server monitor
For details on how to alter LinuxGSM settings visit LinuxGSM Config Files page.
For detailed documentation visit the LinuxGSM docs.
Its always a good idea to use Google before posting your questions. Many questions people ask have been asked before. So to save time always use google before posting a question. google.com
The LinuxGSM docs are a useful resource for all LinuxGSM related topics.
For general LinuxGSM support visit the LinuxGSM-Support issues page.
LinuxGSM has a GitHub issues page where you can submit any bugs and feature suggestions.
Join the LinuxGSM Discord community server. Discuss your LinuxGSM setup, get help and advice.