Rough guide to setting up a dedicated CentOS ARK: Survival Evolved server

Warning: unfinished guide

  • Create a new Virtual Site at the domain/subdomain you want: eg:
  • Following commands assume username ark from

Update sysctl.conf to allow more files to be open:

Source: sudo sysctl -w fs.file-max=100000

We need to make this permanant:

`sudo vi /etc/sysctl.conf`

Append the following line:

`fs.file-max = 100000`

Save and close the file. Users need to log out and log back in again to changes take effect or just type the following command:

`sudo sysctl -p`

Verify your settings with command:

`sysctl fs.file-max`

Now add higher hard and soft limits for the user we created:

`sudo vi /etc/security/limits.conf`

Add in the following entries, adjust your username as appropriate:

`ark soft nofile 100000
ark hard nofile 100000`

Give the user sudo priveledges via a root account:

`sudo usermod -aG wheel <username>`

On CentOS, if adding the user to the group does not work immediately, you may have to edit the /etc/sudoers file to uncomment the group name:

`sudo visudo`

Find and ensure the following is not commented out:

`%wheel ALL=(ALL) ALL`

Make a directory for and obtain the steam client

`mkdir steam
cd steam
curl -sqL "" | tar zxvf -
chmod +x ./`

Open all the ports:

`sudo firewall-cmd --zone=public --add-port=27015/tcp --permanent
sudo firewall-cmd --zone=public --add-port=27015/udp --permanent
sudo firewall-cmd --zone=public --add-port=27016/tcp --permanent
sudo firewall-cmd --zone=public --add-port=27016/udp --permanent
sudo firewall-cmd --zone=public --add-port=7778/tcp --permanent
sudo firewall-cmd --zone=public --add-port=7778/udp --permanent
sudo firewall-cmd --zone=public --add-port=32330/tcp --permanent`

Run steam once to install it:


Get ark-server-tools (

curl -sL | bash -s -- --me --perform-user-install

Backing up an Ark Save:

tar xvf ../../../../public_html/ragnarok.tar.gz Ragnarok.ark Ragnarok_AntiCorruptionBackup.bak Ragnarok_NewLaunchBackup.bak *.arkprofile *.profilebak *.arktribe *.tribebak