You cannot see this page without javascript.

CentOS7 에서 apache에 mod_http2 적용하기

APM 조회 수 639 추천 수 0 2017.02.07 10:43:36

* 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

 

첨부
엮인글 :
https://tocup.net/xe/tech/64159/94e/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수
» APM CentOS7 에서 apache에 mod_http2 적용하기 file LynX 2017-02-07 639
328 CentOS CentOS7 WHEEL 계정 추가 file LynX 2017-02-03 127
327 APM MySQL 5.7 바이너리 Archive 설치 file LynX 2017-02-02 264
326 CentOS centos7 gcc-4.9.2 compile install LynX 2017-01-25 276
325 CentOS CentOS7 mono 설치 LynX 2016-12-30 563
324 APM hhvm install file LynX 2016-12-28 225
323 APM Apache httpd 2.4 mod_deflate file LynX 2016-12-23 191
322 Server 사이트 품질 측정 website.grader.com LynX 2016-12-22 67
321 Linux linux starcraft private server build, pvpgn LynX 2016-12-06 114
320 Network pka파일 만드는 방법 file LynX 2016-10-24 225
319 APM php opcache 설치 file LynX 2016-10-14 438
318 Linux linux 시간설정 file LynX 2016-10-07 202
317 LinuxMint joystick install file LynX 2016-09-30 87
316 Linux MAME file LynX 2016-09-28 108
315 APM PHP Suhosin 설치 file LynX 2016-09-28 47
314 Xpress Engine mobileex 사용하여 모바일에서 첨부파일 올릴때 무한 로딩 현상 LynX 2016-09-27 75
313 Xpress Engine XE에 memcache 사용 설정 LynX 2016-09-23 62
312 APM php에 memcached.so 확장 모듈 적용 file LynX 2016-09-23 65
311 APM php7에 memcache.so 확장 모듈 적용 file LynX 2016-09-23 149
310 Xpress Engine xe 현재접속과 로그인 수 표시 addon 1.3.0 file LynX 2016-09-22 104

XE Login