Think before you speak, read before you think.

完全删除apt-get得到的nginx

apt-get的好是好,但是不是最新版,各种路径都不熟悉

其实是通过locate nginx这个命令来找到这些目录,然后移除

以下是我的一些命令

rm -rf /etc/nginx/
rm -rf /usr/sbin/nginx
rm -rf /usr/share/doc/nginx
rm -rf /var/log/nginx/
apt-get remove nginx*

:)EOT


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *