Posts: 204
Threads: 31
Joined: Jun 2012
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 ...
Posts: 34
Threads: 1
Joined: Feb 2012
chkconfig mysqld on
chkconfig apache2 on
samp server... there's the auto restart shellscript made by the sa-mp team.
Posts: 204
Threads: 31
Joined: Jun 2012
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?
?
Posts: 1,696
Threads: 6
Joined: Dec 2008
chkconfig mysqld on
chkconfig apache2 on
Posts: 204
Threads: 31
Joined: Jun 2012
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
Posts: 34
Threads: 1
Joined: Feb 2012
Quote:
Originally Posted by VIP475
|
you run apache or nginx? what's the webserver, no use of having phpmyadmin without a webserver..
Posts: 204
Threads: 31
Joined: Jun 2012
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....
Posts: 1,696
Threads: 6
Joined: Dec 2008
Posts: 204
Threads: 31
Joined: Jun 2012
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
Posts: 447
Threads: 105
Joined: Feb 2013