摘要: 环境:CentOS 7 Nginx根目录:/etc/nginx/ (*^__^*) ,粗略记录,后期慢慢记录补充~ 阅读全文
posted @ 2019-10-23 17:56 懵咚 阅读(19295) 评论(0) 推荐(0) 编辑
摘要: 在虚拟机centos7上安装nginx之后虚拟机内能访问,真机不能访问,修改iptables配置也不起作用,最后上网查找了资料后才发现centos的防火墙改成了firewall,不再叫iptables,开放端口的方法如下: 命令含义: –zone #作用域 –add-port=80/tcp #添加端 阅读全文
posted @ 2019-10-23 16:34 懵咚 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 安装参考: https://www.cnblogs.com/liujuncm5/p/6713784.html 添加为系统服务参考: https://www.jianshu.com/p/c51c1a0285ff sudo systemctl start nginx 报错: Job for nginx. 阅读全文
posted @ 2019-10-23 16:16 懵咚 阅读(151) 评论(0) 推荐(0) 编辑