tar zxvf apache_1.3.19.tar.gz
tar zxvf imap-2000c.tar.Z
tar zxvf mod_jserv.so..so
tar zxvf mysql-3.23.33-pc-linux-gnu-i6862.tar.gz
tar zxvf openldap-2.0.7.tar.gz
tar zxvf php-4.0.4pl1.tar.gz
tar zxvf jakarta-tomcat-3.3-m2.tar.gz
tar zxvf phpMyAdmin_2.1.0.tar.gz
chmod a+X j2sdk-1_3_0_02-linux.bin 会生JSDK1.3的目录
二、开始安装
安装IMAP
cd imap-2000c
make slx
cp imap/imapd /usr/sbin
cp ipopd/ipop2d /usr/sbin
cp ipopd/ipop3d /usr/sbin
三、 安装LDAP
cd ../openldap-2.0.7
./configure --prefix=/home/ldap
--enable-dns --enable-cldap --enable-ldapd
--enable-wrappers --enable-phonetic
--enable-passwd --enable-shell
make depend
make
make test
su root -c \make install\
四、 安装MYSQL
cd ../mysql.X.X
./configure --prefix=/home/mysql
make
make install
scripts/mysql_install_db
/home/mysql/bin/safa_mysqld &
/home/mysql/bin/mysqladmin -u username password yourpassword
自起动:
cp /home/mysql/share/mysql/mysql.server /etc/rc.d/rc.local/mysql
运行setup在系统一项中选择mysql
五、 安装PHP4
cd ../apache.1.3.19
./configure --prefix=/home/httpd
cd ../php4.0.4
./configure --with-mysql=/home/mysql
--with-apache=/home/hailang/apache源码
--with-imap=/home/hailang/imap源码
--with-ldap=/home/ldap
--enable-track-vars
make
make install
六、 安装apache
cd ../apache.1.3.19
./configure --prefix=/home/httpd
--activate-module=src/modules/php4/libphp4.a
--enable-moudle=so(如果不要JSP支持可以不要)
make
make install
cp ../php4.0.4/php.ini-dist /usr/local/lib/php.ini
将/home/httpd/conf/httpd.conf文件中的
# And for PHP 4.x, use:
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
改为:
# And for PHP 4.x, use:
#AddType application/x-httpd-php .php .php3
#AddType application/x-httpd-php-source .phps
将:
DirectoryIndex index.html