检查rpm -qa httpd
[root@luozhonghua icons]# rpm -qa |grep httpd
httpd-2.2.15-30.el6.centos.i686
查看安装路径
rpm -ql httpd-2.2.15-30.el6.centos.i686
确保安装完
[root@luozhonghua icons]# yum -y install httpd
或者也可以
rpm -qa httpd
rmp -ql httpd
启动:
service httpd start
Centos 安装Apache软件,布布扣,bubuko.com
原文地址:http://blog.csdn.net/luozhonghua2014/article/details/37842785