本文共 215 字,大约阅读时间需要 1 分钟。
nginx卸载
其实很简单,只需要两步即可完成! 第一步:输入以下指令全局查找nginx相关的文件:find / -name nginx*
第二步:删除查找出来的所有nginx相关文件
rm -rf file 文件名
说明:全局查找往往会查出很多相关文件,但是前缀基本都是相同,后面不同的部分可以用*代替,以便快速删除~
举例说明:
rm -rf file /usr/local/nginx*
删除之后,便可重新安装nginx了
转载地址:http://tbuci.baihongyu.com/