E-PARLOR : Apache

HomePage :: Blog :: Gallery :: Library :: Forum :: Categories :: Index :: Changes :: Comments :: Login
Apache+mod_ssl

OpenSSH
# ./configure --with-tcp-wrappers --disable-suid-ssh --with-ipv4-default --disable-pam

■Apache + mod_ssl

mod_ssl+OpenSSLのインストール

mod_sslとOpenSSLを別途入手しなくてはならない。mod_sslはバージョンごとに対応するApacheのバージョンが限定されるから、入手する際はバージョンの整合性に注意!
※SSL対応にはいくつか種類がありますがmod_sslは、Apache対応が早い。

■必要なファイル(ソース)の入手
Apache 1.3.29
mod_ssl 2.8.16-1.3.29
OpenSSL 0.9.7d

関連サイト:
http://www.apache.org/ (Apacheオフィシャルサイト)
http://www.modssl.org/ (mod_sslオフィシャルサイト)
http://www.openssl.org/ (OpenSSLオフィシャルサイト)

Apache-SSLと同様、インストールには Perl5(perl -vで確認可能)が必要。

■インストール手順
 はじめに、OpenSSLのコンパイルを行う。これは一般ユーザーでも行える。tarで圧縮ファイルを展開し、作成されたディレクトリでconfig以下のコマンドを実行する。configコマンドを実行する前に、INSTALLおよびREADMEファイルを参照しておいてほしい。

1.OpenSSL コンパイル&インストール
$ tar -zxvf openssl-0.9.7d.tar.gz
$ cd openssl-0.9.7d
$ ./config
$ make
$ make test
$ make install

2.Apache&mod_ssl 展開
$ tar -zxvf apache_1.3.29.tar.gz
$ tar -zxvf mod_ssl-2.8.16-1.3.29.tar.gz
$ cd mod_ssl-2.8.16-1.3.29

3.mod_ssl+Apacheのコンフィグ(Apacheと関連)
[root@ep mod_ssl-2.8.16-1.3.29]# ./configure --with-apache=../apache_1.3.29 --with-ssl=/usr/local/ssl --enable-rule=SHARED_CORE --with-layout=Apache --enable-module=so --enable-module=status --enable-module=info --enable-module=rewrite --enable-module=usertrack

4.コンパイル&インストール
$ cd ../apache_1.3.29
$ make
$ make certificate
$ make install

There are no comments on this page. [Add comment]

1999-2006 The E-PARLOR Project. All right reserved. :: Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.1
Page was generated in 0.0182 seconds