SA-MP Forums Archive
VPS help - 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: VPS help (/showthread.php?tid=464355)



VPS help - Champ - 16.09.2013

I have installed my server in vps with Grand Larceny script. Now i have uploaded my script but don't know how to restart the console.
Can some one help me?


Re: VPS help - Konstantinos - 16.09.2013

pawn Код:
Type: top
// wait 1-2 seconds and when samp03svr is first (being able to see its ID)
Press: Q
Type: kill ID_HERE
// The ID is at the left side when you type "top", the id of samp03svr
Type: cd samp03
// NOTE: Actually do cd path_for_samp03_folder (depending on where you added the server package)
nohup ./samp03svr &
Done.


Re: VPS help - Champ - 16.09.2013



There is no samp03svr id
and when i try to kill sa-mp user id. A error pops up.


Re: VPS help - Konstantinos - 16.09.2013

If you do top and wait for 1-2 seconds, if it does not show samp03svr then the server is not running.

If the server is not running then do the next steps (excluding the top) to start it.


Re: VPS help - ikey07 - 16.09.2013

you dont have WHM? you can kill samp process from there.

else use

pidof ./samp03svr


Re: VPS help - Champ - 16.09.2013

Bro, it was simple
just need to go to the directory
cd samp03

and perform the command
nohup

thanks.


Re: VPS help - Champ - 16.09.2013

sorry for double posting.

Friends, do you know how to install mysql on vps?


Re: VPS help - ikey07 - 16.09.2013

try "yum install mysql", have never done that, but could be it works.


Re: VPS help - Champ - 16.09.2013

I don't understand. I didn't heard about that type of stuffs. Can you explain some steps. On how to install mysql and get mysql username, password, database etc.


Re: VPS help - Konstantinos - 16.09.2013

I installed MySQL yesterday on a VPS. (Thanks to Mark™).

pawn Код:
yum -y install mysql-devel mysql-server
Quote:
Originally Posted by Mark™
Follow these steps as mentioned.

1) /etc/init.d/mysqld stop

2) mysqld_safe --skip-grant-tables &

3) mysql -u root

4) Setup new MySQL root user password

use mysql;
update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root';
flush privileges;
quit

5) Stop MySQL Server: /etc/init.d/mysqld stop

6) Start MySQL server and test it: mysql -u root -p
To start MySQL Server:
pawn Код:
service mysqld start
For creating a database through SHH, read: http://vps2.me/create-mysql-database-with-ssh-command/