kikukawa's diary

都内で活動するシステムエンジニアが書いてます。 興味を持った技術やハマったポイント、自分用メモをつけてます。 最近はweb中心

Apacheをソースからインストール

案件で特定のバージョンのApacheが必要になったので、
ソースからインストール。その時のメモ

作業フォルダを作って移動

mkdir src
cd src/

ソースのダウンロード

wget http://archive.apache.org/dist/httpd/apache_1.3.34.tar.gz

解凍

tar xvfz apache_1.3.34.tar.gz

フォルダに移動

cd apache_1.3.34

configureの設定

./configure --enable-module=so

make

make

install

make install

終わるとこんな表示

                                                                                                                  • +
You now have successfully built and installed the
Apache 1.3 HTTP server. To verify that Apache actually
works correctly you now should first check the
(initially created or preserved) configuration files
/usr/local/apache/conf/httpd.conf
and then you should be able to immediately fire up
Apache the first time by running:
/usr/local/apache/bin/apachectl start
Thanks for using Apache. The Apache Group
http://www.apache.org/
                                                                                                                  • +