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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794

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/rest-api/class-wp-rest-server.php on line 1794
{"id":2180,"date":"2019-11-26T06:39:05","date_gmt":"2019-11-26T06:39:05","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2180"},"modified":"2019-12-06T00:31:38","modified_gmt":"2019-12-06T00:31:38","slug":"how-to-install-a-counter-strike-source-server-on-ubuntu","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/how-to-install-a-counter-strike-source-server-on-ubuntu\/","title":{"rendered":"How To Install A Counter-Strike Source Server On Ubuntu"},"content":{"rendered":"

In this tutorial we will be covering the process of installing and running a\u00a0CS:S<\/strong>\u00a0Game server.<\/p>\n

Prerequisites<\/strong><\/h3>\n
    \n
  • A Aklweb host Instance with\u00a02 GB of RAM<\/strong>\u00a0and running\u00a0Ubuntu<\/strong>.<\/li>\n<\/ul>\n

    Getting Started<\/strong><\/h3>\n
      \n
    1. Update the packages:\u00a0sudo apt-get update -y && sudo apt-get upgrade -y<\/code>.<\/li>\n
    2. Install these additional libraries:\u00a0sudo apt-get install lib32gcc1 libc6-i386<\/code>.<\/li>\n
    3. Add a new user for running the game server:\u00a0sudo adduser steam<\/code>\u00a0(For security purposes)<\/strong>.<\/li>\n
    4. Login to the new user that we created:\u00a0su steam<\/code>.<\/li>\n<\/ol>\n

      Downloading SteamCMD<\/strong><\/h3>\n

      SteamCMD<\/strong>\u00a0is a free tool created by Valve and used to download Game Server files easily.<\/p>\n

        \n
      1. As you are logged as the steam user, make sure you\u2019re in\u00a0\/home\/steam<\/code>.<\/li>\n
      2. Create a directory for SteamCMD:\u00a0mkdir SteamCMD<\/code>.<\/li>\n
      3. Navigate to the newly created directory and download the SteamCMD archive:\u00a0cd steamCMD && wget http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz<\/code>.<\/li>\n
      4. Extract the\u00a0archive:tar -xvzf steamcmd_linux.tar.gz<\/code>.<\/li>\n<\/ol>\n

        Running SteamCMD<\/strong><\/h3>\n

        Now we get to the exciting bit, downloading the actual files that make the game server operate.<\/p>\n

          \n
        1. Run SteamCMD:\u00a0.\/steamcmd.sh<\/code>.<\/li>\n
        2. Login to Steam servers anonymously:\u00a0login anonymous<\/code>.<\/li>\n
        3. Set the install directory:\u00a0force_install_dir .\/css\/<\/code>.<\/li>\n
        4. Download the game files:\u00a0app_update 232330 validate<\/code>\u00a0(This may take a while).<\/li>\n
        5. Quit the SteamCMD console:\u00a0quit<\/code>.<\/li>\n<\/ol>\n

          Running the CS:S server<\/strong><\/h3>\n
            \n
          1. Navigate to the CS:S Installation Directory:\u00a0cd css<\/code><\/li>\n
          2. Execute this command to run the server:\u00a0.\/srcds_run -console -game cstrike -maxplayers 20 - port 27015 +map de_dust2<\/code>.<\/li>\n<\/ol>\n

            Conclusion<\/strong><\/h3>\n

            Your\u00a0CS:S<\/strong>\u00a0server should be up and running! To connect to it use the IP on your\u00a0Aklweb host\u00a0instance.<\/p>\n

            For an advanced configuration guide refer to the\u00a0CS:S<\/strong>\u00a0section on the\u00a0SteamCMD<\/strong>\u00a0Wiki. Enjoy!<\/p>\n

            This concludes our tutorial. Thank you for reading.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[105,247],"manual_kb_tag":[151],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2180"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2180"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2180\/revisions"}],"predecessor-version":[{"id":2181,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2180\/revisions\/2181"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2180"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2180"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}