1. Create and navigate to the directory you want to install MTA to.
2. Get and decompress the 1.0.2 Linux server package:
wget http://linux.multitheftauto.com/dl/multitheftauto_linux-1.0.2.tar.gz
tar -xf multitheftauto_linux-1.0.2.tar.gz
3. Get and decompress the base config:
cd mods/deathmatch
wget http://linux.multitheftauto.com/dl/baseconfig.tar.gz
tar -xf baseconfig.tar.gz
cd ../..
4. Get the resources either with subversion, or by unzipping them:
Svn method:
svn export http://multitheftauto-resources.googlecode.com/svn/trunk/required mods/deathmatch/resources
svn export http://multitheftauto-resources.googlecode.com/svn/trunk/required mods/deathmatch/resources
svn export http://multitheftauto-resources.googlecode.com/svn/trunk/required mods/deathmatch/resources
Unzip method:
wget http://multitheftauto-resources.googlecode.com/files/multitheftauto_resources-r490.zip
unzip multitheftauto_resources-r490.zip -d mods/deathmatch/resources
If you don't have svn or unzip on your system, you'll have to install one of them. On Debian the commands are:
apt-get install subversion
apt-get install unzip
5. Due to the exciting nature of MTA development, you are now required to set the server IP in the mtaserver.conf.
If you do not know the server IP you can set it to 0.0.0.0
<serverip>0.0.0.0</serverip>
6. You can now run MTA by typing:
./mta-server
To start running in the background: (use kill to stop)
./mta-server -s &
Notes:
Any complaints about missing stuff can be resolved by installing the missing stuff. On Debian the commands are something like:
apt-get install curl
apt-get install libpcre3
apt-get install sqlite3