# yum install phpMyAdmin
因為習慣用web介面所以/etc/phpMyAdmin/config.inc.php裡用預設即可
# vi /etc/httpd/conf.d/phpMyAdmin.conf
# But allowing phpMyAdmin to anyone other than localhost should be considered
# dangerous unless properly secured by SSL
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin
order deny,allow
deny from all
allow from 127.0.0.1
allow from ::1
allow from all
# This directory does not require access over HTTP - taken from the original
# phpMyAdmin upstream tarball
#
Order Deny,Allow
Deny from All
Allow from all
換成IP是比較保險,不過寫all就可以連上去了
沒有留言:
張貼留言