You cannot see this page without javascript.

CentOS7 에서 apache에 mod_http2 적용하기

APM 조회 수 1913 추천 수 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

 

첨부
엮인글 :
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
369 APM mariadb download origin address LynX 2019-06-19 1990
368 APM What one can and should optimize LynX 2019-06-03 1416
367 CentOS mariadb install LynX 2019-05-31 1180
366 CentOS init mode change LynX 2019-05-30 1289
365 APM ext zip install LynX 2019-02-19 1613
364 APM ext ImageMagick install LynX 2019-02-19 511
363 3D Printer Pronterface(PrintRun) install file LynX 2018-09-13 753
362 CentOS Grub UUID change LynX 2018-08-08 867
361 Linux letsencrypt wildcard LynX 2018-07-26 798
360 Printer cura usb connection LynX 2018-07-06 666
359 CentOS cli 무선랜 LynX 2018-06-07 446
358 APM 윈도우에 APM 페키지 설치 file LynX 2018-05-04 586
357 APM MySQLTuner 설치 LynX 2018-04-27 544
356 CentOS CentOS7 커널 업데이트 LynX 2018-04-23 699
355 HTML Tag CSS 여러가지 모양 만들기 LynX 2018-02-08 771
354 Linux wkhtmltopdf wkhtmltoimage install LynX 2018-01-31 602
353 APM LZ4_LIBS Not Found (CentOS7, MariaDB 10.1.29) LynX 2018-01-03 485
352 APM mysql ./configure LynX 2017-12-15 804
351 APM PHP-7.2.0 LynX 2017-12-12 3157
350 Linux libiconv LynX 2017-12-08 558

XE Login