1.检查是否加入开机自启 systemctl is-enabled nginx 2.加入开机自启,并立刻启动 systemctl enable nginx --now 3.查看启动配置 systemc cat nginx