#yum install http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
#yum -y install phpmyadmin
# vi /etc/httpd/conf.d/phpMyAdmin.conf
<Directory /usr/share/phpMyAdmin/> AddDefaultCharset UTF-8 <IfModule mod_authz_core.c> # Apache 2.4 <RequireAny> #Require ip 127.0.0.1 #Require ip ::1 </RequireAny> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 #Order Deny,Allow #Deny from All #Allow from 127.0.0.1 #Allow from ::1 </IfModule> </Directory> <Directory /usr/share/phpMyAdmin/setup/> <IfModule mod_authz_core.c> # Apache 2.4 <RequireAny> #Require ip 127.0.0.1 #Require ip ::1 </RequireAny> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 #Order Deny,Allow #Deny from All #Allow from 127.0.0.1 #Allow from ::1 </IfModule> </Directory> |
# service httpd restart
접속 : http://your-server-ip/phpMyAdmin/
'Linux' 카테고리의 다른 글
CentOS 7 컴파일로 아파치(Apache) 설치 (0) | 2017.04.14 |
---|---|
CentOS 7 다운로드, 설치, 설정 (0) | 2017.04.12 |
UTF-8 폰트 설정 (0) | 2014.02.05 |
phpMyAdmin 개인 사용자 추가 및 권한 주기 (0) | 2014.02.05 |
CentOS 6.5 - vsftpd (0) | 2014.01.31 |