SA-MP Forums Archive
Running a SA-MP server on Debian - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Running a SA-MP server on Debian (/showthread.php?tid=183312)



Running a SA-MP server on Debian - Scenario - 14.10.2010

Hello. How would I go about running a SA-MP server on my Debian Linux VPS? I know how to upload files and use ./samp03srv... The problem, is when I close my SSH client (PuTTY) it will close the SA-MP server as well. Is there a way around that? Like... Creating a script which will run the server when it starts up and constantly run it unless I do another CMD or something?

EDIT: Old topic, please stop bumping it!


Re: Running a SA-MP server on Debian - Cameltoe - 15.10.2010

Install Webmin for your vps, make an custom command that runs the server and voila!


Re: Running a SA-MP server on Debian - Scenario - 15.10.2010

Cool. Thanks!


Re: Running a SA-MP server on Debian - Cameltoe - 15.10.2010

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Cool. Thanks!
No problem tell me if you get stuck, iv'e done it 100 times .. im sure i could do it blindfolded.

Good luck


Re: Running a SA-MP server on Debian - Scenario - 15.10.2010

It keeps saying "Permission denied"...

EDIT: My fault! I didn't CHMOD correctly. Thanks!


Re: Running a SA-MP server on Debian - Scenario - 15.10.2010

One more thing... How do I stop the server?


Re: Running a SA-MP server on Debian - Cameltoe - 15.10.2010

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
It keeps saying "Permission denied"...

EDIT: My fault! I didn't CHMOD correctly. Thanks!
Also if chmodding fails use chown UrUserName.UrGroup FOLDER ( Add -R parameter to chown everyfile inside folder )

if you didnt know that though.


Re: Running a SA-MP server on Debian - Ironboy500[TW] - 15.10.2010

pkill -9 samp03svr


Re: Running a SA-MP server on Debian - Scenario - 15.10.2010

Yep. This has been solved.


Re: Running a SA-MP server on Debian - TheInnocentOne - 15.10.2010

What's wrong with using 'nohup ./samp03svr &'