mod_http2 적용하기

HTTPD 조회 수 5073 추천 수 0 2017.02.10 10:18:22

* cmake upgrade
wget https://cmake.org/files/v3.7/cmake-3.7.2.tar.gz
tar zxvf cmake-3.7.2.tar.gz
cd cmake-3.7.2/
./configure --prefix=/apm/server/cmake
make -j 4
make install

 

* nghttp2 install
autoreconf -i
automake
autoconf
./configure --prefix=/apm/server/nghttp2
make
make install
ldconfig

 

* apache httpd compie
./configure --prefix=/apm/server/apache/httpd --sysconfdir=/apm/server/conf --with-apr=/apm/server/apache/apr/bin/apr-1-config --with-apr-iconv=/apm/server/apache/apr-iconv-1.2.1/apriconv --with-apr-util=/apm/server/apache/apr-util-1.5.4/bin/apu-1-config --with-libxml2 --with-mpm=worker --with-pcre --with-ssl --with-z --enable-authn-socache=no --enable-authnz-ldap=no --enable-cache --enable-cgid=no --enable-deflate --enable-dav --enable-dav-fs=no --enable-dav-lock=no --enable-ext-filter=no --enable-expires --enable-file-cache --enable-headers --enable-isapi=no --enable-lbmethod-bybusyness=no --enable-lbmethod-byrequests=no --enable-lbmethod-bytraffic=no --enable-lbmethod-heartbeat=no --enable-ldap=no --enable-mime-magic --enable-mods-shared=most --enable-modules=most --enable-mpms-shared=all --enable-proxy --enable-proxy-ajp=no --enable-proxy-balancer=no --enable-proxy-connect=no --enable-proxy-express=no --enable-proxy-fcgi=no --enable-proxy-fdpass=no --enable-proxy-ftp=no --enable-proxy-http=no --enable-proxy-scgi=no --enable-rewrite --enable-so --enable-socache-dbm=no --enable-socache-shmcb --enable-ssl --enable-vhosts-alias --enable-http2 --with-nghttp2=/apm/server/nghttp2 --enable-nghttp2-staticlib-deps
make
make install

 

* httpd.conf

LoadModule http2_module modules/mod_http2.so

<IfModule http2_module>
     ProtocolsHonorOrder On
     Protocols h2 http/1.1
</IfModule>

 

mod-h2.png

 

 

첨부
엮인글 :
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
» HTTPD mod_http2 적용하기 file LynX 2017-02-10 5073
11 HTTPD mod_security2 적용 file LynX 2017-02-10 5050
10 PHP php opcache 설치 file LynX 2016-10-14 2082
9 HTTPD Apache httpd 2.4 mod_deflate file LynX 2017-02-10 1540
8 E-Mail RoundCube 첨부 용량 변경 / 한글 수정 LynX 2016-09-22 1512
7 PHP hhvm install file LynX 2017-02-10 911
6 PHP php7에 memcache.so 확장 모듈 적용 LynX 2016-09-26 573
5 Xpress Engine XE에 memcache 사용 설정 LynX 2016-09-26 522
4 Linux Common 시간 설정 file LynX 2016-10-10 485
3 Xpress Engine mobileex 사용하여 모바일에서 첨부파일 올릴때 무한 로딩 현상 LynX 2016-09-27 479
2 PHP php에 memcached.so 확장 모듈 적용 LynX 2016-09-26 436
1 Linux Common Linux 정규식과 표현 LynX 2016-09-22 358