ソースのダウンロード、展開、
# fetch http://www.apache.jp/dist/httpd/apache_1.3.33.tar.gz
# ls -la
# tar xvzf apache_1.3.33.tar.gz
# ls -la
# cd apache_1.3.33
# ls -la
configure時のオプションは以下サイトを参考
一覧がでてます
http://itbtech.itboost.co.jp/inst/inst_45.php
# ./configure --prefix=/usr/local/apache --enable-module=so --enable-rule=SHARED_CORE
# make
# make install
# make clean
make install後に以下のように表示されればOK
+--------------------------------------------------------+
| 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/ |
+--------------------------------------------------------+
conf/httpd.confファイルを一部修正
#ServerName www.example.com
ServerName zilch.sailaway.jp
Apacheの起動コマンドを実行
# /usr/local/apache/bin/apachectl start
/usr/local/apache/bin/apachectl start: httpd started
実際に接続できるかローカルから80番を叩いてみる
# telnet localhost 80
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
環境設定はまだまだこれからでございますw










コメント