{"id":2627,"date":"2016-09-01T17:57:07","date_gmt":"2016-09-01T21:57:07","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=2627"},"modified":"2017-11-24T16:43:12","modified_gmt":"2017-11-24T21:43:12","slug":"install-ark-survival-evolved-server-centos-7","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/","title":{"rendered":"How to install ARK Survival Evolved server on CentOS 7"},"content":{"rendered":"<h1>How to install ARK Survival Evolved server on CentOS 7<\/h1>\n<div class=\"row\">\n<div class=\"col-lg-2\">\n<\/div>\n<div class=\"col-lg-8\">\n<a href=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/Ark-Survival.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/Ark-Survival.jpg\" alt=\"install ark\" width=\"759\" height=\"286\" class=\"aligncenter size-full wp-image-2641\" \/><\/a>\n<\/div\n\n\n<div class=\"col-lg-2\">\n<\/div>\n<\/div>\n<p><a rel=\"nofollow\" href=\"http:\/\/store.steampowered.com\/app\/346110\/ARK_Survival_Evolved\/\" target=\"_blank\">Ark: Survival Evolved<\/a> is a popular action game that features survival-themed crafting, combat, and most notably, the ability to tame and ride dinosaurs. Ark: Survival Evolved must be played using specific servers. This guide will walk you through the steps of setting up this server on CentOS 7.<\/p>\n<h2>Getting started<\/h2>\n<p>In order to install Ark: Survival Evolved server&#8217;s software, you will need the following:<br \/>\n\u2022 1 Node (<a href=\"https:\/\/www.globo.tech\/cloud-server-pricing\" target=\"_blank\"><b>loud Server<\/b><\/a> or <a href=\"http:\/\/www.globo.tech\/dedicated-server-hosting\" target=\"_blank\"><b>Dedicated Server<\/b><\/a>) running a clean installation of CentOS 7.<br \/>\n\u2022 All commands must be entered as root with the exception of some performed by a user that we will create specifically for running Steam.<br \/>\n\u2022 2 vCores and 6GB RAM. These are the minimum requirements for an Ark server that can handle up to 10 users.<\/p>\n<h2>Tutorial<\/h2>\n<p>The very first step is to update your system. This is also the time to install the basic dependencies.<br \/>\n<code>yum update -y<br \/>\nyum install nano wget tar glibc.i686 libgcc.i686 libstdc++.i686 -y<\/code><\/p>\n<p>Create an user specifically to access the Steam related content you&#8217;ll need for installation. It&#8217;s unsafe to use the root user for this purpose.<br \/>\n<code>adduser -s \/usr\/sbin\/nologin steam<\/code><\/p>\n<p>Let&#8217;s make some quick preparations to your system before installation. First, for the purposes of the server, you&#8217;ll need to increase the amount of simultaneous system files that can be opened by altering sysctl.conf.<br \/>\n<code>echo \"fs.file-max=100000\" >> \/etc\/sysctl.conf<br \/>\nsysctl -p<\/code><\/p>\n<p>Then, alter the system limits configuration file with the following:<br \/>\n<code>echo \"*               soft    nofile          1000000\" >> \/etc\/security\/limits.conf<br \/>\necho \"*               hard    nofile          1000000\" >> \/etc\/security\/limits.conf<\/code><\/p>\n<p>Finally, enable the PAM limits module on the system to prepare it for use as a multiuser server.<br \/>\n<code>echo \"session required pam_limits.so\" >> \/etc\/pam.d\/system-auth<\/code><\/p>\n<p>Now you can proceed with the installation of the Ark: Survival Evolved server.<br \/>\n<code>cd \/home\/steam<br \/>\n\/home\/steam# su -s \/bin\/bash steam<br \/>\nwget https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz<br \/>\ntar -zxvf steamcmd_linux.tar.gz<br \/>\nrm steamcmd_linux.tar.gz<br \/>\n.\/steamcmd.sh<\/code><\/p>\n<p>After entering the Steam command line interface, type this command to install Ark game server.<br \/>\n<code>login anonymous<br \/>\nforce_install_dir .\/arkserver<br \/>\napp_update 376030 validate<\/code><\/p>\n<p>You will have to wait while the server software downloads. This can take a variable amount of time depending on your connection, but you are done once you see the following.<br \/>\n<code class=\"gris\">Update state (0x61) downloading, progress: 99.95 (3222988684 \/ 3224465090)<br \/>\nSuccess! App '376030' fully installed.<\/code><\/p>\n<p>Now that the server is installed, exit the command line interface with quit.<\/p>\n<p>Switch over to the root user so you can set up the server configuration.<\/p>\n<p>In order for the Ark server to automatically start on boot, you can create an init script. This is what you will name it:<br \/>\n<code>nano \/etc\/systemd\/system\/arkserver.service<\/code><\/p>\n<p>And now, simply add the following content to the file: (Make sure that the ExecStart line corresponds to what you had in the previous file)<br \/>\n<code class=\"gris\">[Unit]<br \/>\nDescription=ARK Survival Server<br \/>\n[Service]<br \/>\nType=simple<br \/>\nUser=steam<br \/>\nGroup=steam<br \/>\nRestart=on-failure<br \/>\nRestartSec=5<br \/>\nStartLimitInterval=60s<br \/>\nStartLimitBurst=3<br \/>\nExecStart=\/home\/steam\/arkserver\/ShooterGame\/Binaries\/Linux\/ShooterGameServer TheIsland?listen?SessionName=<server_name>?ServerPassword=<join_password>?ServerAdminPassword=<admin_password> -server -log<br \/>\nExecStop=killall -TERM srcds_linux<br \/>\n[Install]<br \/>\nWantedBy=multi-user.target<\/code><\/p>\n<p>Now start the Ark server, and enable it to start on boot.<br \/>\n<code>systemctl --system daemon-reload<br \/>\nsystemctl start arkserver.service<br \/>\nsystemctl enable arkserver.service<\/code><\/p>\n<p>Use systemctl to verify that the server is actually running. Here&#8217;s the command you should use, and an example of expected output:<br \/>\n<code>steam@ark-node:~$ service arkserver status<\/code><br \/>\n<code class=\"gris\">? arkserver.service - ARK Survival Server<br \/>\n   Loaded: loaded (\/etc\/systemd\/system\/arkserver.service; disabled; vendor preset: disabled)<br \/>\n   Active: active (running) since Fri 2016-08-12 23:57:27 UTC; 3s ago<br \/>\n Main PID: 27027 (ShooterGameServ)<br \/>\n   CGroup: \/system.slice\/arkserver.service<br \/>\n           ??27027 \/home\/steam\/arkserver\/ShooterGame\/Binaries\/Linux\/ShooterGameServer TheIsland?listen?SessionName..<\/code><\/p>\n<p>Adjust the firewall rules from the default settings. (If you have already altered the firewall in some way, you may need to make further adjustments.) You&#8217;ll have to open up these ports to allow traffic to flow to and from the Ark server:<br \/>\n<code>firewall-cmd --add-port=27015\/udp<br \/>\nfirewall-cmd --add-port=7777\/udp<br \/>\nfirewall-cmd --add-port=32330\/tcp<\/code><\/p>\n<p>This is what each port is for:<br \/>\n\u2022\tUDP 27015: Query port for Steam&#8217;s server browser<br \/>\n\u2022\tUDP 7777: Game client port<br \/>\n\u2022\tTCP 32330: RCON for remote console server access (optional)<\/p>\n<p>Here&#8217;s an equivalent command you can use with iptables, if you prefer:<br \/>\n<code>iptables -A INPUT -p udp -m udp --sport 27015 --dport 1025:65355 -j ACCEPT<br \/>\niptables -A INPUT -p udp -m udp --sport 7777 --dport 1025:65355 -j ACCEPT<br \/>\niptables -A INPUT -p tcp -m tcp --sport 32330 --dport 1025:65355 -j ACCEPT<\/code><\/p>\n<h2>Conclusion<\/h2>\n<p>Installation is now complete. If you&#8217;ve set it up properly, you should now be able to host games of Ark: Survival of the Fittest for up to 10 players. Add more vCores and RAM to enable even more players to join your server. <\/p>\n<p><a href=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/kbgkqpbrhmvlqnzjfolu.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/kbgkqpbrhmvlqnzjfolu.jpg\" alt=\"Ark Survival Evolved\" width=\"889\" height=\"500\" class=\"aligncenter size-full wp-image-2639\" \/><\/a><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>How to install ARK Survival Evolved server on CentOS 7 > \/etc\/sysctl.conf sysctl -p Then, alter the system limits configuration file with the following: echo &#8220;* soft nofile 1000000&#8221; >> \/etc\/security\/limits.conf echo &#8220;* hard nofile 1000000&#8221; >> \/etc\/security\/limits.conf Finally, enable the PAM limits module on the system to prepare it for use as a multiuser<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[],"class_list":["post-2627","post","type-post","status-publish","format-standard","hentry","category-applications","operating_system-centos-7"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to install ARK Survival Evolved server on CentOS 7 - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to install Ark: Survival Evolved on your CentOS 7 server. Read now &amp; Enjoy this popular action game !\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install ARK Survival Evolved server on CentOS 7 - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will show you how to install Ark: Survival Evolved on your CentOS 7 server. Read now &amp; Enjoy this popular action game !\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-01T21:57:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-11-24T21:43:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/Ark-Survival.jpg\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/\",\"name\":\"How to install ARK Survival Evolved server on CentOS 7 - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/Ark-Survival.jpg\",\"datePublished\":\"2016-09-01T21:57:07+00:00\",\"dateModified\":\"2017-11-24T21:43:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"This tutorial will show you how to install Ark: Survival Evolved on your CentOS 7 server. Read now & Enjoy this popular action game !\",\"breadcrumb\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/#primaryimage\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/Ark-Survival.jpg\",\"contentUrl\":\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/Ark-Survival.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.globo.tech\/learning-center\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install ARK Survival Evolved server on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\/\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install ARK Survival Evolved server on CentOS 7 - Globo.Tech","description":"This tutorial will show you how to install Ark: Survival Evolved on your CentOS 7 server. Read now & Enjoy this popular action game !","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to install ARK Survival Evolved server on CentOS 7 - Globo.Tech","og_description":"This tutorial will show you how to install Ark: Survival Evolved on your CentOS 7 server. Read now & Enjoy this popular action game !","og_url":"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/","og_site_name":"Globo.Tech","article_published_time":"2016-09-01T21:57:07+00:00","article_modified_time":"2017-11-24T21:43:12+00:00","og_image":[{"url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/Ark-Survival.jpg","type":"","width":"","height":""}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/","url":"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/","name":"How to install ARK Survival Evolved server on CentOS 7 - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/Ark-Survival.jpg","datePublished":"2016-09-01T21:57:07+00:00","dateModified":"2017-11-24T21:43:12+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"This tutorial will show you how to install Ark: Survival Evolved on your CentOS 7 server. Read now & Enjoy this popular action game !","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/#primaryimage","url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/Ark-Survival.jpg","contentUrl":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/Ark-Survival.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/install-ark-survival-evolved-server-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to install ARK Survival Evolved server on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=2627"}],"version-history":[{"count":7,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2627\/revisions"}],"predecessor-version":[{"id":3873,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2627\/revisions\/3873"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=2627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=2627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=2627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}