English Install an ArmA 3 server on Linux

  • Auteur de la discussion Auteur de la discussion I'm the Boss
  • Date de début Date de début

I'm the Boss

Leader
Membre du personnel
2/1/20
717
3
44
1 100
vdgrg-ConvertImage (1).png
___

1- Introduction
Welcome to this tutorial where we will show you how to install an ArmA 3 server under the Linux OS (Debian and Ubuntu). If you want to install an ArmA 3 server on Windows, it's not the same procedures, so it's useless to follow this tutorial!

Well, let's start from the beginning, the prerequisites!

___
2- Prerequisites

Before you begin, please make sure that the following criteria are met, so as not to be lost in your installation.

  • To have a MINIMUM of knowledge in Linux, in order not to make stupidity (I do not return on the basic linux commands.)!
  • Have a machine under the Debian or Ubuntu OS
  • Have opened the necessary ports (and only those necessary) for ArmA 3.

If these conditions are met, you can continue!

___
3- Software Installation Requirements

Installation summary:

  • MySQL
  • PhpMyAdmin, with Apache 2

To start, download the latest version of MySQL, via the following command (make sure you have administrator rights):
Code:
apt-get install mysql-server
During the installation, a superuser password will be asked, insert a secure password.
If the system does not ask you for a password, enter the following command:
Code:
mysql_secure_installation
Well, MySQL is installed, now, install PhpMyAdmin, to manage your databases.

Enter the following command:
Code:
apt-get install apache2 phpmyadmin
You can now access the management of your databases by opening your browser and making sure
Code:
YOURIP/phpmyadmin
(Replaces YOURIP with the IP of your machine)
So we are done with the installation of components for development! Let's move to the server installation!

___
4- Installing ArmA 3 Server

Installation summary:

  • SteamCMD and dependencies
  • ArmA 3 Server

We will start by creating a user specifically dedicated to your server, thanks to the command:
Code:
adduser arma3server
When creating your user, a User Password will be asked, enter a secure password!

Then, let's connect to this user:
Code:
su arma3server
Now we are going to create a special folder dedicated to SteamCMD, which is a tool provided by VALVE to install game servers, like us here ArmA 3 Server.

Create a folder with the following command:
Code:
mkdir steamcmd

Then, let's move in this folder:
Code:
cd steamcmd

Now, we will install SteamCMD dependencies with the command:
Code:
apt-get install lib32gcc1

To continue, we will install steamcmd in this folder, thanks to the command:
Code:
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
Unpack this archive with:
Code:
tar -xvzf steamcmd_linux.tar.gz

Then we will create a folder for ArmA 3 Server, like this.
Code:
cd -
Code:
mkdir server

Then let's go back to SteamCMD
Code:
cd steamcmd
Let's now run steamcmd:
Code:
./steamcmd.sh
SteamCMD Will Install VALVE Contents to Run SteamCMD
You must now insert your STEAM information, with the command:
Code:
login STEAMUSER STEAMPASS
/! \ Replace STEAMUSER with your Steam account name and STEAMPASS with the password of this Steam account

Once finished, we will define the path to install the ArmA 3 server, depending on the folder created above.
Just run this command:
Code:
force_install_dir / home / arma3server / server

And now, let's go, let's install our server:
Code:
app_update 107410 validate
And there, your ArmA 3 server is installed!
Once your server is installed, you can leave steamCMD with the command:
Code:
exit

Your server is now installed!
Below are the useful commands to start and stop your server!

Start:
Code:
cd / arma3server / server
Code:
./arma3server start

Stop:
Code:
cd / arma3server / server
Code:
./arma3server stop

This tutorial is now complete, if you have comments to make up, improvements or other, I invite you to make me go back.

Regards,
Forum Administrator Loic Shmit
 
Dernière édition par un modérateur: