How to setup your ARK: Survival Evolved Server or Ubuntu OS?

0
29
how to setup ark survival evolved setup

ARK: Survival Evolved is an adventurous action genre video game. It is one of the most played games worldwide. To play the game, the player can navigate on foot or use animal. The island is full of dinosaurs, natural hazards, prehistoric animals and hostile human-players. A player can choose weapons and firearms to protect and defend himself from animals and human players. You can play as a single player or your friends can join your server in multiplayer mode.

To setup your own ARK: Survival Evolved server on Ubuntu, follow the tutorial below.

Note: I have used Alibaba Cloud server and Ubuntu 16.04 LTS for this tutorial.

Prerequisites:

  1. You must have Alibaba Cloud Elastic Compute Service (ECS). To get free $300 credits in your Alibaba Cloud account “Click Here”.
  2. You must have a copy of game client from https://www.playark.com to use your ARK: Survival Evolved server.
  3. You should setup your server’s hostname.
  4. Follow the general instructions to secure your serverg. activating firewalls.

Minimum Requirements for these settings:

  1. Ubuntu 16.04 (64 bit) installed on your Alibaba Cloud ECS
  2. 6 GB RAM required (8 GB Recommended)
  3. Fast Internet (Provided with every ECS on Alibaba Cloud)

 

Before you begin:

Before you begin installation of ARK: Survival Evolved on your server, you will have to follow steps below:

  1. Login to your Alibaba Cloud account – Click here to login
    How to setup your ARK server.1
  2. Click “Console” to open your dashboard.
    How to setup your ARK server 2
  3. Now click ( menu expansion button ) to expand your menu as shown in image below:
    How to setup your ARK server 3
  4. Now click settings icon as shown in image below:
    How to setup your ARK server 4
  5. Now click “+ icon button” to add Elastic Compute Service in your sidebar menu.
    How to setup your ARK server 5
  6. Now click Tick button to save your settings.
    How to setup ARK server 6
  7. Now click “Base Services”, sidebar sub-menu will expand. Then click “Elastic Compute Service”.
    How to setup ARK server 7

8. Now click “Instances” option in your second sidebar.
How to setup ARK server 8

  1. Click “Create Instance” button as shown in image below:
    How to setup ARK server 9
  2. Now choose your preferred Billing Method.
    1. Subscription: ECS is subscribed for at least 1 month.
    2. Pay-As-You-Go: You pay charges for what you use. No matter an hour or months or years. It’s completely up to you.
      How to setup ARK server 10
  3. Now select any one from the given instance’s locations list of your choice. In my case, I have chosen US ؑ East 1 (Virginia).
    How to setup ARK server 11

Note: You can choose any instance location of your choice. I recommend to use Alibaba Cloud services for stable and best performance.

  1. Now select your desired hardware architecture for server instance.
    How to setup ARK server 12

Note: While choosing specifications for system, please keep an eye on minimum system requirements required for ARK: Survival Evolved.

  1. Now choose Public Image, select Ubuntu and version 04 64 bit to install on your ECS instance.
  2. Choose Storage as per your choice. I will recommend to use SSD Cloud Disk.
    How to setup ARK server 14
  3. Click “Next Networking” button to proceed towards bandwidth settings.
    How to setup ARK server 15
  4. Now choose desired network connection speed for your server.
    How to setup ARK server 16
  5. Now click Next: System Configurations button to configure root user credentials.
    How to setup ARK server 17
  6. Now choose “Password” option, set your login password and repeat same password. This password will be used to access server via SSH client or VNC console.
    How to setup ARK server 18
  7. Now click Next: Grouping button for next step.
    How to setup ARK server 19
  8. Click Next: Preview  How to setup ARK server 20
  9. Now carefully review your settings and click Create Instance.
    How to setup ARK server 21
  10. Login as root user with your root username & password via SSH client (e.g. Putty – You can get Putty from https://www.putty.org ) or VNC console available in your AliBaba Cloud account dashboard.
  11. You will have to update & upgrade your Ubuntu to latest packages using the following commands:
# sudo apt-get update && sudo apt-get upgrade
How to setup ARK server 23

When you see the following message, type ‘Y’ and press Enter key.
How to setup ARK server 22

Select “install the package maintainer’s version” option and then select OK.
How to setup ARK server 222

  1. Now you have to setup SteamCMD. This is steam command line interface.

Install SteamCMD:

To install SteamCMD in Ubuntu, follow the steps below:

  1. You will have to open the list in nano editor using the following command:
# sudo nano

/etc/apt/sources.list
How to setup ARK server 25

  1. Write the following lines in opened list file as shown below:
deb http://archive.ubuntu.com/ubuntu xenial main universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-security main universe multiverse

 

How to setup ARK server 26

  1. After you have done writing, press Ctrl + X, write ‘Y’ and press Enter key.
  2. Now, type the following command in your terminal:
# sudo dpkg --add-architecture i386
How to setup ARK server 27
  1. Now you will need to update your package again using the following command:
# sudo apt-get update

How to setup ARK server 28

  1. Now type the following command to proceed towards installation of SteamCMD:
# sudo apt-get install steamcmd

If above command gives any error, then you may use the following command:

# sudo apt-get -f install steamcmd
How to setup ARK server 29
  1. After execution of above command, you will see the following screen. Type ‘Y’ and press Enter key.
    How to setup ARK server 29
  2. During installation of SteamCMD, a screen will appear to ask regarding terms and agreement. Select OK option and then select I AGREE to accept these terms and agreement and select

How to setup ARK server 30

How to setup ARK server 300

  1. To avoid any security issues, you will have to add another user.

 

How to add new user in Ubuntu?

  1. To add user, use the following command:
# adduser

ark

Note: ark can be any username of your choice.

How to setup ARK server 301

  1. Select your password of your choice:How to setup ARK server 302
  2. Enter your information like Full Name, Phone Number, etc.How to setup ARK server 303
  3. Confirm your information is correct by typing ‘Y’ and press Enter.How to setup ARK server 304
  4. To assign admin rights to user, use the following command:
# adduser

ark

 sudo

How to setup ARK server 305

Now proceed towards making some settings in your system to open files limit:

  1. Use the following command for to open /etc/sysctl.conf file
# sudo nano

/etc/sysctl.conf

  1. Add the following line

fs.file-max=100000

How to setup ARK server 400

Press Ctrl + X, write ‘Y’ and press Enter.

then run

# sysctl -p /etc/sysctl.conf

How to setup ARK server 402

  1. Use the following command for to open /etc/security/limits.conf file
# sudo nano

/etc/security/limits.conf

  1. Update the following lines to the lines below in opened file and use Ctrl + X, then type ‘Y’ and press Enter to save the settings:

 

*                            soft      nofile               1000000

*                            hard     nofile               1000000

How to setup ARK server 404

  1. Use the following command for to open /etc/pam.d/common-session file

 

# sudo nano

/etc/pam.d/common-session

 

  1. Add the following line in opened file as shown in screenshot below and use Ctrl + X, then type ‘Y’ and press Enter to save the settings:
#  session required pam_limits.so

How to setup ARK server 406

The above changes are necessary for tuning otherwise, consumption of system resources would be higher.

 

Let’s install ARK server now:

 

  1. Now let’s proceed towards installation of ARK server. First of all, you will have to create a server directory that you contain the files of your ARK server. To create directory, execute the following commands in your terminal:
# mkdir

server

Where server is name of directory.

How to setup ARK server 501

  1. Now let’s create symlink from the location /usr/games/steamcmd to steamcmd in your user’s directory. In my case, username is ark so mine would be ark user’s directory. To do this, use the following command:
# ln -s /usr/games/steamcmd steamcmd

How to setup ARK server 502

  1. Use the following command to run streamcmd for installation of ARK server.
# steamcmd +login anonymous +force_install_dir /home/ark/server +app_update 376030 +quit

How to setup ARK server 432

 

Now you can see that your app has been successfully installed.

 

Let’s create a systemd Unit for ARK Server now:

 

  1. When system is restarted or rebooted, to automatically start the ARK server, we will create a systemd unit file. For this purpose, we will log in again from our root account or we can simply switch user to root by using the following command:

 

Command to switch user to root:

 

# su -

 

  1. Now to create a new systemd file, execute the following command:

 

# nano

/lib/systemd/system/ark.service


How to setup ARK server 502

  1. Type the following lines in opened file in nano editor. Use Ctrl + X, type ‘Y’ and press Enter key to save the file.

 

 

[Unit]

Description=ARK Survival Evolved

[Service]

Type=simple

Restart=on-failure

RestartSec=5

StartLimitInterval=60s

StartLimitBurst=3

User=ark

Group=ark

ExecStartPre=/home/ark/steamcmd +login anonymous +force_install_dir /home/ark/server +app_update 376030 +quit

ExecStart=/home/ark/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?listen?SessionName=example -server -log

ExecStop=killall -TERM srcds_linux

[Install]

WantedBy=multi-user.target

 

 

How to setup ARK server 503

  1. Execute the following command to apply your updated changes.
# systemctl daemon-reload

How to setup ARK server 504

  1. Execute the following commands to enable systemd unit and run/start your ARK server.
# systemctl enable ark.service

How to setup ARK server 505

# systemctl start ark

How to setup ARK server 5055

Now, after successful execution of the commands above, you will need to configure your server by editing settings in GameUserSettings.ini file. You can setup password for the users and admin in this file. You can also leave user’s password blank when you want your users to connect with your server without any password. Admin password is required while issuing game commands. To do this, you can follow the commands below:

  1. Open the GameUserSettings.ini file.
# nano /home/ark/server/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini
  1. Now add the following lines given below in opened nano editor and use Ctrl + X, type ‘Y’ and press Enter to save the settings. 

How to setup ARK server 507

Let’s setup firewalls for ARK Survival:

 

  1. If you have activated firewalls, you will have to define a rule in Alibaba Cloud security group for your cloud server to add exception for port 27015, 7777, 7778 and 27020. By default, these ports are blocked by the firewalls.

To do this follow the given instructions in snapshots:

Go to your Elastic Compute Service section:

How to setup ARK server 508

Click on more button for ECS you are making ready for Minecraft Server:

How to setup ARK server 509

Click on Configure Rules:

How to setup ARK server 510

Click on Quickly Create Rules:

How to setup ARK server 511

Add the configurations for port UDP 27015 as shown in screenshot below & click OK.

How to setup ARK server 512

Now, add the configurations for port UDP 7777 as shown in screenshot below & click OK.

How to setup ARK server 513

Now, add the configurations for port UDP 7778 as shown in screenshot below & click OK.

How to setup ARK server 513

Now, add the configurations for port TCP 27020 as shown in screenshot below & click OK.

How to setup ARK server 515

Now Connect to your ARK Survival Server:

  1. Now open your ARK Survival client and click Join ARK.
  2. Use Server Name Filter and select your server.
  3. Enter password and click Accept.
Previous articleComputer Software and types of software
Next articleHow to do installation and configuration of GoCD on CentOS? – Part 1
I'm a Software Engineer by profession. I had been certified as Cloud Computing Specialist by Alibaba Cloud. I started my career by working on freelance projects related to Facebook App Development, Mobile App development, Web development, and Software development. I voluntarily edited Facebook Map and Google Maps. During my blogging career, I experienced Affiliate Marketing, Google AdWords, Facebook Ads, Facebook Audience Network, Google Adsense and Media.net by Microsoft. I am also the founder of cloud-based Centralized Queue Management System (CQMS) which has been deployed in COMSATS University's student service center and admission cell for managing their queues. CQMS has also been awarded 3rd best project in DICE -IET 2017 (a national level exhibition and competition). Besides, I am a technical author at Alibaba Cloud. I had written many tutorials on Alibaba Cloud Focus. Moreover, I have published my book on Amazon. Currently, I am writing my next book that is expected to be published soon.

LEAVE A REPLY

Please enter your comment!
Please enter your name here