Search found 850 matches

by LHammonds
Wed May 26, 2021 9:19 am
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Crontab Schedule

Crontab Schedule We will be utilizing the crontab schedule of the root user. The scripts that need to run as the low-rights user (like Steam updates) will be automatically switched inside the script so there should not be any issue running these scripts with the higher privilege level. viewtopic.ph...
by LHammonds
Tue May 25, 2021 4:06 am
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Scripting - Menu

Scripting - Menu This is the main script that will call most of the other scripts and view their log files. You can download the script straight from my github using the below commands or manually create the file yourself by copying the code from this forum (which may get outdated compared to githu...
by LHammonds
Tue May 25, 2021 4:01 am
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Scripting - Restore

Scripting - Restore This script will walk you through restoring an instance from a prior backup archive. You can download the script straight from my github using the below commands or manually create the file yourself by copying the code from this forum (which may get outdated compared to github) ...
by LHammonds
Tue May 25, 2021 3:23 am
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Scripting - Backup

Scripting - Backup This script will backup all valid instances, configurations, logs and scripts to date-stamped archives. You can download the script straight from my github using the below commands or manually create the file yourself by copying the code from this forum (which may get outdated co...
by LHammonds
Fri May 14, 2021 8:31 am
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Scripting - Compare

Comparing Server Versions This script will compare the dedicated server version number in the template to the version number in the game instances. It will return zero if everything matches which can be helpful if you want to schedule automated downtime whenever an update needs to be applied. They ...
by LHammonds
Fri May 14, 2021 8:30 am
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Scripting - Updates

Updating Template from Steam This script will update the application in the template folder from Steam. Since the template is never running so it can be updated at any time throughout the day. You can download the script straight from my github using the below commands or manually create the file y...
by LHammonds
Fri May 14, 2021 8:30 am
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

GameUserSettings.ini

GameUserSettings.ini When you start the instance for the first time, a default GameUserSettings.ini file will be created and placed in this location: /opt/ark/{GameInstanceName}/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini You can customize it however you like to make the game work how...
by LHammonds
Fri May 14, 2021 8:30 am
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Run as a Service - Systemd

Run as a Service - Systemd A generic system service will be created that will work for every instance by passing it the instance name as a parameter. This will allow the operating system to start each service when the server boots up and stop each service upon shutdown or reboot. This also means th...
by LHammonds
Fri May 14, 2021 8:30 am
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Scripting - Fix Permissions

Fix Permissions This is a utility script that will correct the file/folder permissions and ownership of all game instances or just the one specified if a parameter is used. You can download the script straight from my github using the below commands or manually create the file yourself by copying t...
by LHammonds
Fri May 14, 2021 8:29 am
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Scripting - Stop

Stop Overview There will be 3 stop scripts. game-stop.sh - This will be used by the systemd service to stop the service automatically after a reboot or manually using the "systemctl stop" command. game-stop-1.sh - This will be used by an interactive menu to allow you to pick a single online game in...
by LHammonds
Fri May 14, 2021 7:41 am
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Scripting - Start

Start Overview There will be 3 start scripts. game-start.sh - This will be used by the systemd service to start the service automatically after a reboot or manually using the "systemctl start" command. game-start-1.sh - This will be used by an interactive menu to allow you to pick a single game ins...
by LHammonds
Thu May 13, 2021 7:19 pm
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Scripting - Online Status

game-online.sh This is a utility script that will allow other scripts to determine if a particular instance is online or offline. It requires a valid instance name to be passed as a parameter. It will return 0 if the instance is online or 1 if offline. It will also output a human-readable result. E...
by LHammonds
Thu May 13, 2021 4:34 pm
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Scripting - RCON Commands

Command Script The purpose of this script is to send commands to Ark's console via the RCON utility. Any script that needs to send RCON commands will do so using this script. This script assumes you are using the same password for all your instances. If you need to reference a different file for ea...
by LHammonds
Wed Apr 14, 2021 10:05 pm
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Scripting - Configuration

Scripting Configuration You could put the startup command directly into the systemd startup scripts but I like to make it easy to manage the system in the fewest places possible. With that said, let's create a script configuration file that will hold all of our various settings related to the manag...
by LHammonds
Wed Apr 14, 2021 10:05 pm
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

RCON Utility

RCON Utility Reference: My Steam Guide: RCON Command-Line Utility The game instances will be running as a service and thus, the console will not be available. This is where RCON comes in handy. Ark has built-in support for RCON clients sending console commands such as DoExit, Broadcast, ServerChat,...
by LHammonds
Wed Apr 14, 2021 10:04 pm
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Re: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS

Copy Ark from Template to the Game Instances We already have the server files in the template folder. Now we can just copy from the local template folder to map folder(s) that we want to run. Pick which commands to run based on what maps you are going to be running in the cluster. You most-likely w...
by LHammonds
Wed Apr 14, 2021 10:04 pm
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Download Ark to the Template folder

Download Ark to the Template folder We will only be downloading one copy of Ark and workshop mods from Steam into a template folder. Once we have a copy of the server code downloaded from Steam, we can then copy these files to other folders which will become our game instances which the services wi...
by LHammonds
Wed Apr 14, 2021 10:04 pm
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Install SteamCMD

Install SteamCMD

Reference Article

Code: Select all

sudo dpkg --add-architecture i386
sudo apt update
sudo apt install lib32gcc1 steamcmd libsdl2-2.0-0:i386
by LHammonds
Wed Apr 14, 2021 10:04 pm
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Credentials

Credentials There will be 3 levels of user access: root (system-level access for script schedules, backups and service control) arkserver (owner/update account that has read/write access to all Ark files and ability to use sudo command) arkservice (runtime account that belongs to the arkserver grou...
by LHammonds
Wed Apr 14, 2021 10:04 pm
Forum: Tutorials
Topic: How to Install Ark: Survival Evolved on Ubuntu Server 20.04 LTS
Replies: 21
Views: 4226

Ubuntu Firewall Rules

Ubuntu Firewall Rules Edit the firewall script that was created during the initial setup of the server (if you followed my instructions ): sudo vi /var/scripts/prod/en-firewall.sh NOTE: The RCON port is commented out since it should not be open to the entire Internet but left there as documentation...