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.
Prerequisites:
Minimum Requirements for these settings:
Before you begin:
Login as root user with your root username & password via SSH client (e.g. Putty – You can get Putty from https://www.putty.org )
You will have to update & upgrade your Ubuntu to latest packages using the following commands:
# sudo apt-get update && sudo apt-get upgrade
When you see the following message, type ‘Y’ and press Enter key.
Select “install the package maintainer’s version” option and then select OK.
Install SteamCMD:
To install SteamCMD in Ubuntu, follow the steps below:
# sudo nano
/etc/apt/sources.list
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 |
# sudo dpkg --add-architecture i386
# sudo apt-get update
# 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 add new user in Ubuntu?
# adduser
ark
Note: ark can be any username of your choice.
# adduser
ark
sudo
Now proceed towards making some settings in your system to open files limit:
# sudo nano
/etc/sysctl.conf
fs.file-max=100000
Press Ctrl + X, write ‘Y’ and press Enter.
then run
# sysctl -p /etc/sysctl.conf
# sudo nano
/etc/security/limits.conf
* soft nofile 1000000
* hard nofile 1000000
# sudo nano
/etc/pam.d/common-session
# session required pam_limits.so
The above changes are necessary for tuning otherwise, consumption of system resources would be higher.
Let’s install ARK server now:
# mkdir
server
Where server is name of directory.
# ln -s /usr/games/steamcmd steamcmd
# steamcmd +login anonymous +force_install_dir /home/ark/server +app_update 376030 +quit
Now you can see that your app has been successfully installed.
Let’s create a systemd Unit for ARK Server now:
Command to switch user to root:
# su -
# nano
/lib/systemd/system/ark.service
[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
|
# systemctl daemon-reload
# systemctl enable ark.service
# systemctl start ark
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:
# nano /home/ark/server/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini
Now Connect to your ARK Survival Server:
If you are living in a digital world you must know how to protect your…
Software Development Life Cycle Model, also known as SDLC or Software Development Process, is base…
Go, often referred to as golang is a modern open-source programming language created by Google…
Torque published an article on October 18, 2016, about WordPress statistics. According to this article,…
PostgreSQL, often known simply as Postgres, is an open-source general-purpose object-relational database management system. In…
SEO is free as well as paid. To achieve SE ranking, money is not enough.…