-
Notifications
You must be signed in to change notification settings - Fork 0
1. Basic setup
In this guide, we'll walk you through the steps to launch your own Day of Defeat server using LinuxGSM
on a Linux
-based Virtual Private Server
(VPS
).
By following this guide, you'll learn how to establish a secure connection to your VPS
, update your system packages, prepare for LinuxGSM
installation, and configure your server for optimal performance.
Whether you're setting up a server for friends or a wider community, these instructions will ensure a smooth setup process and a stable gaming environment.
💬 Do You Need Support? |
---|
To securely connect to your VPS
, use SSH
by replacing <ip-address>
with your server's actual IP
:
ssh root@<ip-address> -p 22
Keep your system packages current with the following commands:
apt update && apt dist-upgrade --auto-remove --purge -y
Before installing LinuxGSM
, you'll need to install its dependencies:
dpkg --add-architecture i386 && apt update && apt install -y curl wget file tar bzip2 gzip unzip bsdmainutils python3 util-linux ca-certificates binutils bc jq tmux netcat lib32gcc-s1 lib32stdc++6 libsdl2-2.0-0:i386 steamcmd
For enhanced security, set up a non-root user:
adduser dodserver && su - dodserver
Assign a strong password and leave the extra user information empty.
Download and set up LinuxGSM
for Day of Defeat:
curl -Lo linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh dodserver
Initiate the installation process for your server:
./dodserver auto-install
Note
This is what you should get.
Install Complete!
To start server type:
./dodserver start
Your server is now successfully installed!
To ensure optimal performance, adjust the LinuxGSM
settings as follows:
cp -rf lgsm/config-lgsm/dodserver/_default.cfg lgsm/config-lgsm/dodserver/dodserver.cfg
nano lgsm/config-lgsm/dodserver/dodserver.cfg
Modify all the desired variables and save the changes.
Conduct a pre-launch test to confirm your configurations:
./dodserver start && ./dodserver monitor && ./dodserver stop
Note
This is what you should get.
[ OK ] Starting dodserver: LinuxGSM
[ OK ] Monitoring dodserver: Checking session: OK
[ OK ] Monitoring dodserver: Querying port: gsquery: 0.0.0.0:27015 : 0/1: DELAY
[ OK ] Stopping dodserver: Graceful: sending "quit": 3: OK
[ OK ] Stopping dodserver: LinuxGSM
Customize your server to fit your preferences:
nano serverfiles/dod/dodserver.cfg
Change settings like hostname
to your desired server name and save the changes.
Get your server up and running:
./dodserver start
Note
This is what you should get.
[ OK ] Starting dodserver: [DoD 1.3 Community] US (https://discord.gg/dodcommunity)
Ensure your server is operational:
./dodserver monitor
Note
This is what you should get.
[ OK ] Monitoring dodserver: Checking session: OK
[ OK ] Monitoring dodserver: Querying port: gsquery: 0.0.0.0:27015 : 0/1: OK
Your basic Day of Defeat server is now ready for action! You can also decide to enhance it by installing additional tools and mods.
Day of Defeat: Set up a server with LinuxGSM and all its content is CC0 1.0 Universal licensed.