Anolis 23 LEMP 栈部署:nginx + MariaDB + PHP 实测
全链在 VM 431(Anolis 23.5)实测(E3);TLS/虚拟主机/性能调优不在本页。
# nginxsudo dnf install -y nginxsudo systemctl enable --now nginxnginx -v # 1.30.4
# MariaDBsudo dnf install -y mariadb-serversudo systemctl enable --now mariadb
# PHP + FPMsudo dnf install -y php php-fpm php-mysqlndsudo systemctl enable --now php-fpmphp -v # 8.3.36
# 防火墙sudo firewall-cmd --permanent --add-service=httpsudo firewall-cmd --reload
# 验证curl -s -o /dev/null -w '%{http_code}\n' http://localhost/ # 200ss -tlnp | grep -E '(:80|:3306|:9000)'与其他 EL 系的差异
Section titled “与其他 EL 系的差异”包名/服务名与 Rocky/Alma 一致(nginx/mariadb-server/php-fpm);差异在仓库供给(23 线 os 树双层、包后缀 -an23)——跨范围结构一致,本页提供 Anolis 特有锚点。