Setup an SA-MP San Andreas Multiplayer Server on CentOS 6

Welcome to another Aklweb host tutorial. Here, you'll learn how to install and run a SAMP server. This guide was written for CentOS 6.

Prerequisites

You will need "screen" to keep the server running when you exit your SSH client (such as PuTTY). Installing "screen" is simple and only requires you to perform one command.

yum install -y screen

Installing The Server Software

Create a new directory and retrieve the SA-MP software. The "wget" below uses the latest version from the time this article was posted. You may visit the official site to check for newer releases.

cd /
mkdir samp-server
wget http://team.sa-mp.com/files/samp03dsvr_R2.tar.gz

Extract the "tar" file.

tar -zxf samp037svr_R2.tar.gz

Enter the "samp03" folder and edit the configuration file. Make any configuration changes that you would like during this step.

cd samp03
vi server.cfg

Running the server

This is the easy part. First, we must open up a "screen" session. You can change "server" to any name you'd like for easier access back to the "screen" session.

screen -S server

Start the SA-MP server.

./samp03svr

At this point, the server is running. You may leave it running and detach from your screen session by pressing Ctrl+A, then D.

If you require access to the server console again, you can return to the screen with the following command. Update the "server" string if you changed it earlier.

screen -r server

Congratulations! You have installed and started an SA-MP server.

  • Linux Guides, Game Servers, CentOS
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Setup Ragnarok Online Server on Ubuntu 14.04 x64

In this article, we are going to setup a Ragnarok Online Server on Ubuntu 14.04 x64. You can be...

Setting up a Name Server for IPv6 rDNS in CentOS

Managing your own IPv6 rDNS is a fairly simple task. After setting up the name server, please...

Reset the Root Password in CentOS

If you have forgotten the root password it is possible to set a new one by interrupting the boot...

How to Install and Configure vsftpd on CentOS 7

FTP (File Transfer Protocol) is one of the most popular methods to upload files to a server....

How to enable EPEL repository?

The EPEL repository is an additional package repository that provides easy access to install...