Difference between revisions of "Installing ASSS on Linux"

From ASSS Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 
If installed, you should find the locations of your Python, MySQL, and other dependencies before you begin.
 
If installed, you should find the locations of your Python, MySQL, and other dependencies before you begin.
----
+
<br>
 
First, you need to clone the files from the ASSS repository.
 
First, you need to clone the files from the ASSS repository.
 
*hg clone https://bitbucket.org/grelminar/asss ../asss
 
*hg clone https://bitbucket.org/grelminar/asss ../asss
----
+
<br>
 
Then, after the files have transferred, you will need to build the program files from source code.
 
Then, after the files have transferred, you will need to build the program files from source code.
 
*cd src
 
*cd src
 
*mv system.mk.dist system.mk
 
*mv system.mk.dist system.mk
----
+
<br>
 
If you have Python or MySQL installed, you must point the compiler at them.
 
If you have Python or MySQL installed, you must point the compiler at them.
 
*vim system.mk
 
*vim system.mk
Line 13: Line 13:
 
*MYSQL_HOME = /opt/mysql
 
*MYSQL_HOME = /opt/mysql
 
*PYTHON_HOME = /usr
 
*PYTHON_HOME = /usr
----
+
<br>
 
If you do NOT have Python or MySQL installed, you must comment out the following lines, by adding a # in front of them:
 
If you do NOT have Python or MySQL installed, you must comment out the following lines, by adding a # in front of them:
 
*have_bdb := yes
 
*have_bdb := yes
 
*have_mysql := yes
 
*have_mysql := yes
 
*have_python := yes
 
*have_python := yes
----
+
<br>
 
Then build the files.
 
Then build the files.
 
*make
 
*make
 
You will then get to watch a nice wall of spam.
 
You will then get to watch a nice wall of spam.
----
+
<br>
 
Because the developers wanted to be able to update everything on a server already running ASSS, you must now copy all the files into their proper locations.
 
Because the developers wanted to be able to update everything on a server already running ASSS, you must now copy all the files into their proper locations.
 
*cd dist
 
*cd dist
Line 32: Line 32:
 
*mv scrty ../scrty
 
*mv scrty ../scrty
 
*mv scrty1 ../scrty1
 
*mv scrty1 ../scrty1
*cd ..
+
<br>
----
 
 
Since the security module does not exist yet, you will have to go into modules.conf
 
Since the security module does not exist yet, you will have to go into modules.conf
 
*comment out security:security
 
*comment out security:security
 
*comment out security:enc_cont
 
*comment out security:enc_cont
 
*uncomment enc_null
 
*uncomment enc_null
----
+
<br>
 
Since the scoring module apparently does not exist yet, you will have to copy scoring.so from a preexisting server into your bin directory.
 
Since the scoring module apparently does not exist yet, you will have to copy scoring.so from a preexisting server into your bin directory.
 
*new server owners are screwed
 
*new server owners are screwed
 
*uncomment out all scoring:*
 
*uncomment out all scoring:*
 
*hope you don't like points
 
*hope you don't like points
----
+
<br>
 
For ease of access, you may want to move the run-asss script to the root directory.
 
For ease of access, you may want to move the run-asss script to the root directory.
 
*cd scripts
 
*cd scripts
Line 49: Line 48:
 
*vim run-asss
 
*vim run-asss
 
*mv run-asss ../run [optional]
 
*mv run-asss ../run [optional]
----
+
<br>
 
After you have completed the installation, you must now configure your server.
 
After you have completed the installation, you must now configure your server.
----
+
<br>
 
[[Server Setup]]
 
[[Server Setup]]
  
 
[[Category:ASSS]]
 
[[Category:ASSS]]
 
[[Category:Guides]]
 
[[Category:Guides]]

Revision as of 11:15, 29 May 2011

If installed, you should find the locations of your Python, MySQL, and other dependencies before you begin.
First, you need to clone the files from the ASSS repository.


Then, after the files have transferred, you will need to build the program files from source code.

  • cd src
  • mv system.mk.dist system.mk


If you have Python or MySQL installed, you must point the compiler at them.

  • vim system.mk

Find the following lines and change them to their respective locations

  • MYSQL_HOME = /opt/mysql
  • PYTHON_HOME = /usr


If you do NOT have Python or MySQL installed, you must comment out the following lines, by adding a # in front of them:

  • have_bdb := yes
  • have_mysql := yes
  • have_python := yes


Then build the files.

  • make

You will then get to watch a nice wall of spam.
Because the developers wanted to be able to update everything on a server already running ASSS, you must now copy all the files into their proper locations.

  • cd dist
  • mv arenas ../arenas
  • mv clients ../clients
  • mv conf ../conf
  • mv maps ../maps
  • mv news.txt ../news.txt
  • mv scrty ../scrty
  • mv scrty1 ../scrty1


Since the security module does not exist yet, you will have to go into modules.conf

  • comment out security:security
  • comment out security:enc_cont
  • uncomment enc_null


Since the scoring module apparently does not exist yet, you will have to copy scoring.so from a preexisting server into your bin directory.

  • new server owners are screwed
  • uncomment out all scoring:*
  • hope you don't like points


For ease of access, you may want to move the run-asss script to the root directory.

  • cd scripts

Update ASSSHOME with the path to your ASSS root directory.

  • vim run-asss
  • mv run-asss ../run [optional]


After you have completed the installation, you must now configure your server.
Server Setup