Post4VPS Forum | Free VPS Provider
How to create BASIC SA:MP Server(CentOS) - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: VPS Discussion (https://post4vps.com/Forum-VPS-Discussion)
+--- Forum: Tutorials (https://post4vps.com/Forum-Tutorials)
+--- Thread: How to create BASIC SA:MP Server(CentOS) (/Thread-How-to-create-BASIC-SA-MP-Server-CentOS)



How to create BASIC SA:MP Server(CentOS) - Sagnik - 10-20-2015

Hello guys...today I am going to teach you how to create a BASIC SA:MP server in linux(CentOS).
Requirements:
1. One VPS or a Dedicated Server.
2. PuTTy and some knowledge of SSH.
3. Time and a cup of tea of you like...
Procedure:
First of all we will be creating a new user for SA:MP(NEVER run SA:MP in root)
So, Enter
Code:
adduser -m samp
Then, set a password
Code:
passwd samp
Enter any password.
If you are not used to PuTTy, let me tell you that the letters will not appear while you are typing the password.
Next close the root window.
Login with your newly created account.
Then...
1. Enter:
Code:
cd ~
2.Then:
Code:
wget http://files.sa-mp.com/samp037svr_R2-1.tar.gz
3. Un'tar'
Code:
tar zxf samp037svr_R2-1.tar.gz
4.You can verify whether it is properly done by entering the {code}ls[/code]command.
5.Now
Code:
cd samp03
5. Edit the config file. (DON'T FORGET TO CHANGE RCON Password)
Code:
nano server.cfg
When done, Ctrl+0 and then Ctrl+X
6. Then we must chmod some files as 'executable'
Code:
chmod +x samp-npc samp03svr announce
7. NOW IT'S TIME TO START THE SERVER.:
Code:
nohup ./samp03svr &
WOW!!! YOU NOW HAVE A WORKING SA:MP SERVER.