Installing ASSS on Linux: Difference between revisions

From ASSS Wiki
Jump to navigationJump to search
Cheese (talk | contribs)
Created page with "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. *hg clon..."
 
Cheese (talk | contribs)
mNo edit summary
Line 24: Line 24:


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
*mv arenas ../arenas
*mv clients ../clients
*mv conf ../conf
*mv maps ../maps
*mv news.txt ../news.txt
*mv scrty ../scrty
*mv scrty1 ../scrty1
*cd ..


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.

Revision as of 08:16, 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 cnange 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. If you do not see "Error" or any problems with the build, continue reading this guide.

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
  • cd ..

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

  • cd scripts
  • mv run-asss run

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