摘要: 永久关闭防火墙sudo systemctl stop firewalldsudo systemctl disable firewall 有两个防火墙!如果上面那个关闭还不行,就继续关这个后重启。 需要关闭防火墙!才能访问,或者开放端口。 server { listen 8080; server_na 阅读全文
posted @ 2023-12-19 18:48 猫猫客服 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 建议: 本次lnmp采用yum形式安装,编译安装过于繁琐,操作不好还不如yum安装,所以不推荐。 全部安装在宿主机上,如果需要安装多个版本的软件才使用docker nginx无所谓版本了 刚安装好系统,升级一下yum sudo yum clean allsudo yum update yum ins 阅读全文
posted @ 2023-12-19 17:30 猫猫客服 阅读(12) 评论(1) 推荐(0) 编辑
摘要: 系统环境:centos7 php7.4 编译安装太繁琐,这里用yum安装即可 yum形式安装 # 安装EPEL源(nginx那里已安装了,跳过) yum install -y epel-release # 安装Remi源 yum install -y https://rpms.remirepo.ne 阅读全文
posted @ 2023-12-19 16:25 猫猫客服 阅读(22) 评论(1) 推荐(0) 编辑