How do I uninstall nginx installed as part of passenger installation on Ubuntu 11.04?
Should I just gem uninstall passenger
? Will that remove nginx as well?
This is what I see when I run 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.
This Nginx is usually located in /usr/sbin/nginx, with configuration file /etc/nginx/nginx. conf.
You most likely used passenger-install-nginx-module
to install it. If you run gem uninstall passenger
it will remove the dependent modules as well.
Uninstallation is covered in the official manual "Phusion Passenger users guide, Nginx version".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With