Problems activating your account? Send notification email to: admin@post4vps.com
Host4Fun Budget VPS Hosting
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Install sa-mp server on VPS (Centos/Debain/Ubuntu)
#1
1.First connect to your VPS using Putty With Root Privileges.

2.Then make a user account for samp server.Note that Do not use root for this, please create a 
user (because of security issues).

Creating A User:

useradd samptut
passwd samptut

Root users have full read and write access to all resources of the VPS. Running gameservers like
this fields security issues as stated above.

3.Then 
*first thing you want to make sure is that your in the main directory by typing cd ~ after
relogging to your vps using your useraccount crendentials.

4.Once done well we're ready to download SA:MP now
then type: wget http://files.sa-mp.com/samp037svr_R2-1.tar.gz
That will download the .tar.gz for linux. Let it download.
 
5.You will now need to extract the tar.gz by typing: tar -zxf samp037svr_R2-1.tar.gz

6.Next go into the folder you just extracted by typing cd samp03

7.Now to make things easier, download a program called FileZilla Ftp Client . 
This is basically FTP for linux. Install and connect to your VPS (Pretty simple).

Put Your IP(your vps ip) Protocol : SFTP (SSH File Transfer Protocol) Logon type : Normal 
Username : sampsv ( your username here/user created for samp ) password : your linux user pass
and password : that user password password.

8.Then Locate to the samp03 folder through your ftp clientand edit server.cfg to whatever you 
want.

9.Make any changes you want , upload your own gamemodes and scriptfiles, plugins etc,
At last make sure to edit the server.cfg well or use with this cmd 'nano server.cfg' to edit ur server.cfg from putty
A screen looking like that should've popped up.
You'll be happy to know, that you can browse around the server.cfg by using your arrow keys, and just typing to edit the file. Simple stuff, right?

Once you've finished editing the file, hit CTRL+X, press 'Y', then Enter.
Your file is now saved!

Once done with the editing we come back to PuTTY,
chmod 777 samp03svr
chmod 777 announce
chmod 777 samp-npc
or
Type : chmod +x samp-npc samp03svr announce
but we have to chmod all plugins + includes + samp-npc + samp03svr + announce and all the amx file (no need to upload ur pwn files) and all folders to writeable/readable/excuteable (777) and update the OS with 'yum update' to avoid getting 'No Directory or File found' proplem 
Followed by nohup ./samp03svr & This will start the server (nohup makes the server still run 
even when you quit PuTTY)

 
To stop your samp server use pkill samp or killall samp03

for more info Use SA-MP wiki: http://www.wiki.sa-mp.com/wiki/
Thanks to @Post4VPS & @cubedata for Providing thier VPS Hosting Services: VPS 8
Reply
#2
Great tutorial Zorono, I will wait more tutorials from you , It will help newbies who can get VPS from here (POST4VPS)
 - Thanks to Post4VPS & Host4Fun for the amazing VPS 1 -
Reply
#3
Epic tutorial it will help to people that using linux Big Grin god why i didnt see this tutorial when i had linux lol...
Thanks To Post4Vps&Vps-Hosting.ca For VPS6!
Reply
#4
using a open game panel or any game panel is a better idea because you cannot contro the server once you disconnected but wit game panel you can open it anywhere and get easy access

i run my minecraft server with pufferpanel and it worked great and it should be great for samp or mtasa too
Terminal
Thanks To Virmach And Post4VPS for the glorious VPS9
[Image: 76nttN]
Reply
#5
Sorry for late but 2 days ago i was searching for SAMP tutorial and found this one and successfully installed

but forgot to give feedback. Thanks @Zorono for guiding me.

#Request Please makes tutorial about "How to install CS 1.6 in Debian" Or recommend me any good tutorial.
Terminal
Thanks to VirMach for Sponsorship and Thanks Post4VPS for providing me a great VPS: 9

[Image: img.php?userid=443]

Reply
#6
This idea is good but if you want to open a hosting / several servers then install a game panel better.
[Image: img.php?userid=496]
Thanks For Post4VPS and VPSlices for the amazing VPS 4
Reply
#7
Nice tutorial Zorono, keep this up and post another tutorials for creating gameservers on the VPS.
(10-22-2017, 09:32 AM)arsalahmed786 Wrote:  Sorry for late but 2 days ago i was searching for SAMP tutorial and found this one and successfully installed

but forgot to give feedback. Thanks @Zorono for guiding me.

#Request Please makes tutorial about "How to install CS 1.6 in Debian" Or recommend me any good tutorial.

You can follow this tutorial from here

https://nscodes.com/install-counter-stri...ver-linux/
Thanks to Evolution Host And Post4VPS For VPS-10
Reply
#8
(10-25-2017, 09:18 PM)YOuNeS_Dz Wrote:  Nice tutorial Zorono, keep this up and post another tutorials for creating gameservers on the VPS.

You can follow this tutorial from here

https://nscodes.com/install-counter-stri...ver-linux/

Thanks but i've successfully installed SAMP if you can please provide me tutorial "How to install CS 1.6 on Debian"
Terminal
Thanks to VirMach for Sponsorship and Thanks Post4VPS for providing me a great VPS: 9

[Image: img.php?userid=443]

Reply
#9
Already have given it if you have checked the link I sent above xD
Thanks to Evolution Host And Post4VPS For VPS-10
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

Sponsors: VirMach - VPS Hosting - Host4Fun - CubeData - Evolution-Host - HostDare - Rocketrix - GalaxyHostPlus - SSDBlaze - VPSlices


About Post4VPS

Post4VPS is a forum/destiny where you can Delploy Your Free VPSs just by the Power of Posts.

We Provide VPSs of many locations like Germany,US,Canada,France,London,etc.

We also Provide VPSs of Both Linux and Windows OS.