1. Apache 2.0.55について
1.1 Apache2.0.55 とはなに
Apache 2.0.55はApache2の2005年10月26日時点での最新Versionです。前Versionの2.0.44からのセキュリティフィックスやBugFixが行われています。
1.2 Apache2.0.55を手に入れる
Apache2.0.55はApache 日本語公式サイトからダウンロードできます。
Apache 2.0.54のダウンロードと同様の方法でダウンロードできます。
2. Apache2.0.55のインストール
2.1 Apache2.0.55をインストールする
Apache 2.0.55のインストールはダウンロードしたtarballを展開し、コンパイルすることによって行います。
次の手順で、Apache 2.0.55をインストールします。
- tarballを/usr/local/src/下にコピーします。
[atsushifx@agartha apache] cp httpd-2.0.55.tar.bz2 /usr/local/src/
- /usr/local/src/下に移動します。
[atsushifx@agartha apache] cd /usr/local/src
- tarballを展開します。
[atsushifx@agartha src]$ tar zxvf httpd-2.0.55.tar.bz2
- Apache2ソースディレクトリに移動します。
[atsushifx@agartha src]$ cd httpd-2.0.55
- ./cfとしconfigureを実行します。
[atsushifx@agartha httpd-2.0.54]$ chmod +x cf; ./cf
- ./cf
-
./configure \
--prefix=/usr/local/apache --mandir=/usr/local/man \
--enable-charset-lite --enable-cache \
--enable-file-cache --enable-disk-cache --enable-mem-cache \
--enable-so \
--enable-auth=shared --enable-include=shared --enable-env=shared \
--enable-mime-magic=shared --enable-headers=shared \
--enable-unique-id=shared --enable-setenvif=shared \
--enable-mime=shared --enable-autoindex=shared \
--enable-status=shared --enable-info=shared \
--enable-suexec=shared --enable-cgid=shared --enable-cgi=shared \
--enable-vhost-alias=shared --enable-negotiation=shared \
--enable-dir=shared --enable-userdir=shared --enable-alias=shared \
--enable-rewrite=shared --enable-ssl=shared
- makeして実行ファイルを作成します。
[atsushifx@agartha httpd-2.0.54]$ make
- 実行ファイルをインストールします。
[atsushifx@agartha httpd-2.0.55]$ su
Password: ******
[root@agartha httpd-2.0.55]$ /etc/init.d/httpd stop
[root@agartha httpd-2.0.55]$ make install
以上でインストールは終了です。
2.2 Apache2.0.55の設定し、起動する
Apacheを動かすために、httpd.confの設定をします。
詳細はApache 2.0.54と同様です。
設定が終わったら、
[root@agartha tmp]$ /etc/init.d/httpd start
としてApacheを起動します。
2.3 Apache2.0.55を動作を確認する
Apacheが正常に動作するかを確認するため、http://agarha/server-infoにアクセスし、動作を確認します。
下記のような画面が表示されれば、Apacheは正常に動いています。
- http://agartha/server-info
以上で動作の確認は終了です。
|