无法在centos6.5 / 6.8上安装nghttp2

时间:2016-08-25 05:59:59

标签: centos nghttp2

我从github下载源代码:https://github.com/nghttp2/nghttp2。 并按步骤安装:

$ autoreconf -i
$ automake
$ autoconf
$ ./configure
$ make

每一步都行,但我不能使用它。

nghttp

-bash:nghttp:找不到命令

但是,我在 Ubuntu 14.04 上成功安装了nghttp2!

1 个答案:

答案 0 :(得分:0)

sudo yum groupinstall "Development Tools"
sudo yum install libev libev-devel zlib zlib-devel openssl openssl-devel git

git clone git@github.com:tatsuhiro-t/nghttp2.git //or download and unzip
cd nghttp2
autoreconf -i
automake
autoconf
./configure --prefix=/usr/local/nghttpx --enable-app
make
sudo make install

/usr/local/bin/{nghttp,nghttpd,nghttpx}