ʞɹᴉ*_*ʌɐp 17 linux ubuntu nginx
我知道这个问题也早先被问过,我已经完成了它们,但它并没有解决我的问题.
要从系统中删除nginx,我执行以下命令
sudo apt-get remove nginx
sudo apt-get purge nginx
Run Code Online (Sandbox Code Playgroud)
哪个实际上卸载了所有内容,但是当我这样做nginx -V时仍然返回以下内容......
nginx版本:由gcc 4.7.3构建的nginx/1.4.1(Ubuntu/Linaro 4.7.3-1ubuntu1)启用TLS SNI支持配置参数: - prefix =/etc/nginx --sbin-path =/usr/sbin/nginx --conf-path =/etc/nginx/nginx.conf --error-log-path =/var/log/nginx/error.log --http-log-path =/var/log/nginx/access. log --pid-path =/var/run/nginx.pid --lock-path =/var/run/nginx.lock --http-client-body-temp-path =/var/cache/nginx/client_temp --http-proxy-temp-path =/var/cache/nginx/proxy_temp --http-fastcgi-temp-path =/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path =/var/cache/nginx/uwsgi_temp --http-scgi-temp-path =/var/cache/nginx/scgi_temp --user = nginx - group = nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module - with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-http_spdy_module--with-file-aio --with-ipv6 --with-http_spdy_module--with-file-aio --with-ipv6 --with-http_spdy_module
也ps aux | grep nginx没有显示正在运行的任何nginx服务.
现在我不确定我是否完全删除了nginx?如果没有那么如何删除它?
并dpkg -l | grep nginx返回以下......
ii nginx-common 1.2.6-1ubuntu3所有小巧,功能强大,可扩展的Web /代理服务器 - 常用文件
ii nginx-full 1.2.6-1ubuntu3 i386 nginx web /代理服务器(标准版)
编辑:我从源头安装它.
twa*_*erg 26
从您的输出dpkg -l显示,所涉及的包名实际上是nginx-full和nginx-common,不只是简单nginx.这些是需要删除的包.
要查找包含特定程序(例如nginx)的程序包,您始终可以运行dpkg -S $(which nginx).
| 归档时间: |
|
| 查看次数: |
28817 次 |
| 最近记录: |