Running a SA-MP server on Debian
#1

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!
Reply
#2

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

Cool. Thanks!
Reply
#4

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
Reply
#5

It keeps saying "Permission denied"...

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

One more thing... How do I stop the server?
Reply
#7

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.
Reply
#8

pkill -9 samp03svr
Reply
#9

Yep. This has been solved.
Reply
#10

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


Forum Jump:


Users browsing this thread: 4 Guest(s)