我最初通过apt-get install安装了Nginx.它工作得很好.现在,我想安装一些第三方模块,我必须重新编译Nginx.所以我试着重新编译.它经历了这些动作然后我意识到我的原始版本仍然是正在使用的版本.
我是否需要首先卸载我的原始Nginx副本才能正确安装另一个?
我的安装标志:
–conf-path = / etc / Nginx / Nginx.conf –error-log-path = / var / log / Nginx / error.log –pid-path = / var / run / Nginx.pid –lock- path = / var / lock / Nginx.lock –http-log-path = / var / log / Nginx / access.log –http-client-body-temp-path = / var / lib / Nginx / body – http-proxy-temp-path = / var / lib / Nginx / proxy –http-fastcgi-temp-path = / var / lib / Nginx / fastcgi –with-debug –with-http_stub_status_module –with-http_flv_module – -with-http_ssl_module –with-http_dav_module –with-http_gzip_static_module –with-http_realip_module –with-mail –with-mail_ssl_module –with-ipv6 –add-module = /usr/src / gnosek-Nginx-upstream -fair-5f6a3b7 –add-module = /usr/src / mod_strip