我的知识记录

Linux + 宝塔部署网站后无法访问怎么办?

1. 基础排查步骤 bash# 检查Web服务状态 systemctl status nginx # 或 apache2 # 查看防火墙规则 firewall-cmd --list-all可能问题 未启动Web服务 → systemctl start