Counter Strike: Global Offensive (CS:GO) is a highly popular multiplayer first-person shooter game that attracts millions of players worldwide. Hosting your own CS:GO server on a Linux Ubuntu 18.04 system allows you to customize gameplay, control who can join, and create a tailored gaming experience. In this guide, we’ll walk through the process of setting up CS:GO on a Linux Ubuntu 18.04 server.
Prerequisites
Before you begin, make sure you have the following:
- A Linux Ubuntu 18.04 server with root access.
- Basic familiarity with Linux commands.
- Adequate hardware resources to support the server and player connections.
Step 1: Update System Packages
Ensure your Ubuntu system is up to date by running the following commands:
sudo apt update
sudo apt upgrade
Step 2: Install Required Dependencies
CS:GO relies on certain dependencies to function correctly. Install them by executing:
sudo apt install lib32gcc1 lib32stdc++6 steamcmd
Step 3: Download SteamCMD
SteamCMD is a command-line tool provided by Valve to manage dedicated game servers. Create a directory for SteamCMD and download it:
mkdir ~/steamcmd
cd ~/steamcmd
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz
Step 4: Install CS:GO Server
Using SteamCMD, download and install the CS:GO server files:
./steamcmd.sh +login anonymous +force_install_dir ~/csgo_server +app_update 740 validate +quit
This command downloads and installs the CS:GO server files into the csgo_server
directory.
Step 5: Configure Server Settings
Navigate to the csgo_server
directory and configure server settings according to your preferences. The primary configuration file is server.cfg
. Use a text editor like Nano or Vim to edit it:
cd ~/csgo_server/csgo
nano server.cfg
Adjust settings such as server name, password, game mode, and map rotation to your liking.
Step 6: Start the Server
Once your server settings are configured, launch the CS:GO server:
cd ~/csgo_server
./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2
Replace de_dust2
with your preferred map. This command initiates the server in Classic Casual mode with the map de_dust2
. Modify parameters as needed.
Step 7: Connect to Your Server
Your CS:GO server is now operational. Players can connect using the console or in-game server browser. Share your server’s IP address and port number to allow others to join the game.
Conclusion
Congratulations! You’ve successfully established a Counter Strike: Global Offensive server on your Linux Ubuntu 18.04 system. Experiment with different configurations to create a unique gaming environment for yourself and your friends. Enjoy gaming together on your custom CS:GO server!