1.8 CVSWeb
CVSWeb3.0.0.tar.gz
2 安装步骤
2.1 安装Mysql
安装mysql server
# rpm -ivh MySQL-server-4.0.20-0.i386.rpm
安装mysql
# rpm -ivh MySQL-client-4.0.20-0.i386.rpm
安装mysql其他包
# rpm –ivh MySQL-devel-4.1.10-0.i386.rpm
# rpm –ivh MySQL-shared-4.1.10-0.i386.rpm
# rpm –ivh MySQL-shared-compat-4.1.10-0.i386.rpm
运行mysql 客户端,并开放root用户的远程访问权限。以便调试
# mysql
> use mysql
> update user set host = `%` where user = `root` and host <> `localhost`;
> exit
Mysql安装完毕。
2.2 安装apache
# tar -zxvf httpd-2.0.54.tar.gz
# cd httpd-2.0.54
# ./configure --prefix=/web/apache --enable-module=so
# make
# make install
Apache安装完毕。
说明:apache在linux下的默认大进程数为256,无论如何修改httpd.conf都不能超过这个限制。如果想加大这个限制,在编译apache前编辑/home/tmp/apache/src/include/httpd.h,将其中#define HARD_SERVER_LIMIT 256 一行改为#define HARD_SERVER_LIMIT 2048后再编译apache。
2.3 安装GD库
2.3.1 jpeg-6b 的安装
# tar -xf jpegsrc.v6b.tar
# cd jpeg-6b
# ./configure
# make
# make install
2.3.2 zlib 的安装
# tar –zxvf zlib-1.1.3.tar.gz
# cd zlib-1.1.3
# ./configure
# make
# make install
2.3.3 libpng 的安装
# tar –zxvf libpng-1.2.8.tar.gz
# cd libpng-1.2.8
# ./configure
# make
# make install
2.3.4 freetype 的安装
# tar –zxvf freetype-2.1.10.tar.gz
# cd freetype-2.1.10
# ./configure
# make
# make install
2.3.5 T1lib 的安装
# tar –zxvf t1lib-5.1.0.tar.gz
# cd t1lib-5.1.0
# ./configure
# make
# make install