Forum

ASSIST, AMERICA'S ARMY COMMUNITY - RELIVE THE GLORY DAYS OF AMERICA'S ARMY 2.5

Author Topic: Running server on linux (command line only)  (Read 4461 times)

0 Members and 1 Guest are viewing this topic.

Offline nooz

Running server on linux (command line only)
« on: Sunday, April 05, 2015, 10:01:22 AM »
Hey all,

I am trying to set up a server at a linux box (debian distro). I have only command line at my use so no graphical interface. I probably should have read bit more about the forums etc to find solution to my problem but thought to take a shortcut and post help request here  :shock:

I have downloaded the package for linux to my box and extracted it. Now I'm wondering what to do next. I assume server.ini is the file I need to edit? Can I start the server from command line or does it require an GFX interface to handle all the stuff? Any input would be much appreciated... Links to help threads etc.. just seems like I'm too lazy to search or I am not just finding the right topics.

Many thanks,


Offline Possessed

  • bWpnRecoil == False;
  • Administrator
  • Epic Poster
  • *
  • Posts: 3,620
  • You suffer, but why?!
    • View Profile
  • AA: Possessed
Re: Running server on linux (command line only)
« Reply #1 on: Sunday, April 05, 2015, 10:26:44 AM »
"AA25.ini" is what you need to edit.

Read-me of the dedicated server files(commandline):
Code: [Select]
AA25.ORG AMERICAS ARMY 2.5ASSIST DEDICATED SERVER README
LINUX SERVER INSTRUCTIONS

First you must have an existing americas army 2.5 installation,
If you do not follow these instuctions to download and install it...
------------
Login to your server on the console or remotely using SSH:
Move into your home folder:
cd ~

Download the installation package:
wget http://ftp.free.fr/mirrors/AmericasArmy/Linux_v2.5.0/armyops250-linux.run

Set executable and execute:
chmod +x armyops250-linux.run
./armyops250-linux.run

When asked for an installation path enter: ~/armyops
Say no to symbolic links
Select Base Install
Say no to startup menu entrys

After some time the installation will complete.
You may now delete the installation package:
rm armyops250-linux.run
------------


2.5ASSIST DEDEICATE SERVER INSTALLATION:
Move into your americas army 'System' folder
On our fresh install you would use:
cd ~/armyops/System

On an existing 25Assist(GUI) Installation use:
cd ~/25Assist/armyops/System

IMPORTANT, Rename server-bin to serverx
mv server-bin serverx
chmod +x serverx

Download and extract 2.5assist:
wget http://downloads.sourceforge.net/project/aa25assist/Binaries/ldedisrv.zip
unzip ldedisrv.zip
chmod +x server-bin

Now edit the aa25.ini file with your required settings:
nano aa25.ini

Start the Server:
./server-bin GLOBAL map-filename

(replace map-filename with your choosen map, bridge, insurgent_camp, radio_tower, etc.)
(Optional command-line arguments  -Port=1716  -Multihome=0.0.0.0  override settings in aa25.ini)


Additional pb commands can be added by creating ServerMessage.cfg in the "pb" folder and adding them there.

You might have to install this to get it to work:
apt-get install lib32stdc++6
Extra stuff that mighty be helpful: http://aao25.com/wiki/index.php?title=Create_A_Server
« Last Edit: Sunday, April 05, 2015, 10:31:18 AM by Possessed »
These things I have spoken unto you, that in me ye might have peace. In the world ye shall have tribulation: but be of good cheer; I have overcome the world.
John 16:33


Offline nooz

Re: Running server on linux (command line only)
« Reply #2 on: Sunday, April 05, 2015, 10:51:17 AM »
Thanks for your reply Possessed, I'll look in to it but seems like it was just what I was looking for  ;)

Offline nooz

Re: Running server on linux (command line only)
« Reply #3 on: Tuesday, April 07, 2015, 09:42:24 AM »
Ok. got my server running, thx Possessed.

I have passworded it for LAN use atm only. Seems like AA Assist wont let me join it (ERROR: No record of this gameserver on the Assist Master Server......) though I have registered the server at battletracker. It shows there allright and on the server browser.. but is there somesort of restriction about running private servers with AA Assist or am I doing something wrong?


Server page here: http://battletracker.com/aaoserver/84.250.161.154:1716/



I wish Battletracker would accept host names btw, as my IP is dynamic and I use dyndns.

Offline Nick

  • Administrator
  • Loyal Member
  • *
  • Posts: 556
    • View Profile
Re: Running server on linux (command line only)
« Reply #4 on: Tuesday, April 07, 2015, 10:16:05 AM »
Try disabling the firewall temporarily to rule out any issues with the firewall causing authentication problems.

 

Download Assist

×

Download Game Client

Important: Battletracker no longer exists. However, old Battletracker accounts may still work. You can create a new 25Assist account here

Download Server Manager