phpmyadmin 설치
준비
CentOS 버젼 확인 후 RPM 받기
RPM 패키지 내려받기
wget \"RPM Forge 주소"/"패키지 파일명"
RPM 패키지 설치
rpm -Uvh "패키지 파일명"
rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.i386.rpm
phpMyAdmin 설치
yum install phpmyadmin
phpmyadmin.conf 수정
vi /etc/httpd/conf.d/phpmyadmin.conf 입력 후,
Alias 부분 제외하고 모두 주석(#) 처리
변경 후
# Web application to manage MySQL
#
#<Directory "/usr/share/phpmyadmin">
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
#</Directory>
#
Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin
config.inc.php 수정
vi /usr/share/phpmyadmin/config.inc.php 입력 후
29번째 줄 auth_type을 cookie 에서 http로 변경
변경 전
29 $cfg['Servers'][$i]['auth_type'] = 'cookie';
변경 후
29 $cfg['Servers'][$i]['auth_type'] = 'http';
서비스 재시작
service https restart
## /usr/share/phpmyadmin 폴더를 해당 웹 폴더로 옴겨줍니다.
출처 : http://samaim.tistory.com/34Viewer