摘要: 外网访问WEB,需要关闭活着适当配置防火墙。centos7 防火墙状态查看、关闭、打开命令: firewall-cmd --state #防火墙状态查看 systemctl stop firewalld.service #防火墙关闭 systemctl start firewalld.service 阅读全文
posted @ 2023-12-14 18:49 李半壶 阅读(187) 评论(0) 推荐(0)
摘要: 在 CentOS 7 上安装 PHP、Apache 和 MariaDB(替代 MySQL)的过程如下: 1. 更新系统:sudo yum update 2. 安装 Apache:sudo yum install httpd 3. 启动 Apache 服务并设置开机自启:sudo systemctl 阅读全文
posted @ 2023-12-14 17:25 李半壶 阅读(95) 评论(0) 推荐(0)