Forum

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

Author Topic: Linux Server Installation  (Read 9586 times)

0 Members and 1 Guest are viewing this topic.

Offline Norby.hu

Linux Server Installation
« on: Wednesday, January 18, 2012, 04:00:42 AM »
I have a program I'm using WinSCP to access the server.

25assist downloaded the linux version of the program. I uploaded it to the root directory.

1. step: Open terminal
2. step: Enter Comand: I typed it here, "./25Assist"
3. step: Execute or enter

Then I get this error:

Command './25assist'
failed with reutrn code 126 and error message
-bash: line 11: ./25assist: Permission denied

Question: Something is not well done?

Something is not well done?

Jonnym

  • Guest
Re: Linux Server Installation
« Reply #1 on: Wednesday, January 18, 2012, 05:18:15 AM »
The current versions of assist is a GUI application for gnome desktop.
It will not run on a command line.
A command line dedicated server will be released soon.

Offline Norby.hu

Re: Linux Server Installation
« Reply #2 on: Thursday, January 19, 2012, 02:31:40 AM »
Someone could show that the linux server which folders.

Offline Norby.hu

Re: Linux Server Installation
« Reply #3 on: Friday, January 20, 2012, 14:07:49 PM »
Could anyone send me in a Linux Server?

Jonnym

  • Guest
Re: Linux Server Installation
« Reply #4 on: Friday, January 20, 2012, 14:39:40 PM »
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.tar.gz
   tar -xvf ldedisrv.tar.gz
   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 argument  -Port=1716  overrides setting in aa25.ini)

Offline Pirigoso

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Linux Server Installation
« Reply #5 on: Monday, March 19, 2012, 19:01:37 PM »
apt-get install ia32-libs-gtk

Offline Pirigoso

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Linux Server Installation
« Reply #6 on: Tuesday, March 20, 2012, 00:04:29 AM »
old script screen

runserver.sh
Code: [Select]

#!/bin/bash
   RED="\033[0;31m"
   GRAY="\033[1;30m"
   LIGHT_GRAY="\033[0;37m"
   CYAN="\033[0;36m"
   LIGHT_CYAN="\033[1;36m"
   RED="\033[0;31m"
   BLUE="\033[0;34m"
   GREEN="\033[0;32m"
   NO_COLOUR="\033[0m"

# --- Edit ---
screen=`which screen`
ServerName="ArmyOps Server 2.8"
export gamedir="/home/vipnetgames/aao285"
PATH="${PATH}:/home/vipnetgames/aao285/System"
export PATH=$PATH
ScreenName="AAO"
mapgame="Tunnel.aao"
LOG_NAME=`date '+%m%d%Y_Hr%H_Mn%M'`
ScreenExec="${gamedir}/System/server-bin global $mapgame -nohomedir -ini=server.ini -log=../Logs/$LOG_NAME"
# --- Ende ---
echo "$LOG_NAME" >> $gamedir/System/aateste.txt
echo "$PATH" >> $gamedir/System/aateste.txt
echo "$ScreenExec" >> $gamedir/System/aateste.txt
echo "$screen" >> $gamedir/System/aateste.txt

ServerPid=`$screen -list | grep $ScreenName | cut -d"." -f1`

case $1 in
        start)
           echo "starte $ServerName Server ..."
           echo "updating PB + AASA Files"
           cd /
           cd ${gamedir}/System
           echo "finished now starting Server"
           #cd System
           $screen -d -m -S ${ScreenName} ${ScreenExec}
           #cd -
        ;;
        stop)
           echo "stoppe $ServerName Server ..."
           kill $ServerPid
        ;;
        restart)
           echo "stoppe $ServerName Server ..."
           kill $ServerPid
           sleep 2
           echo "starte $ServerName Server ..."
           echo "updating PB + AASA Files"
           #./System/update.sh
           echo "finished now starting Server"
           cd System
           $screen -d -m -S ${ScreenName} ${ScreenExec}
           #cd -
        ;;
       status)
          printf "$CYAN Americas Army Server$NO_COLOUR\t\t\t["
          aao="` ps ax  | grep SCREEN | grep $ScreenName | tr "\n" "<"| cut -d "<" -f 1 | cut -d ":" -f2| cut -d " " -f2`"
          if [ -z $aao ]; then
                printf "$RED FALSE"
                printf " $NO_COLOUR]\n"
                cd /
                   cd ${gamedir}/System
                $screen -d -m -S ${ScreenName} ${ScreenExec}
          else
                printf "$GREEN OK"
        printf " $NO_COLOUR]\n"
        fi
       ;;
        *)

           echo "Usage: $0 {start|stop|restart|status}"
           exit 2
        ;;
esac

Offline tcsgenphoenix

Re: Linux Server Installation
« Reply #7 on: Sunday, January 20, 2013, 11:03:41 AM »
The trick is, regardless of GNOME or KDE desktop environments, all you have to do is:

Code: [Select]
chmod 777 25Assist
chmod +x 25Assist

Now the file can be executed using ./25Assist

The "+x" states that it has an executable code to run before anything else.

Offline contortionist

Re: Linux Server Installation
« Reply #8 on: Saturday, February 02, 2013, 14:14:24 PM »
The trick is, regardless of GNOME or KDE desktop environments, all you have to do is:

Code: [Select]
chmod 777 25Assist
chmod +x 25Assist

Now the file can be executed using ./25Assist

The "+x" states that it has an executable code to run before anything else.

The chmod in the first line already makes the file executable, so second line is redundant in that case. Anyway: I would absolutely not make an executable file world writeable.

Better just use:
Code: [Select]
chmod +x 25Assist

Offline Norby.hu

Re: Linux Server Installation
« Reply #9 on: Friday, May 10, 2013, 19:10:16 PM »
Server startup: Server admin interface elindil. But the Assist System can not see server list.

screenlog.0
Code: [Select]
GLOBAL SFhospital -nohomedir ini
CONNECTING
OK
LATEST v7.22
I AM v7.22
CHECKING AA Server Installation
Valid AA 2.5 Server Found
Checking AA2.5Assist Server Files
AA25 Files OK
libstdc++.so.5 OK
PB Client VERIFIED c2243 a1371
PunkBuster Server OK
Checking BD map pack
BD map pack OK
Checking mAAp map pack
mAAp map pack OK
Checking for updated Antipoke.u
6DE9EF9706C08905B91B8DCD186734DB90408876
AntiPoke.u is up to date.
Checking for updated aa-pbsv.cfg
B22414E6C9B2F7C10CE640EC151282606B8E5289
aa-pbsv.cfg is up to date.
STARTING NETWORK PORT TEST
Game Port OK
Query Port OK
====== ASSIST SERVER MANAGER - Port Test Successful ======
====== AUTO STARTING SERVER ======
====== ASSIST SERVER MANAGER - Starting Server ======
====== ASSIST SERVER MANAGER - Loading AA Server ======
bash: /big/users/jacksonklan1505/server/System/serverx: Permission denied

What could be the problem?

Offline Vanoke

  • Epic Poster
  • ******
  • Posts: 1,760
  • Real war is to a GAME!!
    • View Profile
  • AA: =PUF=Vanoke
Re: Linux Server Installation
« Reply #10 on: Friday, May 10, 2013, 20:13:55 PM »
Hi Norby look first to http://aao25.com/2-5-assist/assist-moving-to-2-8-5/   
Befor you startup linux server . don t know which way assist is gowing whit that 2.8.5
greating m8

I have a program I'm using WinSCP to access the server.

25assist downloaded the linux version of the program. I uploaded it to the root directory.

1. step: Open terminal
2. step: Enter Comand: I typed it here, "./25Assist"
3. step: Execute or enter

Then I get this error:

Command './25assist'
failed with reutrn code 126 and error message
-bash: line 11: ./25assist: Permission denied

Question: Something is not well done?

Something is not well done?

Offline langy

Re: Linux Server Installation
« Reply #11 on: Friday, May 10, 2013, 21:42:24 PM »
Visit www.auaaao25.com and post in Server section on forum. Player OICURMT is a linux genius and is currently writing a script for all linux servers which you may find very helpful.

AUSAAO25  Co-Founder

Offline kMx

Re: Linux Server Installation
« Reply #12 on: Saturday, May 11, 2013, 08:02:04 AM »
Server startup: Server admin interface elindil. But the Assist System can not see server list.

screenlog.0
Code: [Select]
GLOBAL SFhospital -nohomedir ini
CONNECTING
OK
LATEST v7.22
I AM v7.22
CHECKING AA Server Installation
Valid AA 2.5 Server Found
Checking AA2.5Assist Server Files
AA25 Files OK
libstdc++.so.5 OK
PB Client VERIFIED c2243 a1371
PunkBuster Server OK
Checking BD map pack
BD map pack OK
Checking mAAp map pack
mAAp map pack OK
Checking for updated Antipoke.u
6DE9EF9706C08905B91B8DCD186734DB90408876
AntiPoke.u is up to date.
Checking for updated aa-pbsv.cfg
B22414E6C9B2F7C10CE640EC151282606B8E5289
aa-pbsv.cfg is up to date.
STARTING NETWORK PORT TEST
Game Port OK
Query Port OK
====== ASSIST SERVER MANAGER - Port Test Successful ======
====== AUTO STARTING SERVER ======
====== ASSIST SERVER MANAGER - Starting Server ======
====== ASSIST SERVER MANAGER - Loading AA Server ======
bash: /big/users/jacksonklan1505/server/System/serverx: Permission denied

What could be the problem?

have you set permissions for serverx ?
 chmod +x serverx

 

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