Установка Nginx-1.14.2 centos7

Шаг 1: Установка зависимостей

ням -y установить PCRE-разви OpenSSL OpenSSL-разви Libevent-Devel LibXSLT-разви GCC GCC-C ++ GCC-g7

Шаг второй: Скачать Nginx-1.14.2.tar.gz

               Извлечь в / USR / местные / инструменты

               TAR -zxvf Nginx-1.14.2.tar.gz

               CD Nginx-1.14.2

Шаг третий: установка компилятора

              ./configure prefix = / USR / местные / Nginx --with-select_module --with-poll_module --with-файл-AIO --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module --with-почта --with-mail_ssl_module

               сделать && сделать установку 

 

рекомендация

отwww.cnblogs.com/ligang0357/p/11362469.html