apache は専攻サーバ群の www サーバ で用いられている www サーバソフトである.
orange:~$ tar zxvf apache_1.3.20.tar.gz
(一部抜粋)
apache_1.3.20/ABOUT_APACHE
apache_1.3.20/INSTALL
apache_1.3.20/Makefile.tmpl
apache_1.3.20/README
orange:~$ cd apache_1.3.20(*)デフォルトでは /usr/local/apache/ 以下にインストールするようになる.
orange:~/apache_1.3.20$ ./configure
(一部抜粋)
Configuring for Apache, Version 1.3.20
+ Warning: Configuring Apache with default settings.
+ This is probably not what you really want.
Creating Makefile
orange:~/apache_1.3.20 $ ./configure --prefix=[インストールするディレクトリ]また, 事前にインストールされる場所を知るには
※ 今回は、インストールするディレクトリを /etc/apache にした.
orange:~/apache_1.3.20 $ make
===> src
make[1]: Entering directory `/home/hogehoge/apache_1.3.19'
make[2]: Entering directory `/home/hogehoge/apache_1.3.19/src'
===> src/regex
sh ./mkh -p regcomp.c >regcomp.ih
gcc -I. -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED `../apaci` -DPOSIX_MISTAKE -c regcomp.c -o regcomp.o
(後略)
orange:~/apache_1.3.20 # make install以上でインストール終了.
make[1]: Entering directory `/home/hogehoge/apache_1.3.20'
===> [mktree: Creating Apache installation tree]
./src/helpers/mkdir.sh /etc/apache/bin
./src/helpers/mkdir.sh /etc/apache/bin
./src/helpers/mkdir.sh /etc/apache/libexec
(中略)
+------------------------------------------
| 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
|
| /etc/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/
+------------------------------------------