打印/下载
防火墙
软件源

防火墙

# 开机启动
systemctl enable firewalld
# 启动
systemctl start firewalld
# 添加规则
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --permanent --zone=public --add-service=mysql
# 重启
firewall-cmd --reload

软件仓库

# Epel源
dnf install epel-release -y
# PHP7.4
dnf install http://rpms.remirepo.net/enterprise/remi-release-8.rpm -y
{{copy}}