Install Counter-Strike: 1.6 server on Linux
This guide will show you how to install a Counter-Strike: 1.6 server on Linux. This method will work for most of the linux distributions.
If we put all together
- Create and open the folder where you want to install your server.
mkdir SteamCMD cd SteamCMD
- Download SteamCMD and extract the contents of the zip to the folder.
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz tar xvfz steamcmd_linux.tar.gz
- Before you begin, you must first install the dependencies required to run SteamCMD. If your system uses yum, you can run the following command.
For 32 Bityum install glibc libstdc++
For 64 Bityum install glibc.i686 libstdc++.i686
Orsudo apt-get install lib32gcc1
- Open steamcmd.sh and wait until steamcmd install required files in that folder.
./steamcmd.sh
- Once steamcmd is installed you need to login in to steam via steamcmd. You can also login using anonymous id.
login anonymous
Orlogin <username>
- After you log in, you can setup download/install directory for the server.
force_install_dir ./cs16server/
- Install or update the server using app_update command. app_update command requires the application id of the game server you want to install. We are going to install Counter strike 1.6 so we will use 90. You can find other application ids here.
app_update 90 validate
- Run app_update 90 validate comamnd multiple times until no more updates take place.
- Here you have installed your Counter-Strike: 1.6 server successfully.
- You can now exit SteamCMD
exit
- To start the server open server installed directory and execute the following command.
cd cs16server ./hlds_run -console -game cstrike +port 27015 +de_dust2 +maxplayers 32 -pingboost 1
If we put all together
mkdir SteamCMD cd SteamCMD wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz tar xvfz steamcmd_linux.tar.gz sudo apt-get install lib32gcc1 ./steamcmd.sh login anonymous force_install_dir ./cs16server/ app_update 90 validate exit cd cs16server ./hlds_run -console -game cstrike +port 27015 +de_dust2 +maxplayers 32 -pingboost 1
Doesn't work. :(
ReplyDelete./hlds_run -console -game cstrike +port 27015 +de_dust2 +maxplayers 32 -pingboost 1
Invalid game type 'cstrike' sepecified.
Sun Jun 25 21:44:05 CEST 2017: Server Failed
Yes bcz valve have some problem, you need to wait for fix
ReplyDeleteIt doesn't wokr. I think they will never fix this...
ReplyDeletewe need to wait for a fix from valve
Deletethat valve issue.
Someone has just made this post for SEO purposes, clearly doesnt work everyone getting the same error. Dont bother reading and doing this
ReplyDeletecd cs16server
ReplyDelete-bash: cd: cs16server: No such file or directory
Man if you have this studio question i have one good help to you, stop using linux, computer, internet, electry and evethink please :)
Deletethis is craked ?
ReplyDeleteno :D
DeletePlease change the startup command from "+de_dust2" to "+map de_dust2", otherwise it will result in a segmentation fault error and crash when first player connect.
ReplyDeleteTook me too long to figure that out.
Otherwise, thank you for the tutorial, very useful!
Released Romania îți pune la dispoziție:
ReplyDeleteCS.RELEASED.RO # CS 1.6 PUBLIC SERVER
De ce să alegi cs.released.ro? Ai toate detaliile aici: https://forum.released.ro/topic/19/descriere-server-puncte-forte
Împreună la un alt nivel.
www.released.ro