Apacheのインストール
The Apache HTTP Server ProjectThe Open Source toolkit for SSL/TLS
ソースファイルの取得 (httpd-2.2.6 / openssl-0.9.8g)
- $ cd SOURCE_DIR
- $ mkdir apache
- $ cd apache
- $ wget http://www.meisei-u.ac.jp/mirror/apache/dist/httpd/httpd-2.2.6.tar.gz
- $ wget http://www.openssl.org/source/openssl-0.9.8g.tar.gz
ソースファイルの展開
- $ tar -xvzf httpd-2.2.6.tar.gz
- $ tar -xvzf openssl-0.9.8g.tar.gz
OpenSSLのコンパイル
- $ cd openssl-0.9.8g
- $ ./config -fPIC
- $ make
- $ make test
Apacheのコンパイル
- $ cd ../httpd-2.2.6
-
SSL_BASE=../openssl-0.9.8g \
./configure \
--prefix=/usr/local/apache \
--enable-rewrite \
--enable-so \
--enable-headers \
--enable-setenvif \
--enable-ssl \
--with-ssl=../openssl-0.9.8g \
--disable-imap \
--disable-userdir
- $ make
インストール
- $ su
- # make install

