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":2178,"date":"2019-11-26T06:38:44","date_gmt":"2019-11-26T06:38:44","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2178"},"modified":"2019-12-06T13:54:02","modified_gmt":"2019-12-06T13:54:02","slug":"how-to-install-7-days-to-die-on-centos-7","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/how-to-install-7-days-to-die-on-centos-7\/","title":{"rendered":"How To Install 7 Days to Die on CentOS 7"},"content":{"rendered":"

In this tutorial, I’ll be explaining how to to setup a\u00a07 Days<\/strong>\u00a0to Die server on\u00a0CentOS 7<\/strong>.<\/p>\n

Prerequisites<\/strong><\/h3>\n

You need to own this game on your Steam account.<\/strong><\/p>\n

Let’s make sure the system is fully updated before we start. Then we’ll be creating a new user for the server. Make sure to use a tough password.<\/p>\n

yum update\r\nyum upgrade -y\r\nadduser 7d2d\r\npasswd 7d2d\r\n<\/code><\/pre>\n

Let us also open the necessary firewall ports.<\/p>\n

firewall-cmd --zone=public --add-port=26900\/tcp --permanent\r\nfirewall-cmd --zone=public --add-port=26900\/udp --permanent\r\nfirewall-cmd --reload\r\n<\/code><\/pre>\n

Install the required libs to run\u00a0SteamCMD<\/strong>.<\/p>\n

yum install glibc.i686 libstdc++.i686 -y\r\n<\/code><\/pre>\n

Now, let’s switch to the user that we have just created.<\/p>\n

su 7d2d\r\ncd ~\r\n<\/code><\/pre>\n

Time to download\u00a0SteamCMD<\/strong>.<\/p>\n

wget https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar xf steamcmd_linux.tar.gz\r\n<\/code><\/pre>\n

Now we have to run SteamCMD and install the server files. Please note, if you have Steam Guard enabled, you have to check your email for the code to login.<\/p>\n

.\/steamcmd.sh\r\nlogin YourAccount\r\n*enter your password and steam guard code if necessary*\r\n\r\nforce_install_dir .\/7d2d\r\napp_update 294420 validate\r\n<\/code><\/pre>\n

The server software is now installed.<\/p>\n

Customizing The Server<\/strong><\/h3>\n

Want to customize the name, description and perhaps the slots of the server?<\/p>\n

To change the name of your server, edit the file\u00a0serverconfig.xml<\/code>.<\/p>\n

nano serverconfig.xml\r\n<\/code><\/pre>\n

Only<\/strong>\u00a0change the value inside the\u00a0value=\"\"<\/code>\u00a0part.<\/p>\n

    \n
  • On line 5, change\u00a0My Game Host<\/code>\u00a0to whatever you want.<\/li>\n
  • On line 7, change\u00a08<\/code>\u00a0to the amount of slots you want. Max slots is\u00a032<\/code>.<\/li>\n
  • On line 8, change\u00a0A 7 Days to Die server<\/code>\u00a0to the description of your choice.<\/li>\n<\/ul>\n

    Updating Your Server<\/strong><\/h3>\n

    Need to update due to Steam Updates? Don’t worry! With this simple script, you can update your server in just one command.<\/p>\n

    Let’s create the file\u00a0update_7d2d.txt<\/code>\u00a0first.<\/p>\n

    nano \/home\/7d2d\/update_7d2d.txt\r\n<\/code><\/pre>\n

    Then, paste the following:<\/p>\n

    login YourUser YourPassword\r\nforce_install_dir .\/7d2d\r\napp_update 294420\r\nquit\r\n<\/code><\/pre>\n

    And now to update your server, all you have to do is run the following command:<\/p>\n

    cd ~\r\n.\/steamcmd.sh +runscript update_7d2d.txt\r\n<\/code><\/pre>\n

    Running Your Server<\/strong><\/h3>\n

    Navigate to the following folder and run your server.<\/p>\n

    cd \/home\/7d2d\/7d2d\/\r\nscreen -dmS 7d2d .\/startserver.sh -configfile=serverconfig.xml\r\n<\/code><\/pre>\n

    The server is now running in the background. To shut down the server, run the following command:<\/p>\n

    pkill 7Days\r\n<\/code><\/pre>\n

    Enjoy your new 7D2D 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,231],"manual_kb_tag":[150],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2178"}],"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=2178"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2178\/revisions"}],"predecessor-version":[{"id":2179,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2178\/revisions\/2179"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2178"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2178"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}