1.3.27
インストール
$ tar zxfv apache_1.3.27.tar.gz
$ cd apache_1.3.27
$ ./configure --enable-shared=max --enable-module=so
$ make
$ su
Password:
# make install
設定の編集
/usr/local/apache/conf/httpd.conf
ServerNmae www.hoge.jp
Port 88
User www
Group www
起動
# /usr/local/apache/bin/apachectl start
# ps uax | grep httpd
www 4851 0.0 0.4 2660 1268 ? S 00:33 0:00 [httpd]
www 4852 0.0 0.4 2660 1268 ? S 00:33 0:00 [httpd]
www 4853 0.0 0.4 2660 1268 ? S 00:33 0:00 [httpd]
www 4854 0.0 0.4 2660 1268 ? S 00:33 0:00 [httpd]
www 4855 0.0 0.4 2660 1268 ? S 00:33 0:00 [httpd]
自動起動
apacheをサーバ起動時に立ち上げるには、/etc/rc.d/rc.localに以下の1行を追加します。
/usr/local/apche/bin/apachestl start
これで、次回起動時より、apacheは自動的に立ち上がっていることになります。
2.0.45
インストール
$ tar zxfv httpd-2.0.45.tar.gz
$ cd httpd-2.0.45
$ ./configure
$ ./configure --with-mpm=worker --enable-ssl --enable-defalte=shared --enable-rewrite=shared --enable-auth-digest
$ make
$ su
Password:
# make install
:Apache