1.rpm -qa|grep httpd

2.which httpd

3.yum install httpd

4.service httpd start

5.service httpd status

6.然后在/var/www/html/下增加index.html文件