yumでインストール
# yum --enablerepo=epel install -y phpMyAdmin 読み込んだプラグイン:fastestmirror, refresh-packagekit, security Error getting repository data for epel, repository not found
EPELリポジトリを知らない
EPEL リポジトリ インストール
# cd /tmp/ # wget ftp://ftp.riken.jp/Linux/fedora/epel/6/x86_64/Packages/e/epel-release-6-8.noarch.rpm # rpm -ivh ./epel-release-6-8.noarch.rpm
再度、yumでインストールを実行すると、phpMyAdminがインストールできた。
EPELリポジトリの使用をしないに設定する。競合する場合があるため、必要なときに使用するにしたほうが良いらしい。enabled=1 を enabled=0にする
# vim /etc/yum.repos.d/epel.repo
apacheを再起動して
# service httpd restart
http://localhost/phpMyAdmin/ でブラウザでログインできる
エラーが発生する場合は、エラーログを見る
# cat /var/log/httpd/error_log client denied by server configuration: /usr/share/phpMyAdmin
クライアントの権限エラー
phpMyAdminの設定する。テスト環境なので全てのクライアントをアクセス許可。Allow from all とする
# vim /etc/httpd/conf.d/phpMyAdmin.conf

コメント