#需要根据你的需要修改一些目录,或者增删一些选项。# By SonyMusic(sonymusic@163.net)
# Mysql 3.22.32的安装脚本
mysql_ver=mysql-3.22.32
prefix=/ugsc/mysql
cd $mysql_ver
./configure --prefix=$prefix
make
make install
cd ..
echo $mysql_ver install ok...
#apache的预配置脚本
apache_ver=apache_1.3.12
prefix=/ugsc/apache
cd $apache_ver
./configure --prefix=$prefix
#only prefix ,not make and install
cd ..
echo $apache_ver prefix ok...
#apache的安装脚本(install_apache.bat)
apache_ver=apache_1.3.12
prefix=/ugsc/apache
cd $apache_ver
./configure --prefix=$prefix --activate-module=src/modules/php4/libphp4.a --activate-module=src/modules/jserv/libjserv.a
#make and install
make clean
make
make install
cd ..
echo $apache_ver install ok...
#php4的安装脚本。
#
php4_ver=php-4.0.1pl2
apache_dir=apache_1.3.12
mysql_dir=/ugsc/mysql
imap_client=/usr/local/imap/c_client
sybase_dir=/opt/sybase
prefix=/ugsc/php4
ini_prefix=/ugsc/php4/ini
jdk_dir=/ugsc/jdk118_v1
jsdk_dir=/ugsc/JSDK2.0
cd $php4_ver
./configure --prefix=$prefix --with-config-file-path=$ini_prefix --with-java=$jdk_dir --with-apache=../$apache_dir --with-mysql=$mys
ql_dir --enable-ftp --enable-sysvshm --enable-sysvsem --with-ttf --with-imap=$imap_client --with-sybase=$sybase_dir
make clean
make
make install
cd ..
echo $php4_ver install ok