Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/feed-rss2.php on line 8
How To Install A Counter-Strike Source Server On Ubuntu – AKLWEB HOST LLC Support Center https://support.aklwebhost.com Fri, 06 Dec 2019 00:31:38 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.4 How To Install A Counter-Strike Source Server On Ubuntu https://support.aklwebhost.com/knowledgebase/how-to-install-a-counter-strike-source-server-on-ubuntu/ https://support.aklwebhost.com/knowledgebase/how-to-install-a-counter-strike-source-server-on-ubuntu/#respond Tue, 26 Nov 2019 06:39:05 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=2180 In this tutorial we will be covering the process of installing and running a CS:S Game server.

Prerequisites

  • A Aklweb host Instance with 2 GB of RAM and running Ubuntu.

Getting Started

  1. Update the packages: sudo apt-get update -y && sudo apt-get upgrade -y.
  2. Install these additional libraries: sudo apt-get install lib32gcc1 libc6-i386.
  3. Add a new user for running the game server: sudo adduser steam (For security purposes).
  4. Login to the new user that we created: su steam.

Downloading SteamCMD

SteamCMD is a free tool created by Valve and used to download Game Server files easily.

  1. As you are logged as the steam user, make sure you’re in /home/steam.
  2. Create a directory for SteamCMD: mkdir SteamCMD.
  3. Navigate to the newly created directory and download the SteamCMD archive: cd steamCMD && wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz.
  4. Extract the archive:tar -xvzf steamcmd_linux.tar.gz.

Running SteamCMD

Now we get to the exciting bit, downloading the actual files that make the game server operate.

  1. Run SteamCMD: ./steamcmd.sh.
  2. Login to Steam servers anonymously: login anonymous.
  3. Set the install directory: force_install_dir ./css/.
  4. Download the game files: app_update 232330 validate (This may take a while).
  5. Quit the SteamCMD console: quit.

Running the CS:S server

  1. Navigate to the CS:S Installation Directory: cd css
  2. Execute this command to run the server: ./srcds_run -console -game cstrike -maxplayers 20 - port 27015 +map de_dust2.

Conclusion

Your CS:S server should be up and running! To connect to it use the IP on your Aklweb host instance.

For an advanced configuration guide refer to the CS:S section on the SteamCMD Wiki. Enjoy!

This concludes our tutorial. Thank you for reading.

]]>
https://support.aklwebhost.com/knowledgebase/how-to-install-a-counter-strike-source-server-on-ubuntu/feed/ 0