it群 www.itqun.net
页面导航: 首页>> 网络编程>> PHP教程>>正文内容: apache with ssl安装

apache with ssl安装

浏览次数: 次 字体:[增加 减小] 类型:转载
apache为1.3.11 mysql+php3
另需以下几个文件:
mm-1.1.3.tar.gz
openssl-0.9.6.tar.gz
mod_ss-2.5.1-1.3.11.tar.gz
rsaref20.tar.Z
将以上几个文件放在同一目录下,解压。
tar zxvf mysql.tar.gz
cd mysql
./configure --prefix=/usr/local/mysql
make
make install
tar zxvf apache.tar.gz
tar zxvf php.tar.gz
cd apache
./configure --prefix=/usr/local/httpd
cd php
./configure --with-mysql=/usr/local/mysql \
--with-apache=../apache \
--enable-track-vars
make
make install

tar zxvf mm
tar zxvf openssl
tar zxvf mod_ssl

makdir rsaref-2.0
cd rsaref-2.0
gzip -d -c ../rsaref20.tar.z | tar xvf -
cp -rp install/unix local
cd local
make
mv rsaref.a librsaref.a

cd openssl
config -fPIC
make
make test

cd mm
./configure --disable-shared
make

cd mod_ssl
./configure --with-apache=../apache \
--with-crt=/path/to/your/server.crt \
--with-key=/path/to/your/server.key 如未申请,不加此项设定

cd apache
SSL+BASE=../openssl \
EAPI_MM=../mm
./configure --enable-module=ssl \
--prefix=/usr/local/httpd \
--activate-module=src/modules/php3/libphp3.a
make
(make certificate 如未申请认证,则以此产生一个测试用的认证。)
make install

启动:apachectl startssl

apache为1.3.11 mysql+php3 另需以下几个文件: mm-1.1.3.tar.gz openssl-0.9.6.tar.gz mod_ss-2.5.1-1.3.11.tar.gz rsaref20.tar.Z 将以上几个文件放在同一目录下,解压。 tar zxvf mysql.tar.gz cd mysql ./configure --prefix=/usr/local/mysql make make install tar zxvf apache.tar.gz tar zxvf php.tar.gz cd apache ./configure --prefix=/usr/local/httpd cd php ./configure --with-mysql=/usr/local/mysql \ --with-apache=../apache \ --enable-track-vars make make install tar zxvf mm tar zxvf openssl tar zxvf mod_ssl makdir rsaref-2.0 cd rsaref-2.0 gzip -d -c ../rsaref20.tar.z | tar xvf - cp -rp install/unix local cd local make mv rsaref.a librsaref.a cd openssl config -fPIC make make test cd mm ./configure --disable-shared make cd mod_ssl ./configure --with-apache=../apache \ --with-crt=/path/to/your/server.crt \ --with-key=/path/to/your/server.key 如未申请,不加此项设定 cd apache SSL+BASE=../openssl \ EAPI_MM=../mm ./configure --enable-module=ssl \ --prefix=/usr/local/httpd \ --activate-module=src/modules/php3/libphp3.a make (make certificate 如未申请认证,则以此产生一个测试用的认证。) make install 启动:apachectl startssl

我要转载

转载本文
纯文本 HTML代码
最 近 更 新
热 点 排 行
论 坛 热 帖