Print
카테고리: [ Apache HTTP Server ]
조회수: 2650

1. 사전 설치 패키지 

 

CentOS 기준으로 yum install 하여 설치하시면 됩니다.

이미 설치되어 있을 수도 있습니다.

 

2. HTTP Server 설치파일 다운로드

http://http.apache.org 에서 2.2.x 의 최신버전 다운로드

 

3. HTTP Server 설치경로

실제 서버에 /apps/apache/2.2 로 설치할 계획입니다.

 

4. HTTP Server 빌드방법

다운로드 된 파일의 압축을 적당한 위치에 푼 후에, 디렉토리에 들어가서

아래와 같이 configure, make, make install 로 설치합니다.

./configure \
  --prefix=/apps/apache/2.2 \
  --enable-modules=all \
  --enable-mods-shared=most \
  --with-mpm=worker \
  --enable-proxy \
  --enable-proxy-http \
  --enable-proxy-connect \
  --enable-cache \
  --enable-mem-cache \
  --enable-disk-cache \
  --enable-deflate \
  --enable-ssl \
  --with-ssl=/usr/include/openssl

make
make install

 

5. Tomcat Connectors (mod_jk) 설치

tomcat.apache.org 의 Tomcat Connector 에서 최신버전 다운로드

(http://tomcat.apache.org/download-connectors.cgi)

 

6. Tomcat Connectors 빌드방법

다운로드 된 파일의 압축을 적당한 위치에 푼 후에, 디렉토리에 들어가서

아래와 같이 configure, make, make install 로 설치합니다.

./configure --with-apxs=/apps/apache/2.2/bin/apxs
make
make install

 

7. Tomcat Connectors 모듈 설치 확인

/apps/apache/2.2/modules/mod_jk.so