如何卸載作爲Ubuntu 11.04乘客安裝一部分安裝的nginx?卸載由乘客安裝的nginx
我應該只是gem uninstall passenger
?這是否會刪除nginx?
這是我所看到的,當我運行apt-get remove
:
sudo apt-get remove nginx-common nginx-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
**Package nginx-common is not installed, so not removed
Package nginx-full is not installed, so not removed**
The following packages were automatically installed and are no longer required:
nspluginwrapper linux-headers-2.6.38-13-generic libmysqlclient-dev libaprutil1-ldap libaprutil1-dev libmysqlclient16 libdb4.8-dev libaprutil1-dbd-sqlite3
apache2.2-bin linux-headers-2.6.38-14-generic linux-headers-2.6.38-12 linux-headers-2.6.38-13 linux-headers-2.6.38-14 mysql-common linux-headers-2.6.38-12-generic
Use 'apt-get autoremove' to remove them.
根據此錯誤消息,您沒有安裝nginx - 至少通過aptitude。是什麼讓你覺得你呢? – Veraticus
'sudo apt-get purge nginx- *','sudo apt-get autoremove'。 –
我不確定乘客用於編譯和安裝nginx的機制,但它確實存在。當我查看服務nginx狀態或/etc/init.d/nginx狀態時,我可以看到它正在運行 – thanikkal