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":2202,"date":"2019-11-26T06:43:12","date_gmt":"2019-11-26T06:43:12","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2202"},"modified":"2019-12-05T23:57:33","modified_gmt":"2019-12-05T23:57:33","slug":"how-to-setup-left-4-dead-2-server-on-ubuntu","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/how-to-setup-left-4-dead-2-server-on-ubuntu\/","title":{"rendered":"How To Setup Left 4 Dead 2 Server on Ubuntu"},"content":{"rendered":"

In this tutorial, you will learn how to setup a\u00a0Left 4 Dead 2<\/strong>\u00a0server on Ubuntu. This guide was tested on\u00a0Ubuntu server 15.10<\/strong>.<\/p>\n

Prerequisites<\/strong><\/h3>\n
    \n
  1. Update the packages:\u00a0sudo apt-get update<\/code><\/li>\n
  2. Upgrade the packages:\u00a0sudo apt-get upgrade<\/code><\/li>\n
  3. Install the required packages:\u00a0sudo apt-get install lib32gcc1 libc6-i386<\/code><\/li>\n
  4. Create a new user called “steam”:\u00a0sudo adduser steam<\/code>\u00a0(this is for security purposes)<\/li>\n<\/ol>\n

    Installing SteamCMD<\/strong><\/h3>\n
      \n
    1. Login to the newly created user:\u00a0su steam<\/code><\/li>\n
    2. Get out of the current directory:\u00a0cd ..<\/code><\/li>\n
    3. Go into the “steam” user directory:\u00a0cd steam<\/code><\/li>\n
    4. Download SteamCMD:\u00a0wget http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz<\/code><\/li>\n
    5. Unzip SteamCMD:\u00a0tar -xvzf steamcmd_linux.tar.gz<\/code><\/li>\n
    6. Run SteamCMD:\u00a0.\/steamcmd.sh<\/code><\/li>\n<\/ol>\n

      Installing the Left 4 Dead 2 server<\/strong><\/h3>\n
        \n
      1. Login to the Steam servers:\u00a0login anonymous<\/code><\/li>\n
      2. Set the install directory:\u00a0force_install_dir .\/l4d2\/<\/code><\/li>\n
      3. Download the L4D2 server files:\u00a0app_update 222860 validate<\/code>\u00a0(the download may take some time)<\/li>\n<\/ol>\n

        Running the Left 4 Dead 2 server<\/strong><\/h3>\n
          \n
        1. Exit out of SteamCMD:\u00a0exit<\/code><\/li>\n
        2. Go into the L4D2 server folder:\u00a0cd l4d2<\/code><\/li>\n
        3. Run the game server:\u00a0screen .\/srcds_run +ip YOURSERVERIP -port 27015 +map c1m4_atrium -secure<\/code><\/li>\n<\/ol>\n

          In this step, you can replace the map with any desired map.<\/p><\/blockquote>\n

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

          Congratulations! You now have a working instance of\u00a0L4D2<\/strong>\u00a0running! To connect to your server, launch the\u00a0L4D2 game client<\/strong>, open up the developer console and type\u00a0connect 1.2.3.4<\/code>\u00a0(replace\u00a01.2.3.4<\/code>\u00a0with the IP address of your server).<\/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,242,247],"manual_kb_tag":[162],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2202"}],"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=2202"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2202\/revisions"}],"predecessor-version":[{"id":2203,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2202\/revisions\/2203"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2202"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2202"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}