In this tutorial, we will install SteamCMD. SteamCMD can be used to download and install a lot of Steam game servers, such as Counter-Strike: Global Offensive (CS: GO), ARK: Survival Evolved, and many more. Some games require a paid subscription/purchase before you can download their configuration files.
A Server running CentOS 7 or Debian 8.
A user account for steam.
One of the best practices when using Linux is to ensure your server is always updated. Additionally, your security should create a user account on the server to run SteamCMD.
yum clean all
yum update -y
yum upgrade -y
adduser steamThen we install the necessary libraries for SteamCMD:
yum install glibc.i686 libstdc++.i686 -yapt-get update -y
apt-get upgrade -y
adduser steam
passwd steamThen we install the necessary libraries for SteamCMD:
apt-get install lib32gcc1Let’s switch to the user we just created.
su -ls /bin/bash steam
cd ~wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar xf steamcmd_linux.tar.gzThe next step would be running SteamCMD. Once running, the Steam daemon will download and install all the necessary files.
./steamcmd.sh +quitNow, SteamCMD is ready to download and install server files. Please note that if you have Steam Guard enabled, you have to check your email for the code to log in.