首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

rhel 5.5 中装配 apache2.2.22

2012-07-30 
rhel 5.5 中安装 apache2.2.22声明:本文参考文章 http://zhumeng8337797.blog.163.com/blog/static/100768

rhel 5.5 中安装 apache2.2.22

声明:本文参考文章 http://zhumeng8337797.blog.163.com/blog/static/100768914201051121835414/

?

rhel 5.5 中安装 apache2.2.22 步骤:

1. 到 http://httpd.apache.org/download.cgi?网站上下载 需要安装的版本,本文安装的是 httpd-2.2.22.tar.gz 这个版本。

2. 下载好后,放在 /usr/software 目录下(这个目录任意)

3. 进入 /usr/software?? , 解压下载下载的安装包 ( tar -zxvf httpd-2.2.14.tar.gz )。

4. 进入解压后的目录 , /usr/software/httpd-2.2.22 , 执行? ./configure --prefix=/usr/local/apache --enable-module=so

5. 执行命令 make && make install

6. 启动apache , /usr/local/apache/bin/apachectl start

7.检测 80端口是否起来监听,netstat -tnl

8. 如果正常起来了,用浏览器验证一下 , http://localhost?,如果浏览器里显示 "It Works! " , 说明安装成功。

?

?

?

热点排行