2018年10月29日
摘要: 查看当前系统的防火墙的状态,如果开启则需要添加响应的端口,不想开启的话,就直接关闭关闭防火墙 systemctl stop firewalld.service; 或者运行以下命令添加80端口: 开启80端口 firewall-cmd - -zone=public - -add-port=80/tcp 阅读全文
posted @ 2018-10-29 15:26 丢_泡_泡 阅读(531) 评论(0) 推荐(0) 编辑
摘要: CentOS 安装nginx yum install nginx 时报错:No package nginx available. 方法: 先安装epel; yum install epel-release 之后安装nginx; 阅读全文
posted @ 2018-10-29 14:40 丢_泡_泡 阅读(163) 评论(0) 推荐(0) 编辑