VPS Linux CENTOS 6 64 bit QUESTION
#1

hey

using solus vm control panel for vps




how to make .... phpmyadmin and mysql AUTO Start when i hit RESTART / START button in panel?

how to do the same for SAMP ?

because then i wont need control panel... and it pisses me off to use commands to start manually phpmyadmin/mysql/sampserver after i restart,...

please tell how to do it in centos 6 64 bit ...
Reply
#2

chkconfig mysqld on
chkconfig apache2 on

samp server... there's the auto restart shellscript made by the sa-mp team.
Reply
#3

are u sure that will start IP/phpmyadmin if i click restart/start in panel ?

and for samp.. it stops everything, so if i start/ restart vps in solusvm, u sure it would start samp server too, if i run : https://sampwiki.blast.hk/wiki/Linux_Ser..._Server_Online which method is best ? 1 2 or 3 for my situation?

?

and for mysql and phpmyadmin to install i used

Код:
 yum install httpd php php-mysql php-mbstring

after installed I started apache with: service httpd start

for mysql i used yum install mysql-server

after installed , : service mysqld start and then mysql_secure_installation to allow me to config

PHPMyAdmin was just downloaded from the website and placed in /var/www/html/phpmyadmin
soo once again, how to AUTO start mysql + IP/phpmyadmin (to manage tables and so on.. so samp server would connect to it) that i installed when i click restart/start in solus vm panel ? what to write in putty...? or i need smth else?

?
Reply
#4

chkconfig mysqld on
chkconfig apache2 on
Reply
#5

ok thanks ill try


if i run : https://sampwiki.blast.hk/wiki/Linux_Ser..._Server_Online which method is best ? 1 2 or 3 for my situation?

chkconfig apache2 on

gives error:



please help
Reply
#6

Quote:
Originally Posted by VIP475
Посмотреть сообщение
ok thanks ill try


if i run : https://sampwiki.blast.hk/wiki/Linux_Ser..._Server_Online which method is best ? 1 2 or 3 for my situation?

chkconfig apache2 on

gives error:



please help
you run apache or nginx? what's the webserver, no use of having phpmyadmin without a webserver..
Reply
#7


this page comes when i enter my vps ip in the browser.

so i think its apache, not nginx ?


i use phpmyadmin for mysql database for samp server....
Reply
#8

chkconfig httpd start
Reply
#9

Quote:
Originally Posted by khanz
Посмотреть сообщение
chkconfig httpd start
are u sure that it will auto start IP/phpmyadmin , so i can use it in browser ?

i tried it, and nothing..

i used chkconfig httpd on

and it just starts it like after 5 minutes... when i click restart/start..

not instantly
Reply
#10

http://www.opengamepanel.org/news.php (RECOMMENDED && FREE)
https://gamepanelx.com/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)