반응형

 

 

yum -y install gcc

yum -y install gcc-c++

yum -y install openssl-devel

yum -y update openssl

 

Apache HTTPD 압축해제

] tar -xvf httpd-2.4.12.tar.gz

 

ARP(Apache Portable Runtime) 소스 폴더 복사

] tar -xvf apr-1.5.2.tar.gz

] tar -xvf apr-util-1.5.4.tar.gz

] mv apr-1.5.2 httpd-2.4.12/srclib/apr

] mv apr-util-1.5.4 httpd-2.4.12/srclib/apr-util

 

PCRE 설치

] tar -xvf pcre-8.37.tar.gz

] cd pcre-8.37

] ./configure --enable-unicode-properties=yes

] make && make install

 

HTTPD 설치

] cd httpd-2.4.12

] ./configure --prefix=/usr/local/apache24 --enable-so --enable-rewrite --enable-proxy --enable-ssl --enable-mods-shared=all --enable-modules=shared --enable-mpms-shared=all --with-included-apr --with-included-apr-util

] make && make install

 

mod_jk 설치

] tar -xvf tomcat-connectors-1.2.40-src.tar.gz

] cd tomcat-connectors-1.2.40-src/native

] ./configure --with-apxs=/app/apache/bin/apxs

] make && make install

 

AH00557: httpd: apr_sockaddr_info_get() failed for WEB1

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message

vi /data/apache2.4/conf/httpd.conf (209 line)

hostname 또는 서비스명 지정

 

 

반응형

' > WEB' 카테고리의 다른 글

아파치에서 modcluster mod_cluster 컴파일하기  (0) 2019.11.29
아파치 proxypass 연동  (0) 2019.11.29
아파치 윈도우 서비스 등록  (0) 2019.11.29
web - weblogic 연동 요청처리  (0) 2019.11.29
아파치, 웹로직 연동  (0) 2019.11.29

+ Recent posts