컴퓨터이야기/APM

우분투에 APM 설치하기

LestSong 2012. 3. 15. 10:51
1. 아파치를 먼저 설치 

apt-get install apache2



2. Mysql 인증을 위한 모듈 설치

apt-get install libapache2-mod-auth-mysql


3. Mysql 설치 ( 설치시 mysql root 계정의 비밀번호를 입력 )

apt-get install mysql-server mysql-client



4. PHP 설치

apt-get install php5-common php5 libapache2-mod-php5



5. PHP와 Mysql을 연동하기 위한 모듈 설치

apt-get install php5-mysql



6. 아파치 재시작(conf 파일 수정후)

/etc/init.d/apache2 restart


아파치 시작시  
Could not reliably determine the server's fully qualified domain name
라는 에러가 나오면 ServerName 을 지정하면 된다.