Jump to content

[Guide]Server setup on CentOS 6


Recommended Posts


By writing this tutorial current version is CentOS is

CentOS release 6.5 (Final)

# - for root

$ - for normal user

none for "doesn't matter which one you're using" but I'd rather prefer to don't change between users.

You can check it with issuing for own system:

# cat /etc/redhat-release   

and update with

# yum check-update  

# yum distribution-synchronization  


Before we begin install dependencies:

# yum install compat-readline5 compat readline5.i686 glibc 

if you face problems with missing packages just use this:

# yum provides <libraryname (ex. libreadline.so.5)>  

and install packages that provide it with yum install , keep in mind there are different flavors for multiarch with .i686 .x86_64 suffix that also makes the difference.

Then follow wiki https://wiki.multitheftauto.com/wiki/Installing_and_Running_MTASA_Server_on_GNU_Linux but look below because additionaly I described how to install resources:

Main binary

Download the latest stable Linux binaries from here:

wget [url=http://linux.multitheftauto.com/dl/134/multitheftauto_linux-1.3.4.tar.gz]http://linux.multitheftauto.com/dl/134/multithef ... 3.4.tar.gz[/url] 

Unpack into a directory:

tar -xf multitheftauto_linux* 

Default config

Download the default config files:

wget [url=http://linux.multitheftauto.com/dl/134/baseconfig-1.3.4.tar.gz]http://linux.multitheftauto.com/dl/134/baseconfig-1.3.4.tar.gz[/url] 

Unpack and move into the deathmatch directory:

(Note: Only do this for new installations as it will overwrite any existing config files.)

tar -xf baseconfig* 

mv baseconfig*/* multitheftauto_linux*/mods/deathmatch 


You can now test if the server will start correctly, by entering the install directory:

cd multitheftauto_linux* 

and launching:


or to launch server in background:

./mta-server -d 


Go to deathmatch directory

cd mods/deathmatch 

Create new directory named "resources" and enter it

mkdir resources && cd resources 

Download resources (find latest version at https://mirror.multitheftauto.com/mtasa/resources/):

wget [url=https://mirror.multitheftauto.com/mtasa/resources/mtasa-resources-r988.zip]https://mirror.multitheftauto.com/mtasa/resources ... s-r988.zip[/url] 

Extract resources with:

unzip mtasa-resources-r988.zip 

then launch server again (guided as per Test section)

Additional information:

Any thoughts? Use official wiki it really describes every step to get set up :)

optionally you will also need to edit files from your multitheftauto_linux*/mods/deathmatch directory mtaserver.conf and acl.xml but it's up to you what you will use to do it. I used vim editor as it comes installed by default, but for complete beginners nano is easier. Install it with:

# yum install nano 

then edit files using it (CTRL+X keys to close file, at prompt use Y button and confirm with ENTER to save:

nano multitheftauto_linux*/mods/deathmatch/mtaserver.conf 

nano multitheftauto_linux*/mods/deathmatch/acl.xml 

Used wiki to write it and own knowledge. Copy only on my permission please with a proper credits.

Link to comment
  • 6 years later...

Great tutorial! Do you know if there's any command to show the mtaserver screen whenever i want? Everytime i login into my linux vps the mtaserver screen doesn't appear as it's working on the background so is there anyway of resuming it back up whenever i want to?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...