I'm installing a CS:GO server on CentOS 5.8, which requires a couple of work arounds. If you haven't already, you'll want to create a user
to install and run the server.
First off, I need to download the steamcmd software. You want to place this in its own directory, not the directory you will put the game. So I created /home/gamer/go/steamcmd.
You'll also want to create a seperate directory in which to install the dedicated server.
Download the steamcmd software.
tar xfz steamcmd.tar.gz
Now start the SteamCMD software.
If you get this error:
/home/gamer/go/steamcmd/: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.10
' not found (required by /home/gamer/go/steamcmd)
/home/gamer/go/steamcmd: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9'
not found (required by /home/gamer/go/steamcmd)
CentOS 5 has a problem with this, because it uses older libraries than CS:GO. You can fix this by placing libstdc++.so.6 in some directory of your choice.
libstdc++.so.6.bz2 [309.18 KiB]
Downloaded 1932 times
Then use this command to direct the software to the library:
Then re-run the command.
This should load a steam interface.
(NOTE: Occasionally, anonymous logins don't work and you will receive errors. If this happens, I have a steam account I created just for this purpose. I have no games on it and I have steamguard turned off. I would login by using "login username password" instead of "login anonymous".)
Now you'll install the dedicated server software.
app_update 740 validate
(If you ever want to update your dedicated server, you'll need to do all of the above, except just use "app_update 740", without the validate at the end. "validate" tells it to make sure all of the files are exactly default, where as running the command without "validate" will only download new files.)
Now type quit to exit the steam client.
Go to whatever directory you installed the game in
You can now launch the server with your favourite flavor of start up command. For more information, see this thread
./srcds_linux -game csgo +game_type 0 +game_mode 1 +mapgroup mg_allclassic +map de_dust -ip 18.104.22.168 +port 27017
The available game types and game modes can be seen here
Check out this thread
for more advanced server configuration.
Here is a video showing how to install a CS:GO server as well as Metamod and Sourcemod.