IT 정보/리눅스/LPIC

[리눅스/LPIC/LINUX자격증] phpMyAdmin 설치하기

김윤석 2007. 12. 28. 16:17

[리눅스/LPIC/LINUX자격증] phpMyAdmin 설치하기


1. www.phpmyadmin.net 에서 파일을 다운받는다.
   (phpMyAdmin-2.5.6.tar.gz


2. 서버의 자신의 계정으로 업로드


3. 압축해제

# tar zxvf phpMyAdmin-2.5.6.tar.gz

# mv phpMyAdmin-2.5.6.tar.gz phpMyAdmin    // 디렉토리 이름을 바꿔준다.


4. config.inc.php 파일을 편집한다.

# vi config.inc.php

..........

$cfg['Servers'][$i]['host']          = 'localhost'; // 서버의 호스트 주소나 IP주소를 적는다. localhost도 가능

.........

$cfg['Servers'][$i]['auth_type']     = 'http';    // http 로 해야 id와 pw를 이용하여 접속할 수 있음.

$cfg['Servers'][$i]['user']          = '아이디';      // MySQL 아이디

$cfg['Servers'][$i]['password']      = '비밀번호';          // MySQL 비밀번호

..........


5. 웹 브라우저에서 phpMyAdmin으로 접속.

http://서버주소/phpMyAdmin/

 

리눅스추천학원:
http://www.it-bank.or.kr/master/linux_main.htm