Loading...

How To Create MTA (Multi Theft Auto) SA Server in Linux Debian VPS

Multi Theft Auto is a multiplayer version of  GTA sanandreas. Read More about it. Today i'm going to show you how to create MTA SA server on Linux Debian VPS (You can create 32 slot server with 128MB ram)


first login to your VPS with SSH software like putty (you can get some info with this article Click Here * Don't install anything just login to root). i tested this server on Debian 6 server it worked fine. this is MTASA 1.3.4 version of game. follow these codes on it


Tutorial Updated 8th feb 2014 for MTASA 1.3.4

  • Login to your VPS with putty
  • Type this code and press enter  #!/bin/sh
  • Then you need to update your server Type apt-get update And enter
  • Then upgrade your services apt-get upgrade
  •  Also install these packages
apt-get install build-essential automake libtool libcurl4-openssl-dev libpcre3-dev
apt-get install libsqlite3-dev libreadline5-dev subversion libncurses5-dev
apt-get install libncursesw5-dev libsparsehash-dev libmysqlclient-dev
  • Then you need to download mta sa server files wget http://linux.mtasa.com/dl/134/multitheftauto_linux-1.3.4.tar.gz
  • to unzip it tar xnvf multitheftauto_linux-1.3.4.tar.gz
  • delete archive file rm multitheftauto_linux-1.3.4.tar.gz
  • go to deathmatch folder cd multitheftauto_linux-1.3.4/mods/deathmatch
  • Download config files wget http://linux.mtasa.com/dl/134/baseconfig-1.3.4.tar.gz
  • unzip it tar xnvf baseconfig-1.3.4.tar.gz
  • type this too mv -f baseconfig/* ./
  • remove archive rm baseconfig-1.3.4.tar.gz
  • create resources folder mkdir resources
  • go to resources folder cd resources
  • Download resources wget http://mirror.mtasa.com/mtasa/resources/mtasa-resources-r988.zip
  • unzip it unzip mtasa-resources-r988.zip
  • delete archive rm mtasa-resources-r988.zip
  • go to mta server folder  cd ../../..
  • chmod your server  chmod +x mta-server
  • Start server ./mta-server (to start it background type ./mta-server -d)

    Now server should work. open MTASA --->Browse servers  type your ip and click connect



  To change your server name Log in to your server with FTP then go to this path
multitheftauto_linux-1.3.4/mods/deathmatch and edit mtaserver.conf with any text editor This is server i created Extream MTA Players Server With new mods

server ip - mtasa://94.249.205.213:22003 

find
<servername>Default MTA Server</servername> tags and type your server name

and find <serverip>type your server ip here</serverip> and save

Comment here if any problem about this



Tutorials 6572705771260289084

Post a Comment

  1. I did all steps

    but DOES NOT WORK !

    and this code ( apt-get install build-essential automake libtool libcurl4-openssl-dev libpcre3-dev )

    it said no installed why?

    ReplyDelete
  2. thanks for helping

    ReplyDelete
  3. I have a question I can leave the server after open but close the putty as I can stop?

    ReplyDelete
    Replies
    1. start mta-server as a background. Then after closing putty the server will not stopped

      Delete
  4. How to start mta-server as a back ground?

    ReplyDelete
  5. how to close the server????
    and thanks

    ReplyDelete
    Replies
    1. Press Q.

      If it run background, find it's id and kill it

      kill pid

      Delete
  6. How do you stop & restart server? Dunno ;((

    ReplyDelete
  7. great . can you update this for 1.3.4 ?

    ReplyDelete
  8. I did all the steps but id doesn't work
    when I type ./mta-server
    that is happen :
    libreadline.so.5: cannot open shared object file: No such file or directoryERROR: Loading mod (/root/multitheftauto_linux-1.3.3/mods/deathmatch/deathmatch.so) failed!Press Q to shut down the server!

    ReplyDelete
    Replies
    1. If you get a problem with such as "libreadline.so.5: cannot open shared object file: No such file or directory.", it can be solved on 64 bit Debian Squeeze by doing this:

      apt-get install lib32readline5

      If you get a problem with such as "libncursesw.so.5 cannot open shared object file: No such file or directory", it can be solved on 64 bit Debian Squeeze by doing this:

      apt-get install lib32ncursesw5

      Delete
  9. I Followed your instructions step by step, but I have error
    when I type ./mta-server
    launch me this message:
    -bash: ./mta-server: no such file or directory

    I tried this 3 times plz help! D:

    ReplyDelete
    Replies
    1. install these plugins

      apt-get install build-essential automake libtool libcurl4-openssl-dev libpcre3-dev
      apt-get install libsqlite3-dev libreadline5-dev subversion libncurses5-dev
      apt-get install libncursesw5-dev libsparsehash-dev libmysqlclient-dev

      Delete
  10. a new version available for mtasa. i will update tutorial and fix all errors soon

    ReplyDelete
  11. Thanks for this tutorial ;)

    ReplyDelete
  12. Replies
    1. type Stop / Restart on the console

      or kill id with

      kill pid

      Delete
  13. # wget http://linux.mtasa.com/dl/134/multitheftauto_linux-1.3.4.tar.gz
    --2013-10-17 10:34:42-- http://linux.mtasa.com/dl/134/multitheftauto_linux-1.3.4.tar.gz
    Resolving linux.mtasa.com (linux.mtasa.com)... failed: Name or service not known.
    wget: unable to resolve host address `linux.mtasa.com'

    ReplyDelete
    Replies
    1. the file is available. i think it's your vps problem

      Delete
  14. [17:00:15] ERROR: Error parsing config file
    [17:00:15] Server stopped!
    Press Q to shut down the server!

    ReplyDelete
    Replies
    1. seems your config files not installed correctly

      try reinstalling

      Delete
  15. help i have server if i connect to server not download cilent data pls help

    ReplyDelete
    Replies
    1. server installing problem or file missing,

      reinstall the server

      Delete
  16. the server stay online 24 hours a day?

    ReplyDelete
  17. you could upgrade to version 1.3.4, please?

    I'm sorry for my bad english

    ReplyDelete
    Replies
    1. ok i will update this post . thanks for commenting :)

      Delete
  18. How i can stop server using command ?

    ReplyDelete
  19. Thank you verrrry much my dear friend , the server worked fine ! you are really a genius !

    ReplyDelete
  20. tutorial updated to 1.3.4 version :D

    ReplyDelete
  21. This comment has been removed by the author.

    ReplyDelete
  22. When I type apt-get upgrade it says command not found

    ReplyDelete
  23. how open consol?

    ReplyDelete
    Replies
    1. console automatically open when starting server

      "./mta-server"

      Delete
  24. Tutorial updated to 1.3.5 version (?), thx man, great job. ;)

    ReplyDelete
  25. i do a server it is a good server but i close putty and he stay open but don't know how to open console againe can any one tell me?

    ReplyDelete
    Replies
    1. bro this command not work why ? plz answer me fast

      Delete
  26. libreadline.so.5: cannot open shared object file: No such file or directory

    ReplyDelete
  27. This comment has been removed by the author.

    ReplyDelete
  28. ~/multitheftauto_linux-1.4.0# ./mta-server
    -bash: ./mta-server: No such file or directory
    :~/multitheftauto_linux-1.4.0#

    ReplyDelete
  29. Please help...do you need GTA SA installed on server to start MTA server on vps ?

    ReplyDelete
  30. Help plz i used 1.4.0

    ReplyDelete
  31. any tutorial for installing phpmyadmin on putty?

    ReplyDelete
  32. Gta Roleplay Indonesia:
    idport.ddns.net:22003

    ReplyDelete
  33. package 'libreadline5-dev' has no installation candidate......help

    ReplyDelete

Put a word about this post and Don't spam here.

emo-but-icon

Home item

ADS

Help Us!

If These Tutorials Useful To You, You Can Put Small Banner Link To Us On Your Blog Site Or Website

Copy That Code And Paste It On HTML/JAVASCRIPT Widget. It Will Look Like This
Blogger Tricks