Counter Strike 1.6 Install
From 2047Servers Support
| Line 4: | Line 4: | ||
[[File:cs16.png|thumb|350px]] | [[File:cs16.png|thumb|350px]] | ||
| + | '''Copy the commands within the code boxes and paste/run them in Putty''' | ||
| + | |||
| + | First you will need to connect to your server using Putty (SSH) in order to do this install See - [[connecting_to_your_server|Connecting to your server]] | ||
== Making a folder for the server == | == Making a folder for the server == | ||
| Line 26: | Line 29: | ||
| − | == Installing | + | == Installing SteamCMD + Steam == |
| − | First you will need to download HLDS (Half Life Dedicated Server) | + | First you will need to download HLDS (Half Life Dedicated Server) via SteamCMD (Replacement to hldsupdatetool) |
| − | <pre>wget http:// | + | <pre>wget http://media.steampowered.com/client/steamcmd_linux.tar.gz</pre> |
| − | After downloading you will need to | + | After downloading you will need to extra the compressed folder |
| − | <pre> | + | <pre>tar xvfz steamcmd_linux.tar.gz</pre> |
| − | + | Then run the installer | |
| − | + | <pre>./steamcmd.sh</pre> | |
| − | + | Now you must login either using the anonymous account or your own account | |
| − | + | <pre>login anonymous</pre> | |
| − | + | ((Logging in your with account - Replace "<username>" with your username, it should then ask for your password)) | |
| − | <pre> | + | <pre>login <username></pre> |
| − | |||
| − | |||
| − | + | == Downloading CS 1.6 == | |
| − | + | After installing SteamCMD it should run, if not just run the above command again. | |
| − | + | You will now need to set the install directory e.g. we will go with cs1.6 | |
| + | |||
| + | <pre>force_install_dir ./cs1.6/</pre> | ||
| + | |||
| + | There are 2 options for installing a CS 1.6 Server (Normal & Beta, both commands are shown here) | ||
| + | |||
| + | Installing normal version (This just installs HLDS - Without Cstrike) | ||
| + | |||
| + | <pre>app_update 90 validate</pre> | ||
| + | |||
| + | Set the HLDS MOD (Cstrike is a Mod for Half Life) | ||
| + | |||
| + | <pre>app_set_config 90 mod cstrike</pre> | ||
| + | |||
| + | Then run the HLDS Mod installer (This time it knows you want a cstrike server so it will get the files for that) | ||
| + | |||
| + | <pre>app_update 90 validate</pre> | ||
| − | + | Installing the beta version | |
| − | <pre> | + | <pre>app_update "90 -beta beta" validate</pre> |
This will check the current folder & download any / all missing files for a Counter Strike 1.6 Server (you can use this command to redownload files that you may have deleted | This will check the current folder & download any / all missing files for a Counter Strike 1.6 Server (you can use this command to redownload files that you may have deleted | ||
| Line 80: | Line 97: | ||
Max Players - up to 32, Port (Best to use unused ones e.g. 25XXX-27XXX | Max Players - up to 32, Port (Best to use unused ones e.g. 25XXX-27XXX | ||
| − | <pre>./hlds_run -game cstrike -autoupdate +maxplayers 12 -port 25100</pre> | + | <pre>./hlds_run -game cstrike -autoupdate +maxplayers 12 -port 25100 +map de_dust</pre> |
If all done right your server should start up fine & the last thing it should say is "VAC Secure" or something very simular, If not try downloading the files again, just incase it missed a few (highly unlikly) | If all done right your server should start up fine & the last thing it should say is "VAC Secure" or something very simular, If not try downloading the files again, just incase it missed a few (highly unlikly) | ||