Jump to content


[TUT] Multi Theft Auto San Andreas (online GTA:SA) Fresh install for Debian/Linux

  • Please log in to reply
3 replies to this topic

#1 Khevin


    Advanced Member

  • Administrators
  • 235 posts
  • LocationMauritius

Posted 05 August 2014 - 05:19 PM

Original Thread By firedog336


Hi guys,

This is my first guide for Host1free and basicly I am going to explain you how to install the Multi Theft Auto San Andreas mod for your Linux/Debian server.

It doesn't take that much of your RAM if you have a little amount of players. I recommend 32 players max.

This install can be handled via the SSH client PuTTY. You have to fill in some command lines and the program will do the rest!

Here we go.

Download PuTTY first. Google it, I'm not allowed to post too much URLs...

Start PuTTY and connect with your server. Use root as user!

Type: wget

(if it doesn't work, go to that link on your desktop to gain the right one. It might not work, I am not sure. Mediafire issues. smile.png)

When that's done type: chmod +x Mta-server.sh

(It doesn't say anything, but it worked)

Then type: ./Mta-server.sh

If you see a menu with package configuration on top you select OK.

That was it, the server is running! If you want to start the server again when it stopped, just type ./Mta-server.sh

Maybe my tutorial wasn't that clear. It can happen. This was my first tutorial ever made. I hope anyone can use this because MTA is pretty fun to play.

If you've got any issues, reply to this thread and I'll try to solve the problem.

Undefined/Khevin | Haphost Support Administrator

Grab Your Free VPS And Web Hosting Here!

Follow Us On Facebook Twitter Google+ LinkedIn Youtube

#2 JasperNL



  • Members
  • Pip
  • 8 posts

Posted 05 August 2014 - 06:22 PM

Since the link above is dead I'll write a general tutorial here to start a MTA server.


Precompiled MTA linux packages can be downloaded from this site: http://linux.mtasa.com/


A simple way to host MTA is this with screen. You need to install this package

apt-get install screen

Create a user 'mta', and add a home directory

useradd -m -s /bin/bash -d /home/mta mta

Enter the user with this: (the - will make sure you start in the home directory of the user)

su - mta

Now you can download the tar archive: (This is an example, please take the most up-to-date package from linux.mtasa.com !)

Standard: wget *URL*

wget http://linux.mtasa.com/dl/140/multitheftauto_linux-1.4.0.tar.gz


tar -zxvf multitheftauto_linux-1.4.0.tar.gz

Rename the folder

mv mutlitheftauto_linux-1.4.0 mtaserver

Go to the folder:

cd mtaserver

You can fill it with the existing server files, or add the baseconfig you can get from linux.mtasa.com.



Now create a startshell using screen:

screen -S MTASERVER -d -m /home/mta/mtaserver/mta-server

Instead of writing that every time, you can do this too:

echo 'screen -S MTASERVER -d -m /home/mta/mtaserver/mta-server' >> startserver.sh
chmod +x startserver.sh

Now you can do ./startserver.sh in order to start the server.


Now this screen will be running even when you close the connection.





When you want to open the server window, you can do this:


Log in again as root and enter the mta account

su - mta

The following command will give a list of running screens

screen -ls

To open the screen:

screen -r [screenname]
screen -r MTASERVER

To close the screen: alt + D

#3 Ber001



  • Members
  • PipPip
  • 10 posts

Posted 06 August 2014 - 02:46 AM

Nice tutorial brow

#4 liwa



  • Members
  • Pip
  • 1 posts
  • Locationlohdh

Posted 24 January 2015 - 10:23 PM

Ma sa

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users