RT,在不方便配置yum的时候,如何给Centos 6.6 x86_64 Basic Server 快速安装httpd。


拷贝光盘中以下rpm包到Centos6.6中:


    apr-1.3.9-5.el6_2.x86_64.rpm

    apr-util-1.3.9-3.el6_0.1.x86_64.rpm

    apr-util-ldap-1.3.9-3.el6_0.1.x86_64.rpm

    httpd-tools-2.2.15-39.el6.centos.x86_64.rpm

    httpd-2.2.15-39.el6.centos.x86_64.rpm


然后顺序执行下面的命令,就可以安装httpd服务,并启动该服务:

rpm -ivh apr-1.3.9-5.el6_2.x86_64.rpm
rpm -ivh apr-util-1.3.9-3.el6_0.1.x86_64.rpm
rpm -ivh apr-util-ldap-1.3.9-3.el6_0.1.x86_64.rpm
rpm -ivh httpd-tools-2.2.15-39.el6.centos.x86_64.rpm
rpm -ivh httpd-2.2.15-39.el6.centos.x86_64.rpm
service httpd start