Hello everyone,
When I got the VPS(Linux VPS) it was hard to install the server since it needed update and stuff. Plus warnings. After fixing it I decided to make a guide how to install your gamemode in linux VPS since most of servers use Windows VPS because it's more easy and doesn't need FTP. Ok so let's begin.
When you purchase a VPS you will receive the details throught an email. Root and Password.
Requirements :
- At least 512 MB linux
- PuttY SSH
- FTP Client (In my case i use FileZilla Client)
Installation:
1.First connect to your VPS using Putty With Root Priviledges.
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 sampsv(Your preference)
passwd eurocup(Your password)
Root users have full read and write access to all resources of the VPS. Running gameservers like
this yields 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:
That will download the .tar.gz for linux. Let it download.
5.You will now need to extract the
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.
Port: 22
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(REMEMBER plugins have .so) etc,
At last make sure to edit the server.cfg well.
Remember to update your VPS
Once done with the editing we come back to PuTTY,
Type : chmod +x samp-npc samp03svr announce
Then type ./samp03svr & This will start the server (Now you can close the root and everything)
Done installing sampsv on your VPS
This thread will be updated when SAMP releases his latest version.
Best Regards,
Klevis
When I got the VPS(Linux VPS) it was hard to install the server since it needed update and stuff. Plus warnings. After fixing it I decided to make a guide how to install your gamemode in linux VPS since most of servers use Windows VPS because it's more easy and doesn't need FTP. Ok so let's begin.
When you purchase a VPS you will receive the details throught an email. Root and Password.
Requirements :
- At least 512 MB linux
- PuttY SSH
- FTP Client (In my case i use FileZilla Client)
Installation:
1.First connect to your VPS using Putty With Root Priviledges.
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 sampsv(Your preference)
passwd eurocup(Your password)
Root users have full read and write access to all resources of the VPS. Running gameservers like
this yields 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:
Code:
wget http://files.sa-mp.com/samp037svr_R2-1.tar.gz
5.You will now need to extract the
Code:
tar -xnvf samp037svr_R2-1.tar.gz
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.
Port: 22
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(REMEMBER plugins have .so) etc,
At last make sure to edit the server.cfg well.
Remember to update your VPS
Code:
yum update -y
Type : chmod +x samp-npc samp03svr announce
Then type ./samp03svr & This will start the server (Now you can close the root and everything)
Done installing sampsv on your VPS
This thread will be updated when SAMP releases his latest version.
Best Regards,
Klevis