centos 安装apache

1.检查有没有安装过
#rpm -qa httpd
如果没有返回信息,说明没有安装过
 
2.#yum install httpd
 
3.#service httpd start
#chkconfig httpd on
posted @ 2015-01-19 11:22  BiboXie  阅读(132)  评论(0编辑  收藏  举报