Table of Contents
Was this article helpful?

2  out of  2 found this helpful

Try Vultr Today with

$50 Free on Us!

Want to contribute?

You could earn up to $600 by adding new articles.

How To Install SA-MP San Andreas Multiplayer on CentOS 7

Last Updated: Sun, Oct 25, 2015
CentOS Game Servers Linux Guides

In this tutorial you will learn how to setup an SA-MP (San Andreas Multiplayer) server on CentOS 7.


Let's make sure the system is fully updated before we start. Then, we'll be creating a new user for the server. Be sure to use a strong password.

yum update

yum upgrade -y

adduser samp

passwd samp

Let us also open the necessary firewall ports.

firewall-cmd --zone=public --add-port=7777/tcp --permanent

firewall-cmd --zone=public --add-port=7777/udp --permanent

firewall-cmd --reload

Next, install the required libs to run the server.

yum install glibc.i686 libstdc++.i686 -y

Now, let's switch to the user that we have just created.

su samp

cd ~

Download the server software.

tar xf samp037svr_R2-1.tar.gz

Open the config file in a text editor. We need to make some changes in order to run the server.

cd samp03

nano server.cfg
  • On line 3, change rcon_password changeme to your desired admin password.

Save the file. Your SAMP server is now installed.

Customizing the server

Want to customize the name and perhaps the slots of the server? For any of these changes, you can edit the server.cfg file again, as we did previously.

nano server.cfg
  • On line 4, change 50 to the amount of slots you want. Max slots is 500.

  • On line 6, change SA-MP 0.3 Server to your server name.

Running the server

Navigate to the following folder and run your server.

cd /home/samp/samp03/

screen -dmS samp ./samp03svr

The server is now running in the background. To shut down the server, run the following command:

pkill samp

Enjoy your new San Andreas server!

Want to contribute?

You could earn up to $600 by adding new articles.