Jump to content
jakeplissken

Running an Arma 3 server on Linux. This is how to do it.

Recommended Posts

To run an Arma 3 server on Linux, you need to know a little bit of bash, but only a little bit. The files are case sensitive, so if you have a folder named @MYMOD, then it will need to be specified the same way in your server command line. Below is an example.

 

nohup ./arma3server -name=Gunslinger -mod="@cba;@achilles;@rhsafrf;@rhsgref;@rhsusaf;@CUP Terrains - Core;@CUP Terrains - Maps;@CUP Terrains - CWA;@Reshmaan Province" -config=server.cfg &

The example above will start an Arma 3 dedicated server, then return to the command prompt, with it running in the background. Press ENTER twice after executing this command to return to the prompt.

 

Type the tail nohup.out command to see the progress of the server startup.

 

Once it is running, use the ps aux command to find the PID of the Arma 3 server and use the kill PID command to kill the server if required. I am using the default folder names for CUP terrains, but since the mods line is enclosed with double quotes like the below example, it does not matter.

 

-mod="@cba;@achilles;@rhsafrf;@rhsgref;@rhsusaf;@CUP Terrains - Core;@CUP Terrains - Maps;@CUP Terrains - CWA;@Reshmaan Province"

This is how you can run a dedicated server on Linux with mods easily. A server admin could rename the mod folders to easier names, and this does work, but the trick with double quotes is easier to manage.

Share this post


Link to post
Share on other sites

I having some problems into running a modded server(Vanilla missions without -mod and vanilla client works fine).

List of Mods:

Spoiler

llPath
12:22:33 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12:22:33                                         2078457684 |           2078457684 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          878119643 |            878119643 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                         1883956552 |           1883956552 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          583496184 |            583496184 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          894678801 |            894678801 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          723217262 |            723217262 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          708250744 |            708250744 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          621650475 |            621650475 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          549676314 |            549676314 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          541888371 |            541888371 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          497661914 |            497661914 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          497660133 |            497660133 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          463939057 |            463939057 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          450814997 |            450814997 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                          421908020 |            421908020 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                         2018593688 |           2018593688 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                                         1779063631 |           1779063631 |      false |      false |             GAME DIR |                                          |           | 
12:22:33                          Arma 3 Contact (Platform) |                enoch |       true |       true |             GAME DIR | 1ba0bd900ebe2592bc131b6076b3188912ef400a |  cc42b20a | /home/brafdev/Steam/steamapps/common/Arma 3 Server/enoch
12:22:33                                       Arma 3 Tanks |                 tank |       true |       true |             GAME DIR | 1741984a682960e6d5cea03802d56fcb8733f1ee |  e3600f2e | /home/brafdev/Steam/steamapps/common/Arma 3 Server/tank
12:22:33                                     Arma 3 Tac-Ops |               tacops |       true |       true |             GAME DIR | 97b1dbbcf02653320d4a971972e3fa7b86de0bb6 |  3f7c910a | /home/brafdev/Steam/steamapps/common/Arma 3 Server/tacops
12:22:33                                 Arma 3 Laws of War |               orange |       true |       true |             GAME DIR | 9ffa496322c2448b3406a8da16acf6acdf767b4e |  9ddb9ce4 | /home/brafdev/Steam/steamapps/common/Arma 3 Server/orange
12:22:33                                      Arma 3 Malden |                 argo |       true |       true |             GAME DIR | 7e514225d7ca25f6ac7fd327d29bfbef7895faf1 |  3e898373 | /home/brafdev/Steam/steamapps/common/Arma 3 Server/argo
12:22:33                                        Arma 3 Jets |                 jets |       true |       true |             GAME DIR | ca8d2b15096709f721442f1bd8daaf340efe3c7a |  4dedcd93 | /home/brafdev/Steam/steamapps/common/Arma 3 Server/jets
12:22:33                                        Arma 3 Apex |            expansion |       true |       true |             GAME DIR | ba42c2077a3ccc61ad9da08b0520dcdd3bf836e1 |  a9ced3d9 | /home/brafdev/Steam/steamapps/common/Arma 3 Server/expansion
12:22:33                                    Arma 3 Marksmen |                 mark |       true |       true |             GAME DIR | f4f2299213d3fbac83f93a40f3a9189981d3b4d4 |  bdd1f9cf | /home/brafdev/Steam/steamapps/common/Arma 3 Server/mark
12:22:33                                 Arma 3 Helicopters |                 heli |       true |       true |             GAME DIR | a864c4890a0a81805ec227cad1f26be1773aa0a8 |  da5627a1 | /home/brafdev/Steam/steamapps/common/Arma 3 Server/heli
12:22:33                                       Arma 3 Karts |                 kart |       true |       true |             GAME DIR | dda4727989bdfbf55ca28fe990bcf47d86ace303 |   3e52333 | /home/brafdev/Steam/steamapps/common/Arma 3 Server/kart
12:22:33                                        Arma 3 Zeus |              curator |       true |       true |             GAME DIR | d6bd1f0f8278a7e1c60de7d92c098cf210834cf3 |  2c4264c1 | /home/brafdev/Steam/steamapps/common/Arma 3 Server/curator
12:22:33                                             Arma 3 |                   A3 |       true |       true |            NOT FOUND |                                          |           | 
12:22:33 ==========================================================================================================================================================================================================
12:22:33 InitSound ...

 

running:

Spoiler

./arma3server "-config=server.cfg" "-mod=/home/brafdev/Steam/steamapps/workshop/content/107410/1779063631;/home/brafdev/Steam/steamapps/workshop/content/107410/2018593688;/home/brafdev/Steam/steamapps/workshop/content/107410/421908020;/home/brafdev/Steam/steamapps/workshop/content/107410/450814997;/home/brafdev/Steam/steamapps/workshop/content/107410/463939057;/home/brafdev/Steam/steamapps/workshop/content/107410/497660133;/home/brafdev/Steam/steamapps/workshop/content/107410/497661914;/home/brafdev/Steam/steamapps/workshop/content/107410/541888371;/home/brafdev/Steam/steamapps/workshop/content/107410/549676314;/home/brafdev/Steam/steamapps/workshop/content/107410/621650475;/home/brafdev/Steam/steamapps/workshop/content/107410/708250744;/home/brafdev/Steam/steamapps/workshop/content/107410/723217262;/home/brafdev/Steam/steamapps/workshop/content/107410/894678801;/home/brafdev/Steam/steamapps/workshop/content/107410/583496184;/home/brafdev/Steam/steamapps/workshop/content/107410/1883956552;/home/brafdev/Steam/steamapps/workshop/content/107410/878119643;/home/brafdev/Steam/steamapps/workshop/content/107410/2078457684"

 

Share this post


Link to post
Share on other sites

Apologies for the necro, but "screen" may be a preferred choice over "nohup" because you retain the ability to attach and detach from the console.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×