安装apache yum -y install httpd 启动和开机自启 systemctl start httpd systemctl enable httpd 参考文献: https://blog.csdn.net/qq_43978898/article/details/104749854