아파치 웹서버 (apache 2.4) 설치
1. 준비작업
wget 사용
wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz
wget http://mirror.jcubei.com/apache/apr-1.5.2.tar.gz
wget http://mirror.jcubei.com/apache/apr-util-1.5.4.tar.gz
wget http://www.atblog.co.kr/file/package/pcre-8.36.tar.gz
wget http://mirror.jcubei.com/apache/httpd-2.4.23.tar.gz
wget http://mirror.apache-kr.org/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.42-src.tar.gz
wget http://mirror.jcubei.com/apache/mod_cluster-1.3.1.Final.tar.gz
2. 컴파일
libtool library
./configure --prefix=/usr <<설치 디렉토리
make
make install
apr library
./configure
make
make install
apr-util library
./configure --with-apr=/usr/local/apr/bin/apr-1-config
make
make install
pcre library
./configure --prefix=/usr/local/pcre
make
make install
httpd library
./configure \
--prefix=/usr/local/httpd \
--with-apr=/usr/local/apr/bin/apr-1-config \
--with-apr-util=/usr/local/apr/bin/apu-1-config \
--with-pcre=/usr/local/pcre \
--with-libxml2 \
--with-ssl \
--with-z \
--with-mpm=worker \
--enable-modules=most \
--enable-mods-shared=most \
--enable-cache \
--enable-file-cache \
--enable-so \
--enable-mime-magic \
--enable-expires \
--enable-header \
--enable-proxy \
--enable-ssl \
--enable-mpms-shared=all \
--enable-vhosts-alias --enable-rewrite
make
make install
tomcat connector library
cd tomcat-connectors-1.2.42-src/native
./configure --with-apxs=/usr/local/httpd/bin/apxs
make
make install