"리눅스 phpMyAdmin 설치 (수동)"의 두 판 사이의 차이

잔글 (Jmnote 사용자가 PhpMyAdmin 설치 (수동) 문서를 PhpMyAdmin 설치 (git) 문서로 옮겼습니다)
잔글 (Jmnote 사용자가 PhpMyAdmin 설치 (git) 문서를 PhpMyAdmin 설치 (수동) 문서로 옮기면서 넘겨주기를 덮어썼습니다)
(차이 없음)

2014년 1월 8일 (수) 22:17 판

phpMyAdmin 설치 (git)

1 다운로드 및 업로드

  • http://www.phpmyadmin.net/ 접속
  • [Download 4.0.9] 클릭하여 phpMyAdmin-4.0.9-all-languages.zip 다운로드(8 MB)
  • zip파일을 대상 서버의 DOCUMENT_ROOT 상위폴더에 업로드

2 압축 해제

[root@jmnote ~]# cd /var/www/
[root@jmnote www]# ll *.zip
-rw-r--r--  1 root root 8349983 Nov 30 02:01 phpMyAdmin-4.0.9-all-languages.zip
[root@jmnote www]# unzip phpMyAdmin-4.0.9-all-languages.zip
... (생략)
  inflating: phpMyAdmin-4.0.9-all-languages/view_create.php  
  inflating: phpMyAdmin-4.0.9-all-languages/view_operations.php  
  inflating: phpMyAdmin-4.0.9-all-languages/webapp.php
[root@jmnote www]# mv phpMyAdmin-4.0.9-all-languages phpMyAdmin
[root@jmnote www]# ll
total 8188
drwxr-xr-x  2 root root    4096 Nov 25  2012 cgi-bin
drwxr-xr-x  3 root root    4096 Nov 27 01:30 error
drwxr-xr-x 34 root root    4096 Jul 14  2011 html
drwxr-xr-x  3 root root    4096 Nov 27 01:31 icons
drwxr-xr-x  9 root root    4096 Nov  4 12:25 phpMyAdmin
-rw-r--r--  1 root root 8349983 Nov 30 02:01 phpMyAdmin-4.0.9-all-languages.zip

3 아파치 설정

httpd.conf 수정

/etc/httpd/conf/httpd.conf 파일에서 DocumentRoot를 찾아 그 아랫줄에 Alias 행 추가

[root@jmnote ~]# vi /etc/httpd/conf/httpd.conf
DocumentRoot "/var/www/html"
Alias /phpMyAdmin /var/www/phpMyAdmin/
아파치 재시작
[root@jmnote ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

4 웹으로 접속

phpMyAdmin - Error
The mbstring extension is missing. Please check your PHP configuration.
php-mbstring 설치 필요

5 같이 보기

6 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}