HowTo Install Linux-Server

At first you have to set up the ArmA 2 Server like its described in the corresponding BIF thread.

Then you have to download CAA1 to your local PC. The way you get CAA1 doesn't matter.
You can use the complete download or one of the many addon sync applications.
After you have installed both Addons you will have those two additional folders in your ArmA 2 directory:

  • beta
  • x

From the x-Folder you upload the folder caa1 (directly inside x) and oac_core (located in x/oac/ ).
Your Server root-directory should look something like this:
(don't apply the permissions from the picture as they might be a bit too open ;))

Note that I use the following folder structure:

  • @caa1
    • addons
    • keys
  • @oac_core
    • addons
    • keys

After you have everything in the any working structure and your desired mission in mpmissions folder
on your server, go to your ArmA2 root directory and type the following command:

./tolower

It calls the tolower script, which ensures that all filenames are in lowercase (Unix-Compatible).

After that I recommend to make a second start-script for CAA11.
Copy the start-script and the server-config to make the needed changes with the following commands:

cp arma2server arma2server_caa1
cp server.cfg server_caa1.cfg

You can name the new files just as you like, I'll stick to those names.
Then we change the line which calls the server:

vim arma2server_caa1

You can use the text-editor of your choice of course.
In the file you will find the following line close to the end:

${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE}

Here we have to do some changes to make it look like this:

${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -cfg=${BASIC} -port=${PORT} -pid=${PIDFILE} -cpuCount=4 -mod=@oac_core -mod=@caa1

You can also define all modfolders in one go: -mod=@caa1;@oac_core
The cpuCount option is not required, but I want ArmA 2 only use 4 of the 8 available cores.
I use a variable for cfg alternatively you can fill in the right filename instead of ${BASIC}.

After saving the file you should be able to start the server with

./arma2server_caa1 start

If the server doesn't start up take a look into the server logfile (log.<portnumber>.txt).
You might find helpful error messages in there.

Also available in: HTML TXT