1.安装apachea)卸载rpmhttpd软件#rpm-e--nodepshttpdhttpd-toolsb)解压缩httpd开源包c)配置安装参数#./configure--prefix=/usr/local/apache--enable-so--enable-rewrite--enable-chartset-lite--enable-cgid)编译并安装#make&&makeinstalle)调整apache的配置文件,将apache服务开启#vim/usr/local/apache/conf/httpd.confS