インストールする(その8)
Apache 1.3.37をインストールする
ソースからビルドするならば軽い方が良いと思い、インストールするApacheは1.3.37を選んだ。
以下の手順でダウンロードからインストール、そして起動までの作業を行う。
$ wget http://ftp.kddilabs.jp/infosystems/apache/httpd/apache_1.3.37.tar.gz $ tar zxvf apache_1.3.37.tar.gz $ cd apache_1.3.37 $ ./configure --enable-shared=max Configuring for Apache, Version 1.3.37 + using installation path layout: Apache (config.layout) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + using "tr [a-z] [A-Z]" to uppercase + checking for system header files + adding selected modules + using system Expat + using -ldl for vendor DSO support + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/regex Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/modules/standard $ make $ su # 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/ | +--------------------------------------------------------+ # /usr/local/apache/bin/apachectl start [Fri Sep 1 14:05:57 2006] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName /usr/local/apache/bin/apachectl start: httpd started
素晴らしい、実に速い立ち上がりである。
試しに、ホストからhttp://comomonga:8080をアクセスして見る。
素晴らしい、実に速いレスポンスである。