Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

是不是应该装apache1.x而放弃2.x?

[复制链接]
up1m 发表于 2003-11-19 23:25:05 | 显示全部楼层 |阅读模式
mod_gzip都装不上啊。
是我弱还是2.x烂啊?

make install "s/need_relink=yes/need_relink=no/" APXS=/etc/httpd/bin/apxs
/etc/httpd/bin/apxs -i mod_gzip.la
/etc/httpd/build/instdso.sh SH_LIBTOOL='/etc/httpd/build/libtool' mod_gzip.la /etc/httpd/modules
/etc/httpd/build/libtool --mode=install cp mod_gzip.la /etc/httpd/modules/
cp .libs/mod_gzip.lai /etc/httpd/modules/mod_gzip.la
cp .libs/mod_gzip.a /etc/httpd/modules/mod_gzip.a
ranlib /etc/httpd/modules/mod_gzip.a
chmod 644 /etc/httpd/modules/mod_gzip.a
PATH="$PATH:/sbin" ldconfig -n /etc/httpd/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /etc/httpd/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Warning!  dlname not found in /etc/httpd/modules/mod_gzip.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /etc/httpd/modules/mod_gzip.so
chmod: 无法取得 ‘/etc/httpd/modules/mod_gzip.so’ 的属性: 没有那个文件或目录
apxs:Error: Command failed with rc=65536
.
make: *** [install] Error 1

[ Last edited by up1m on 2003-11-19 at 11:29 PM ]
bluefire 发表于 2003-11-20 22:58:06 | 显示全部楼层
我从来都是喜欢1的
回复

使用道具 举报

 楼主| up1m 发表于 2003-11-20 23:01:34 | 显示全部楼层
今天看了一天的www.apache.org和google,其实2也不差,是我太弱啦

1 的mod_gzip压缩率相当高,可以达到原来的30%
2 其实内置了deflate,配置后压缩率缺省可以达到原来的39%,同时比1消耗更少的内存和cpu

我试了一下,的确不虚此言。先用着2吧。

有时候逼着自己多看多看再多看,多查多查再多查,还是会有点收获di。

[ Last edited by up1m on 2003-11-20 at 11:03 PM ]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-15 04:57 , Processed in 0.098691 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表