# wget http://nginx.org/download/nginx-1.16.0.tar.gz
# tar -zxvf nginx-1.16.0.tar.gz
# ./configure --prefix=/usr/nginx
私は、エラーが発生しました
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.
その理由は、PCREライブラリの欠如で、インストールするには、次のコマンドを実行します。
# yum install pcre-devel
インストールが成功した後、再実行confingコマンドが成功し、実行されます
# make
ランニング、完了後に、コンパイル
# make install
これまでのところ、インストール、nginxのインストールが成功したコンパイルします。