Post4VPS Forum | Free VPS Provider
[TUTORIAL] How to make MTA San Andreas Server Linux - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: VPS Discussion (https://post4vps.com/Forum-VPS-Discussion)
+--- Forum: Tutorials (https://post4vps.com/Forum-Tutorials)
+--- Thread: [TUTORIAL] How to make MTA San Andreas Server Linux (/Thread-TUTORIAL-How-to-make-MTA-San-Andreas-Server-Linux)



[TUTORIAL] How to make MTA San Andreas Server Linux - Lampard - 05-25-2016

I will tell you here how to make a MTA San Andreas Server. Please login with putty or any other program.

I will use BitWise SSH Client, which is easy to use.

You should have ubuntu 32 bit. It works fine. Versions that are tested: Ubuntu 12.04 and 14.04

When you have logged in, please write this.
Code:
apt-get update

 Press enter and wait for it to be done, if it asks that it will take your space then you have to write Y and press enter.
_______________________________________________________________________________________________

 Press enter and wait for it to be done, if it asks that it will take your space then you have to write Y and press enter.
Code:
apt-get upgrade

_______________________________________________________________________________________________



 
Write this whole and press enter, please wait for it to be done.

Code:
apt-get install build-essential automake libtool libcurl4-openssl-dev libpcre3-dev


 _______________________________________________________________________________________________

Write this and press enter.

Code:
apt-get install libsqlite3-dev libreadline5-dev subversion libncurses5-dev

_______________________________________________________________________________________

Write this and press enter!
 
Code:
apt-get install libncursesw5-dev libsparsehash-dev libmysqlclient-dev

________________________________________________________________________________________________

Write this and press enter.
Code:
apt-get install zip unzip
______________________________________________________________________________________________

Write this so that you can download MTA San Andreas Server.

Code:
wget linux.mtasa.com/dl/15/multitheftauto_linux-1.5.0.tar.gz
________________________________________________________________________________________________
 

Write this so that you can unzip it.

Code:
tar xnvf multitheftauto_linux-1.5.0.tar.gz
______________________________________________________________________________________

Write this so that you can remove this file, as its already unzipped.

Code:
rm multitheftauto_linux-1.5.0.tar.gz
________________________________________________________________________________________________

Write this so that you can go in this folder.
 
Code:
cd multitheftauto_linux-1.5.0/mods/deathmatch
_____________________________________________________________________________________________

Write this so that you can download config files.
 

Code:
wget linux.mtasa.com/dl/15/baseconfig-1.5.0.tar.gz
_______________________________________________________________________________________________

Write this so that you can unzip it.
 
Code:
tar xnvf baseconfig-1.5.0.tar.gz
_______________________________________________________________________________________________

Write this.
 

Code:
mv -f baseconfig/* ./
________________________________________________________________________________________________

   
Code:
rm baseconfig-1.5.0.tar.gz

Write this so that you can remove it, as it is already unzipped.
________________________________________________________________________________________________

   
Code:
mkdir resources
________________________________________________________________________________________________
Write this to create resources folder.

 
   
Code:
cd resources

Write this so that you can enter the folder.
________________________________________________________________________________________________

  
Code:
wget mirror.mtasa.com/mtasa/resources/mtasa-resources-latest.zip

Write this so that you can download resources.
________________________________________________________________________________________________

   
Code:
unzip mtasa-resources-latest.zip

Write this so that you can unzip it.
________________________________________________________________________________________________
 
 
Code:
rm mtasa-resources-latest.zip

Write this so that you can remove it, as it is already unzipped.
________________________________________________________________________________________________

   
Code:
cd ../../..

Write this so that you can go to your MTA San Andreas Folder.
________________________________________________________________________________________________

   
Code:
./mta-server -d

Write this so that you can start your server.  If you close Putty or any other program you are using, your server will be running.
________________________________________________________________________________________________

To close server, you can write.
 
   
Code:
killall -9 mta-server

________________________________________________________________________________________________

Open your server by closing your putty or any other program and start it again. You should login and write this.
________________________________________________________________________________________________

Write this so that you can enter the folder of MTA San Andreas

Code:
cd multitheftauto_linux-1.5.0

________________________________________________________________________________________________

Code:
./mta-server -d

Write this so that server will start running.