Creating An Arma 3 Server On CentOS

In this article we will be going over how to setup an Arma 3 Server on CentOS.

Notes: * This article assumes you are logged in to your server as root. * Purchasing Arma 3 is not required for this tutorial.

Step 1: Prerequisites

  • GCC Compiler for 32bit Systems
  • Steam Client
  • Screen

The reason why we are installing a 32 bit GCC Compiler is because the Steam client is built to run on 32 bit systems.

sudo yum install glibc.i686 libstdc++.i686 gcc -y

Because the Arma 3 server does not run as a background process, we will need to run its process in a screen session.

sudo yum install screen -y

Now that all the prerequisites are installed, we can move to the next step, which is installing SteamCMD.

Step 2: Installing SteamCMD and Arma 3

This step is slightly complicated. Please use caution.

The first step is to create a user account for SteamCMD. Let's name it steam.

sudo useradd steam && passwd steam
su steam

The next step is to download the files required for SteamCMD:

cd ~/ && wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz

Extract the files from the SteamCMD archive:

tar xvf steamcmd_linux.tar.gz

Execute the below command to update Steam.

./steamcmd.sh

Paste the following in the terminal (change yourSteamUsername to your username)

login yourSteamUsername

Next, type your password, and if you have Steam Guard enabled, please check your email.

Finally, enter the following to install Arma 3:

force_install_dir ./arma3/
app_update 233780 validate
exit
mkdir -p ~/".local/share/Arma 3" && mkdir -p ~/".local/share/Arma 3 - Other Profiles"

The previous commands will essentially create the required directories and install Arma 3.

Step 3: Configuring Arma 3

This step will cover the setup and configuration process. For the purpose of this tutorial, we will be using a sample configuration which can be found below.

First, open up server.cfg inside /home/steam/arma3 by executing: nano ~/arma3/server.cfg, then paste the following configuration into your text editor:

hostname = "My Arma 3 Server";      // Server Name
password = "";                      // Server Joining Password
passwordAdmin = "demoPassword";     // Password to become an operator
maxPlayers = 16;                    // Player Slots

This concludes the configuration process. Next, you will need to clean up the configuration by executing the following commands:

exit
ssh steam@localhost

Step 4: Starting/maintaining the server

This simplest and final step is to start the Arma 3 Server.

cd /home/steam/arma3
screen -dmS arma3 ./arma3server -name=server -config=server.cfg

All that's left for you is to get gaming!

This concludes our tutorial. Thank you for reading.

  • CentOS, Game Servers, Linux Guides, Server Apps
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Setup Ragnarok Online Server on Ubuntu 14.04 x64

In this article, we are going to setup a Ragnarok Online Server on Ubuntu 14.04 x64. You can be...

Setting up a Name Server for IPv6 rDNS in CentOS

Managing your own IPv6 rDNS is a fairly simple task. After setting up the name server, please...

Reset the Root Password in CentOS

If you have forgotten the root password it is possible to set a new one by interrupting the boot...

How to Install and Configure vsftpd on CentOS 7

FTP (File Transfer Protocol) is one of the most popular methods to upload files to a server....

How to enable EPEL repository?

The EPEL repository is an additional package repository that provides easy access to install...