SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Tutorials

Reply
 
Thread Tools Display Modes
Old 14/05/2012, 04:02 PM   #1
sanplayer
Banned
 
Join Date: Dec 2009
Location: UK, Wales
Posts: 325
Reputation: 20
Default How to setup a 0.3e server on Linux! (SSH)

How to make a 0.3e Linux SA:MP Server

Some people I seen have asked for help making a SA:MP server on there Linux VPS. I have a Linux VPS and decided to make a small tutorial on how to do this.

First, Make sure you know how to use your SSH text editor. I use nano as I find it easy.

To install nano on CentOS type: yum install nano

To install nano on Debian/Ubuntu type: apt-get install nano

If they dont work update your system first.

Then to download the SA:MP Server type: wget http://files.sa-mp.com/samp03esvr.tar.gz (To get more versions go Here)

Now to extract the .tar.gz you can use this command line: tar -zxf samp03esvr.tar.gz

If you wish to extract it and not type the full name type: tar -zxf samp*

Now you type: cd samp03 now you will be in your SA:MP folder.

As we installed nano (Step 1) we can now edit this more easier than it would be with the SSH editor that came with it.

To edit the server.cfg type: nano server.cfg Now you will be editing your server.cfg.

Edit the port (if needed), Hostname, RCON Password (otherwise won't start) and your player amount and gamemode. Now that you edited them press CTRL + X Then it asks if you want to save Press Y then press ENTER now you have edited it.

To start it and keep it running without SSH needing to be open type nohup ./samp03svr & and it will continue running after the SSH conenction has been cut.

I will do more tutorials soon, Please post any suggestions.
sanplayer is offline   Reply With Quote
Old 14/05/2012, 04:03 PM   #2
kikito
Guest
 
Posts: n/a
Default Re: How to setup a 0.3e server on Linux! (SSH)

You can use nano and vi, since they work the same.
  Reply With Quote
Old 14/05/2012, 04:05 PM   #3
sanplayer
Banned
 
Join Date: Dec 2009
Location: UK, Wales
Posts: 325
Reputation: 20
Default Re: How to setup a 0.3e server on Linux! (SSH)

I never know how to use vi. Nano is easy for new people though or even advanced.
sanplayer is offline   Reply With Quote
Old 14/05/2012, 04:06 PM   #4
kirk
Big Clucker
 
Join Date: Oct 2010
Posts: 193
Reputation: 59
Default Respuesta: How to setup a 0.3e server on Linux! (SSH)

I gotta say its the most useful, simple and easy tutorial in a while, i do not tend to give reputation to anyone as i dont care/like gettinng it, but you deserve it.

Good job.
__________________
kirk is offline   Reply With Quote
Old 14/05/2012, 04:09 PM   #5
sanplayer
Banned
 
Join Date: Dec 2009
Location: UK, Wales
Posts: 325
Reputation: 20
Default Re: Respuesta: How to setup a 0.3e server on Linux! (SSH)

Quote:
Originally Posted by kirk View Post
I gotta say its the most useful, simple and easy tutorial in a while, i do not tend to give reputation to anyone as i dont care/like gettinng it, but you deserve it.

Good job.
Thanks, Alot more people are now starting servers, I thought this would be necessary.
sanplayer is offline   Reply With Quote
Old 14/05/2012, 04:39 PM   #6
kikito
Guest
 
Posts: n/a
Default Re: How to setup a 0.3e server on Linux! (SSH)

This thread should get moved for server support.
  Reply With Quote
Old 06/06/2012, 12:48 PM   #7
sanplayer
Banned
 
Join Date: Dec 2009
Location: UK, Wales
Posts: 325
Reputation: 20
Default Re: How to setup a 0.3e server on Linux! (SSH)

Ok Kikito.
sanplayer is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with Server-Setup Nick:D Server Support 5 01/02/2012 08:39 AM
Server wont load plugins for linux on linux server! GrantLea Help Archive 3 24/10/2010 10:55 PM
how to setup samp with vps linux (host) redigaffi Server Support 2 21/11/2009 08:46 PM


All times are GMT. The time now is 06:30 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.