• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Friday, May 9, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System Debian

Setup a Multi Theft Auto Server on Debian

How VPS by How VPS
November 1, 2019
in Debian
0
0
SHARES
28
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Credit goes to jhxp on the Multi Theft Auto forums for the majority of the steps in this tutorial. I have just added the links for 1.4.0 and changed a few things to make it shorter.
  2. Installing packages
  3. Installing Multi Theft Auto
  4. Configuring the Server
  5. Running the Server
  6. Extras
  7. Want to contribute?


This is a tutorial explains how to install a Multi Theft Auto server on Debian. It was last updated for Debian 7 and MTA 1.5.4.

Any VPS from Vultr is great for an MTA server, whether it’s just a private server for friends or development, to a server that will host lots of people 24/7.

For a development server or a server for your friends, I would recommend the lowest-end VPS (768 MB ram). The more people you are hosting, the bigger the server you would get (obviously).

Lets get started!

Credit goes to jhxp on the Multi Theft Auto forums for the majority of the steps in this tutorial. I have just added the links for 1.4.0 and changed a few things to make it shorter.

Installing packages

These packages must be installed before the MTA server.

For 32-bit Debian:

apt-get update; 
apt-get upgrade; 
apt-get -y install zip unzip libreadline5 screen

For 64-bit Debian:

apt-get update; 
apt-get upgrade; 
dpkg --add-architecture i386; #add the i386 architecture so the ia32-libs package can be installed
apt-get update; #update the list of packages so the ia32-libs package is included in the list
apt-get -y install zip unzip ia32-libs lib32ncursesw5 lib32readline5 screen

Summary:

  • We have installed the appropriate packages needed.
  • We have added support for the i386 architecture on 64-bit systems.

Installing Multi Theft Auto

Do the steps listed below, one at a time:

cd ~; 
mkdir mtasa; 
cd mtasa; 

wget -O mtasa-linux-server.tar.gz http://linux.mtasa.com/dl/154/multitheftauto_linux_x64-1.5.4.tar.gz;
wget -O baseconfig.tar.gz http://linux.mtasa.com/dl/154/baseconfig-1.5.4.tar.gz;
wget -O mtasa-resources.zip https://mirror.mtasa.com/mtasa/resources/mtasa-resources-latest.zip;

tar -zxf mtasa-linux-server.tar.gz; 
mv multitheftauto_linux_x64-1.5.4 mtasa-server; 
unzip -q mtasa-resources.zip -d mtasa-server/mods/deathmatch/resources/;

tar -zxf baseconfig.tar.gz; #uncompress default server configuration files
mv baseconfig/* mtasa-server/mods/deathmatch; 
rmdir baseconfig; 
rm mtasa-linux-server.tar.gz baseconfig.tar.gz mtasa-resources.zip; 

Summary:

  • We have made a directory called mtasa.
  • Then, we have downloaded everything that we need.
  • Then, we have unzipped and uncompressed all of the downloaded files and put them where they needed to go.
  • And finally, we have deleted the old downloaded files since we don’t need them anymore.

Configuring the Server

Run the following commands:

cd ~; 
cd mtasa/mtasa-server/mods/deathmatch; 
nano mtaserver.conf;

Summary:

  • We have gone back to the main directory, then gone to the directory where the config file is located.
  • Then, we have opened up the config file in nano.

Now, we can configure our server. All that you really need to configure in this step is the server name, the amount of slots the server can have (default is 32), and what resources it will run upon start-up. To configure your server, make any changes to the mtaserver.conf file in nano that you deem necessary. Once you have finished, hold CTRL and press O, then type y to save.

Running the Server

Run the following commands:

cd ~; 
cd mtasa/mtasa-server/; 
./mta-server; 

Summary:

  • Basically, go to your main directory, then go to mtasa-server folder.
  • Then, do ./mta-server to start your server.

If everything is working, the MTA console should be displayed. The server will print a message stating that it is ready to accept connections.

There you go – you now have a fully working Multi Theft Auto 1.4.0 server that is ready for players!

Extras

At this point, the server is running. Once you exit the shell though, the server will stop. To keep it running when you have exited the shell, run the following commands:

cd ~; 
cd mtasa/mtasa-server/; 
screen -dmS mtasa ./mta-server; 

Summary:

  • We have gone to the mtasa-server folder.
  • This time, we have started the server with screen and called it mtasa (This can be whatever you want).

To view your server, run screen with the process ID of the server:

screen -r PROCESS_ID 

You can find the process ID of your server by running this command:

screen -ls

Your server will appear with the ID being the first number next to what you called the screen (Example: 1231.mtasa).

To exit the screen, hold down CTRL, then press A and D at the same time to exit. If you are using a shell program, such as PuTTY, then you can just close PuTTY.

To stop the server, go into the screen and type quit in the server console.

If the server has crashed, then get the screen ID and run: kill <id> or kill -9 <id>.

Enjoy your new MTA server!

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

How to Install Kolab Groupware on Debian 8

Next Post

How to Install Neos CMS on Debian 9

Next Post

How to Install Neos CMS on Debian 9

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet