Linux WEB

Apache2.4.x 버전 설치

2012.06.22 14:00

호스트웨이 조회 수:23693

 Apache2.4.x 버전 설치


기존의 apache2.4.x 버전부터는 apr과 apr-util을 별로도 설치하여야 합니다.
하위버전에서는 설치파일에 포함되어 있었으나 버전 업이 되면서 삭제되어
configure를 실행하면 아래와 같은 에러메시지를 발생하면서 종료됩니다.
Checking for APR... no
Confgirue: error: APR not found. Please read the documentation

Apache 설치 전 http://apr.apache.org/download.cgi 페이지에서 아래파일을 다운받아 설치합니다.

1. apr.1.4.6.tar.bz 설치
wget http://mirror.apache-kr.org//apr/apr-1.4.6.tar.gz
tar zxvf apr.1.4.6.tar.bz
cd apr.1.4.6.tar.bz
./configure
make; make install

2. apr-util-1.4.1.tar.gz 설치
wget http://mirror.apache-kr.org//apr/apr-util-1.4.1.tar.gz
tar zxvf apr-util-1.4.1.tar.gz
cd apr-util-1.4.1.tar.gz
./configure –with-apr=/usr/local/apr
make; make install

3. apache.2.4.x 설치
wget http://mirror.apache-kr.org/httpd/httpd-2.0.64.tar.gz
./configure
--prefix=/usr/local/apache2 --enable-module=so
--enable-mods-shared-all --enable-so
--enable-rewrite --enable-sll
Make; make install