Problem in running my server on vps.
#1

Hello friends,

I have a problem with my VPS.

I logged to my vps via ssh and i installed linux files.

After it when i do ./samp03svr to start server it starts but as i cancel ssh my server gets closed too.Please help me with this and also how can i add users to via please tell me the linux commands to adduser and pass for it.
Reply
#2

You should run it as a background process.
use
Код:
nohup ./samp03svr &
To add user :

Код:
adduser name
then

Код:
passwd password
If you want to disable shell access for the user.
Type

Код:
usermod -s /sbin/nologin name
Reply
#3

Thanks but for adding user passwd is not working as it says you are now saving password for name.
But when i type a pass it says bad pass Unix something shit.

Also for restarting server what's the command.
Reply
#4

To stop server.

Type
Код:
killall samp03svr
Reply
#5

i want command for restarting
Reply
#6

help please ;P
Reply
#7

There is no cmd for restarting..You have to kill it then start it again.btw you can also Setup a Control pannel for your Samp server.
Reply
#8

well u can go in game and do /rocn login password than /rcon gmx to restart the server
Reply
#9

Unfortunately, SA:MP doesn't come with an init.d script, so restarting is a little awkward at best. (SA:MP .deb/.rpm package, anyone?)

Luckily though, the SA:MP wiki does explain a few ways to get a restarting 'script' up and running.
https://sampwiki.blast.hk/wiki/Linux_Server
Reply
#10

can anyone help me in installing anti crasher on vps ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)