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

  • Last Created On Dec 08, 2024
  • 8
0 0

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

Prerequisites

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.

http://files.sa-mp.com/samp037svr_R2-1.tar.gz
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!

Views: 8

Recent Articles

  • How to Install JAX with ROCm Acceleratio...
    96
  • Deploy a PyTorch Workspace on a Vultr Cl...
    71
  • Managing Backup Storage
    82
  • Automating FTP Backups in Windows Server
    71
  • Automating FTP Backups in Linux
    75

Popular Articles

  • Our General Terms & Conditions
    2631
  • Our Privacy Policy
    2477
  • Our Cookies Policy
    275
  • Our Terms of Use
    152
  • How to Install JAX with ROCm Acceleratio...
    96