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>\nPrerequisites<\/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- Update the packages:\u00a0
sudo apt-get update -y && sudo apt-get upgrade -y<\/code>.<\/li>\n- Install these additional libraries:\u00a0
sudo apt-get install lib32gcc1 libc6-i386<\/code>.<\/li>\n- Add a new user for running the game server:\u00a0
sudo adduser steam<\/code>\u00a0(For security purposes)<\/strong>.<\/li>\n- Login to the new user that we created:\u00a0
su steam<\/code>.<\/li>\n<\/ol>\nDownloading SteamCMD<\/strong><\/h3>\nSteamCMD<\/strong>\u00a0is a free tool created by Valve and used to download Game Server files easily.<\/p>\n\n- As you are logged as the steam user, make sure you\u2019re in\u00a0
\/home\/steam<\/code>.<\/li>\n- Create a directory for SteamCMD:\u00a0
mkdir SteamCMD<\/code>.<\/li>\n- Navigate to the newly created directory and download the SteamCMD archive:\u00a0
cd steamCMD && wget http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz<\/code>.<\/li>\n- Extract the\u00a0
archive:tar -xvzf steamcmd_linux.tar.gz<\/code>.<\/li>\n<\/ol>\nRunning SteamCMD<\/strong><\/h3>\nNow we get to the exciting bit, downloading the actual files that make the game server operate.<\/p>\n
\n- Run SteamCMD:\u00a0
.\/steamcmd.sh<\/code>.<\/li>\n- Login to Steam servers anonymously:\u00a0
login anonymous<\/code>.<\/li>\n- Set the install directory:\u00a0
force_install_dir .\/css\/<\/code>.<\/li>\n- Download the game files:\u00a0
app_update 232330 validate<\/code>\u00a0(This may take a while).<\/li>\n- Quit the SteamCMD console:\u00a0
quit<\/code>.<\/li>\n<\/ol>\nRunning the CS:S server<\/strong><\/h3>\n\n- Navigate to the CS:S Installation Directory:\u00a0
cd css<\/code><\/li>\n- Execute this command to run the server:\u00a0
.\/srcds_run -console -game cstrike -maxplayers 20 - port 27015 +map de_dust2<\/code>.<\/li>\n<\/ol>\nConclusion<\/strong><\/h3>\nYour\u00a0CS:S<\/strong>\u00a0server should be up and running! To connect to it use the IP on your\u00a0Aklweb host\u00a0instance.<\/p>\nFor an advanced configuration guide refer to the\u00a0CS:S<\/strong>\u00a0section on the\u00a0SteamCMD<\/strong>\u00a0Wiki. Enjoy!<\/p>\nThis 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}]}}