首页 Soft PlugIn RAN乱 Dev开发 Info资料 English WAP 留言 登陆 注册
-
Posted by Yippee | 评论(0) | 引用(0) | 阅读6403次
linux 安装 apache

linux apache 安装 www.shengfang.org
折腾了半天,终于解决了问题!

从头到尾步骤:
1、下载
访问: www.shengfang.org

Apache 2.0.54 is the best available version 
For details see the Official Announcement and the CHANGES_2.0 list.
Apache 2.0 add-in modules are not compatible with Apache 1.3 modules. If you are running third party add-in modules, you will need to obtain new modules written for Apache 2.0 from that third party before you attempt to upgrade from Apache 1.3.
Unix Source: httpd-2.0.54.tar.gz [PGP] [MD5]
Unix Source: httpd-2.0.54.tar.bz2 [PGP] [MD5]

 Use the Apache 1.3.33 version if you need to use third party modules that are not yet available as an Apache 2.0 module. Apache 1.3 is not compatibile with Apache 2.0 modules.
Unix Source: apache_1.3.33.tar.gz [PGP] [MD5]
Unix Source: apache_1.3.33.tar.Z [PGP] [MD5]

用WGET或者LYNX下载连接

2、解压 www.shengfang.org
tar vxzf httpd-2.0.54.tar.gz

3、配置
1.3.33
./configure --prefix=/home/sf/www/apache --enable-module=so --enable-module=rewrite --enable-shared=max
2.0.51
./configure --prefix=/home/sf/www/apache --enable-so --enable-mods-shared=most

4、安装
make  www.shengfang.org
make install

昨天折腾我半死的 linux 安装 apache Forbidden http://www.shengfang.org/blog/p/linuxinsthttpdforb.php

终于解决了,我发现如果用系统自带的HTTPD可以访问,如果网络上的配置例子
./configure --prefix=/usr/local/apache --enable-module=so --enable-module=rewrite --enable-shared=max
也可以~~~~

这个很重要,我终于不在怀疑我的LINUX的问题,
最后发现:我每次只是把 /home/sf/www/apache 设置为可以读写、可以 X ,访问目录,实际上,它是在SF下面,而SF是用户SF的目录。
所以我 CHMOD +777 也没有办法访问

最后 www.shengfang.org
[root at mobile home]# chmod +775 sf
[root@mobile home]# chmod +x sf

终于OK了!! www.shengfang.org

您能看见这个页面,说明Apache web server 已经安装成功。您可以在这个目录中增加内容,或者把这个页面替换掉。
--------------------------------------------------------------------------------
这不是你想看见的页面吧?
之所以会看见这个页面,是因为网站管理员改变了这个站点的设置。如果有疑问,请咨询维护此站点的人员。 Apache软件基金会, 即此站点所使用的网站服务器软件的开发者,不负责此站点的维护工作,也无法为您解决设置上的问题。
--------------------------------------------------------------------------------
Apache 文档已经包含在此发行版中。
您可以在使用Apache的网站服务器上,自由地使用下面的图片。感谢使用Apache!


字体:

Permanant URI永久地址 http://www.shengfang.org/blog/p/linuxinstapacheok.php
Trackback URI引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1126848398

2005年9月16日13:26星期五  [Dev开发] 追踪此文的RSS
提示:
此文还没有评论。

称呼:    登陆   注册
   不注册,但记住我的信息
邮件:
(非必须)
评论: [UBB代码帮助]
粗体 斜体 下划线 链接 水平线 引用



验证码: 请输入你看见的数字
关闭UBB      提交时自动将内容复制到剪贴板

公告
Fire and Motion!

统计信息
[Yippee]||[统计]||日志:1790
在线: 13||用户: 2562 [列表]
今日:1944||到访:2671443
Rss:838377||评论:1584

最新日志

最新评论

友情链接

日历

最新引用

搜索

归档

杂项
Get RSS Feed (Version 2.0)
Get Atom Feed (Version 0.3)
编码:  UTF-8