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":2170,"date":"2019-11-26T06:35:21","date_gmt":"2019-11-26T06:35:21","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2170"},"modified":"2019-12-05T00:57:17","modified_gmt":"2019-12-05T00:57:17","slug":"creating-an-arma-3-server-on-centos","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/creating-an-arma-3-server-on-centos\/","title":{"rendered":"Creating An Arma 3 Server On CentOS"},"content":{"rendered":"

In this article we will be going over how to setup an\u00a0Arma 3 Server on CentOS<\/strong>.<\/p>\n

Notes<\/em><\/strong>: * This article assumes you are logged in to your server as\u00a0root<\/code>. * Purchasing\u00a0Arma 3<\/strong>\u00a0is not required for this tutorial.<\/p>\n

Step 1: Prerequisites<\/strong><\/h2>\n
    \n
  • GCC Compiler for 32bit Systems<\/li>\n
  • Steam Client<\/li>\n
  • Screen<\/li>\n<\/ul>\n

    The reason why we are installing a 32 bit GCC Compiler is because the Steam client is built to run on 32 bit systems.<\/p>\n

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

    Because the Arma 3 server does not run as a background process, we will need to run its process in a\u00a0screen<\/code>\u00a0session.<\/p>\n

    sudo yum install screen -y\r\n<\/code><\/pre>\n

    Now that all the prerequisites are installed, we can move to the next step, which is installing\u00a0SteamCMD<\/code>.<\/p>\n

    Step 2: Installing SteamCMD and Arma 3<\/strong><\/h2>\n

    This step is slightly complicated. Please use caution.<\/p>\n

    The first step is to create a user account for SteamCMD. Let’s name it\u00a0steam<\/code>.<\/p>\n

    sudo useradd steam && passwd steam\r\nsu steam\r\n<\/code><\/pre>\n

    The next step is to download the files required for\u00a0SteamCMD<\/code>:<\/p>\n

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

    Extract the files from the SteamCMD archive:<\/p>\n

    tar xvf steamcmd_linux.tar.gz\r\n<\/code><\/pre>\n

    Execute the below command to update Steam.<\/p>\n

    .\/steamcmd.sh\r\n<\/code><\/pre>\n

    Paste the following in the terminal (change\u00a0yourSteamUsername<\/code>\u00a0to your username)<\/p>\n

    login yourSteamUsername\r\n<\/code><\/pre>\n

    Next, type your password, and if you have Steam Guard enabled, please check your email.<\/p>\n

    Finally, enter the following to install Arma 3:<\/p>\n

    force_install_dir .\/arma3\/\r\napp_update 233780 validate\r\nexit\r\nmkdir -p ~\/\".local\/share\/Arma 3\" && mkdir -p ~\/\".local\/share\/Arma 3 - Other Profiles\"\r\n<\/code><\/pre>\n

    The previous commands will essentially create the required directories and install Arma 3.<\/p>\n

    Step 3: Configuring Arma 3<\/strong><\/h2>\n

    This step will cover the setup and configuration process. For the purpose of this tutorial, we will be using a sample configuration which can be found below.<\/p>\n

    First, open up\u00a0server.cfg<\/code>\u00a0inside\u00a0\/home\/steam\/arma3<\/code>\u00a0by executing:\u00a0nano ~\/arma3\/server.cfg<\/code>, then paste the following configuration into your text editor:<\/p>\n

    hostname = \"My Arma 3 Server\";      \/\/ Server Name\r\npassword = \"\";                      \/\/ Server Joining Password\r\npasswordAdmin = \"demoPassword\";     \/\/ Password to become an operator\r\nmaxPlayers = 16;                    \/\/ Player Slots\r\n<\/code><\/pre>\n

    This concludes the configuration process. Next, you will need to clean up the configuration by executing the following commands:<\/p>\n

    exit\r\nssh steam@localhost\r\n<\/code><\/pre>\n

    Step 4: Starting\/maintaining the server<\/strong><\/h2>\n

    This simplest and final step is to start the Arma 3 Server.<\/p>\n

    cd \/home\/steam\/arma3\r\nscreen -dmS arma3 .\/arma3server -name=server -config=server.cfg\r\n<\/code><\/pre>\n

    All that’s left for you is to get gaming!<\/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,231,242,245],"manual_kb_tag":[146],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2170"}],"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=2170"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2170\/revisions"}],"predecessor-version":[{"id":2171,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2170\/revisions\/2171"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2170"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2170"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}