Apache HTTP Server 2.2.20をソースからインストール
前回はMySQLをソースからインストールしました。
今回はApacheをソースからインストールしてみます。
インストール手順
# ソースをダウンロード wget http://ftp.jaist.ac.jp/pub/apache/httpd/httpd-2.2.20.tar.gz tar zxvf httpd-2.2.20.tar.gz cd httpd-2.2.20 # configure ./configure --enable-so --enable-ssl --enable-module=rewrite
ここで下記エラー発生...
configure: error: ...No recognized SSL/TLS toolkit detected
OpenSSLがなかったのでインストールします。
yum install openssl-devel # インストール作業再開 ./configure --enable-so --enable-ssl --enable-module=rewrite make # pacoを使わない場合は make install のみ paco -D make install
インストール完了です!