一条命令搭建linux http服务(appache版本)
yum -y install httpd && printf " <h1>RS Centos</h1>" > /var/www/html/index.html &&systemctl start httpd && systemctl enable httpd && ls /var/www/html/ && httpd -v && cat /var/www/html/index.html
查看appache访问日志
tail -f /var/log/httpd/access_log