检查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
时间: 2024-10-22 01:09:17