- Senior Writer
- Author
If you’re looking to set up a game server with CS:GO, Team Fortress 2, or Half Life 2 Deathmatch (oh this one is quite old but popular). You’ll need 2 things: a dedicated server and SteamCMD installed on it. Without this software, you won’t be able to host a game server with the above-mentioned games and if you’re planning to start a cloud gaming service it is also advisable to read through this article.
Usually, it is advised to host your server on Linux OS, due to its stability and security, but we’ll cover the most popular operational systems here. So, starting from the system requirements:
Windows
Quite a straightforward guide here:
The folks on the net have also released a GUI version of the software called SteamCMD GUI which you can download from https://github.com/DioJoestar/SteamCMD-GUI/
It saves some time for writing commands which is a neat feature.
SteamCMD supports all the popular OS distributives out there, CentOS/RHEL, Debian/Ubuntu, and even ArchLinux. Let’s see how you can install it on Linux:
sudo passwd steam
cd /home/steam
For Ubuntu/Debian
sudo apt install steamcmd
For CentOS/RHEL
yum install steamcmd
For ArchLinux:
git clone
cd steamcmd
makepkg -si
And link the steamcmd executable:
sudo ln -s /usr/games/steamcmd /home/steam/steamcmd
Okay, it’s all set now to launch it and connect to your server using SSH, it can be done through Putty or any other suitable utility.
Type:
cd /home/steam/steamcmd
./steamcmd.sh
You’re all set to configure a server for your game.
For those who want to host on ARM-like servers with Mac OS X here is a brief explanation of how to do it.
mkdir ~/steamcmd
~/steamcmd
This creates a directory of SteamCMD in Mac.
curl -O http://media.steampowered.com/client/installer/steamcmd_osx.tar.gz
tar -xvzf steamcmd_osx.tar.gz
In order to launch the software type these 2 commands in Terminal:
cd ~/steamcmd
./steamcmd.sh
How to log in to Steam CMD and why you might need it?
First of all, you can download a lot of servers by staying anonymous by using:
login anonymous
But some servers might ask you that you log in through your steam account, for that use your login:
login <username>
How to download games via SteamCMD?
The same as previous instructions set up an installation directory with this command:
force_install_dir <path>
where <path> is for example Counter-Strike: Global Offensive, it would be:
force_install_dir ./cs_go/
If you would like to update the CS:GO use these commands
app_update 740 validate
quit
For additional commands and what you can do with your server please refer to the https://developer.valvesoftware.com/wiki Steam guidelines. Thank you for reading this article and have a nice day!
Start for free and unlock high-performance infrastructure with instant setup.
Your opinion helps us build a better service.