Sign in to follow this  
xmesaj2

[Guide]Server setup on CentOS 6

Recommended Posts

Intro:

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  

Dependencies:

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.mtasa.com/dl/134/multitheftauto_linux-1.3.4.tar.gz]http://linux.mtasa.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.mtasa.com/dl/134/baseconfig-1.3.4.tar.gz]http://linux.mtasa.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 

Test

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

cd multitheftauto_linux* 

and launching:

./mta-server 

or to launch server in background:

./mta-server -d 

Resources

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 http://mirror.mtasa.com/mtasa/resources/):

wget [url=http://mirror.mtasa.com/mtasa/resources/mtasa-resources-r988.zip]http://mirror.mtasa.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.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.