CentOS6.5 に mod_h2(http2) をインストールしてみた(失敗中)
CentOS6.5 に mod_h2(http2) をインストールしてみました(失敗中)
mod_h2のインストールには autoconf >= 2.6.8 や nghttp2 などが必要なので、順次先に入れておきます。
以下、手順。
autoconf 2.6.9 のインストール
$ wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz $ tar zxvf autoconf-2.69.tar.gz $ cd autoconf-2.69 $ ./configure --prefix=/usr $ make $ make install $ autoconf --version
APXS ( APache eXtenSion tool ) のインストール
多くの方は入れていると思いますが、APXSってあまり聞かなかったので掲載
$ yum install httpd-devel
nghttp2 のインストール
$ git clone https://github.com/tatsuhiro-t/nghttp2.git $ cd ./nghttp2 $ autoreconf -i $ automake $ autoconf $ ./configure $ make $ make install
mod_h2 のインストール
$ wget https://github.com/icing/mod_h2/archive/master.zip $ unzip master.zip $ cd mod_h2 $ autoreconf -i $ automake $ autoconf $ ./configure $ make
コンパイルエラーが出て諦め
おそらくは apache2.4 をインストールすれば問題ないような
ぼちぼちDockerでも・・・