Install phpMyAdmin2015/05/16 |
Install phpMyAdmin to operate MySQL on web browser from Clients.
|
|
[1] | |
[2] | |
[3] | Install phpMyAdmin. |
root@www:~#
aptitude -y install phpmyadmin # select which one you using +------------------------+ Configuring phpmyadmin +-------------------------+ | Please choose the web server that should be automatically configured to | | run phpMyAdmin. | | | | Web server to reconfigure automatically: | | | | [*] apache2 | | [ ] lighttpd | | | | | | <Ok> | | | +---------------------------------------------------------------------------+ # answer "No" to proceed on this example +------------------------+ Configuring phpmyadmin +-------------------------+ | | | The phpmyadmin package must have a database installed and configured | | before it can be used. This can be optionally handled with | | dbconfig-common. | | | | If you are an advanced database administrator and know that you want to | | perform this configuration manually, or if your database has already | | been installed and configured, you should refuse this option. Details | | on what needs to be done should most likely be provided in | | /usr/share/doc/phpmyadmin. | | | | Otherwise, you should probably choose this option. | | | | Configure database for phpmyadmin with dbconfig-common? | | | | <Yes> <No> | | | +---------------------------------------------------------------------------+
root@www:~#
vi /etc/phpmyadmin/apache.conf # near line 8: add lines below
Require ip 127.0.0.1 10.0.0.0/24
systemctl restart apache2 |
[4] | Access to "http://(your hostname or IP address)/phpmyadmin/" and login with a user in MySQL. |
[5] | Just logined. It's possible to operate MySQL on here. |
Sponsored Link |