redhat 安装 apache
从apache 官网 http://httpd.apache.org/download.cgi 下载httpd-2.2.22.tar.gz (版本自己选择)
# cd httpd-2.2.22
# ./configure --prefix=/usr/local/apache
# make && make install
# cd /usr/local/apache/bin
# ./apachectl start //启动apache
访问 http://localhsot/ 如果出现 It works! 画面则成功!
可以在 /usr/local/apache/conf/httpd.conf 中更改端口,等配置