

免费资源网 – https://freexyz.cn/
目录
1、停止Nginx软件
2、查找根下所有名字包含nginx的文件
3、执行命令 rm -rf *删除nignx安装的相关文件
4、其他设置
1、安装gcc
2、pcre、pcre-devel安装
3、zlib安装
4、安装openssl
1、下载nginx安装包
2、把压缩包解压到usr/local/java
3、切换到cd /usr/local/java/nginx-1.9.9/下面
4、切换到/usr/local/nginx安装目录
5、配置nginx的配置文件nginx.conf文件,主要也就是端口
6、启动nginx服务
8、访问你的服务器IP
9、nginx常用命令
前言
在开局配置Nginx时有可能会配置错误,报各种错误代码。看不懂或者懒得去看这个报错时,其实最简单的方式是卸载并重装咯。今天就带大家一起学习下,如何彻底卸载nginx程序。
一、卸载NGINX
卸载nginx程序的详细步骤
1、停止Nginx软件
/usr/local/nginx/sbin/nginx -s stop
© 版权声明
THE END
★喜欢这篇文章吗?喜欢的话,麻烦动动手指支持一下!★
相关推荐
暂无评论内容