トップ 差分 一覧 ソース 検索 ヘルプ PDF RSS ログイン

Debian(Etch):VMware/2006-10-4

目次

apache2-mpm-prefork

prefork必須の理由

apache2-mpmには以下の種類があるので、
どれを使うかという話になるのだが・・・

goun@vm-etch:~$ apt-cache search ".*" | grep apache2-mpm
apache2-mpm-perchild - experimental high speed perchild threaded model for Apache2
apache2-mpm-prefork - traditional model for Apache2
apache2-mpm-worker - high speed threaded model for Apache2
goun@vm-etch:~$

apache2上でphpを使う場合、使用するモジュールは以下になる。

goun@vm-etch:~$ apt-cache search ".*" | grep apache2-mod-php
libapache2-mod-php4 - server-side, HTML-embedded scripting language (apache 2.0 module)
libapache2-mod-php5 - server-side, HTML-embedded scripting language (apache 2.0 module)
goun@vm-etch:~$
goun@vm-etch:~$ apt-cache depends libapache2-mod-php4
libapache2-mod-php4
 依存: libbz2-1.0
 依存: libc6
 依存: libcomerr2
 依存: libdb4.3
 依存: libexpat1
 依存: libgdbm3
 依存: libkrb53
 依存: libpcre3
 依存: libssl0.9.8
 依存: libzzip-0-12
 依存: zlib1g
 依存: mime-support
 依存: apache2-mpm-prefork ←★
 依存: php4-common
 依存: libmagic1
 提案: php-pear
goun@vm-etch:~$
goun@vm-etch:~$ apt-cache depends libapache2-mod-php5
libapache2-mod-php5
 依存: libbz2-1.0
 依存: libc6
 依存: libcomerr2
 依存: libdb4.3
 依存: libgdbm3
 依存: libkrb53
 依存: libpcre3
 依存: libssl0.9.8
 依存: libxml2
 依存: zlib1g
 依存: mime-support
 依存: apache2-mpm-prefork ←★
 依存: php5-common
 依存: libmagic1
 提案: php-pear
 競合: libapache2-mod-php4
goun@vm-etch:~$

上記の★印の通りの条件なので、パッケージを使う限りpreforkしかあり得ない。

インストール

パッケージ確認

goun@vm-etch:~$ dpkg -l | grep apache2
goun@vm-etch:~$
goun@vm-etch:~$ apt-cache show apache2-mpm-prefork
Package: apache2-mpm-prefork
Priority: optional
Section: net
Installed-Size: 480
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Architecture: i386
Source: apache2
Version: 2.0.55-4.1
Provides: apache2-modules, apache2, httpd, httpd-cgi
Depends: libapr0 (>= 2.0.55), libc6 (>= 2.3.6-6), libdb4.3 (>= 4.3.28-1), libexpat1 (>= 1.95.8), libldap2 (>= 2.1.17-1), libpcre3 (>= 4.5), libssl0.9.8 (>= 0.9.8b-1), zlib1g (>= 1:1.2.1), apache2-common (= 2.0.55-4.1)
Conflicts: apache2-mpm-worker, apache2-mpm-threadpool, apache2-mpm-perchild
Filename: pool/main/a/apache2/apache2-mpm-prefork_2.0.55-4.1_i386.deb
Size: 208356
MD5sum: 513ca07e0b20fb6c01c8b7694e633c10
SHA1: 69c1790a99c1dc1311bcc64fd8167f015e83fda1
SHA256: 331524d13f613c8f2627b36449b2852a814b9e08beef9395ac0448f82aee71aa
Description: traditional model for Apache2
 This Multi-Processing Module (MPM) implements a non-threaded,
 pre-forking web server that handles requests in a manner similar to
 Apache 1.3. It is appropriate for sites that need to avoid threading for
 compatibility with non-thread-safe libraries. It is also the best MPM
 for isolating each request, so that a problem with a single request will
 not affect any other.
 .
 It is not as fast, but is considered to be more stable.
Tag: filetransfer::http, interface::daemon, made-of::lang:c, network::service, protocol::http, protocol::ipv6, role::sw:server, suite::apache, web::server, works-with::text:html
Task: web-server

goun@vm-etch:~$

apt-get install apache2-mpm-prefork

念のため、テスト

goun@vm-etch:~$ sudo apt-get -s install apache2-mpm-prefork
Password:
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています... 完了
以下の特別パッケージがインストールされます:
  apache2-common apache2-utils libapr0 libexpat1 openssl ssl-cert
提案パッケージ:
  apache2-doc ca-certificates
以下のパッケージが新たにインストールされます:
  apache2-common apache2-mpm-prefork apache2-utils libapr0 libexpat1 openssl ssl-cert
アップグレード: 0 個、新規インストール: 7 個、削除: 0 個、保留: 1 個。
Inst libexpat1 (1.95.8-3.3 Debian:testing)
Inst openssl (0.9.8c-1 Debian:testing)
Inst ssl-cert (1.0.13 Debian:testing)
Inst libapr0 (2.0.55-4.1 Debian:testing)
Inst apache2-utils (2.0.55-4.1 Debian:testing)
Inst apache2-common (2.0.55-4.1 Debian:testing)
Inst apache2-mpm-prefork (2.0.55-4.1 Debian:testing)
Conf libexpat1 (1.95.8-3.3 Debian:testing)
Conf openssl (0.9.8c-1 Debian:testing)
Conf ssl-cert (1.0.13 Debian:testing)
Conf libapr0 (2.0.55-4.1 Debian:testing)
Conf apache2-utils (2.0.55-4.1 Debian:testing)
Conf apache2-common (2.0.55-4.1 Debian:testing)
Conf apache2-mpm-prefork (2.0.55-4.1 Debian:testing)
goun@vm-etch:~$

本番インストール

goun@vm-etch:~$ sudo apt-get install apache2-mpm-prefork
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています... 完了
以下の特別パッケージがインストールされます:
  apache2-common apache2-utils libapr0 libexpat1 openssl ssl-cert
提案パッケージ:
  apache2-doc ca-certificates
以下のパッケージが新たにインストールされます:
  apache2-common apache2-mpm-prefork apache2-utils libapr0 libexpat1 openssl ssl-cert
アップグレード: 0 個、新規インストール: 7 個、削除: 0 個、保留: 1 個。
2318kB のアーカイブを取得する必要があります。
展開後に追加で 6742kB のディスク容量が消費されます。
続行しますか [Y/n]? Y
取得:1 http://ftp.jp.debian.org etch/main libexpat1 1.95.8-3.3 [62.1kB]
取得:2 http://ftp.jp.debian.org etch/main openssl 0.9.8c-1 [1000kB]
取得:3 http://ftp.jp.debian.org etch/main ssl-cert 1.0.13 [9522B]
取得:4 http://ftp.jp.debian.org etch/main libapr0 2.0.55-4.1 [137kB]
取得:5 http://ftp.jp.debian.org etch/main apache2-utils 2.0.55-4.1 [93.2kB]
取得:6 http://ftp.jp.debian.org etch/main apache2-common 2.0.55-4.1 [807kB]
取得:7 http://ftp.jp.debian.org etch/main apache2-mpm-prefork 2.0.55-4.1 [208kB]
2318kB を 7s で取得しました (301kB/s)
パッケージを事前設定しています ...
未選択パッケージ libexpat1 を選択しています。
(データベースを読み込んでいます ... 現在 28944 個のファイルとディレクトリがインストールされています。)
(.../libexpat1_1.95.8-3.3_i386.deb から) libexpat1 を展開しています...
未選択パッケージ openssl を選択しています。
(.../openssl_0.9.8c-1_i386.deb から) openssl を展開しています...
Creating directory /etc/ssl
未選択パッケージ ssl-cert を選択しています。
(.../ssl-cert_1.0.13_all.deb から) ssl-cert を展開しています...
未選択パッケージ libapr0 を選択しています。
(.../libapr0_2.0.55-4.1_i386.deb から) libapr0 を展開しています...
未選択パッケージ apache2-utils を選択しています。
(.../apache2-utils_2.0.55-4.1_i386.deb から) apache2-utils を展開しています...
未選択パッケージ apache2-common を選択しています。
(.../apache2-common_2.0.55-4.1_i386.deb から) apache2-common を展開しています...
未選択パッケージ apache2-mpm-prefork を選択しています。
(.../apache2-mpm-prefork_2.0.55-4.1_i386.deb から) apache2-mpm-prefork を展開しています...
libexpat1 (1.95.8-3.3) を設定しています ...

openssl (0.9.8c-1) を設定しています ...

ssl-cert (1.0.13) を設定しています ...

libapr0 (2.0.55-4.1) を設定しています ...

apache2-utils (2.0.55-4.1) を設定しています ...
apache2-common (2.0.55-4.1) を設定しています ...
Setting Apache2 to Listen on port 80. If this is not desired, please edit /etc/apache2/ports.conf as desired. Note that the Port directive no longer works.

apache2-mpm-prefork (2.0.55-4.1) を設定しています ...
Starting apache 2.0 web server....

goun@vm-etch:~$

パッケージのファイル構成確認

goun@vm-etch:~$ dpkg -L apache2-mpm-prefork
/.
/usr
/usr/sbin
/usr/sbin/apache2
/usr/share
/usr/share/doc
/usr/share/doc/apache2-mpm-prefork
/usr/share/doc/apache2-mpm-prefork/copyright
/usr/share/doc/apache2-mpm-prefork/changelog.Debian.gz
/etc
goun@vm-etch:~$
goun@vm-etch:~$ dpkg -L apache2-common
/.
/etc
/etc/apache2
/etc/apache2/sites-available
/etc/apache2/sites-available/default
/etc/apache2/sites-enabled
/etc/apache2/ssl
/etc/apache2/mods-enabled
/etc/apache2/mods-available
/etc/apache2/mods-available/actions.load
/etc/apache2/mods-available/asis.load
/etc/apache2/mods-available/auth_anon.load
/etc/apache2/mods-available/auth_dbm.load
/etc/apache2/mods-available/auth_digest.load
/etc/apache2/mods-available/auth_ldap.load
/etc/apache2/mods-available/cache.load
/etc/apache2/mods-available/cern_meta.load
/etc/apache2/mods-available/cgid.load
/etc/apache2/mods-available/cgi.load
/etc/apache2/mods-available/dav_fs.load
/etc/apache2/mods-available/dav.load
/etc/apache2/mods-available/deflate.load
/etc/apache2/mods-available/disk_cache.load
/etc/apache2/mods-available/expires.load
/etc/apache2/mods-available/ext_filter.load
/etc/apache2/mods-available/file_cache.load
/etc/apache2/mods-available/headers.load
/etc/apache2/mods-available/imap.load
/etc/apache2/mods-available/include.load
/etc/apache2/mods-available/info.load
/etc/apache2/mods-available/ldap.load
/etc/apache2/mods-available/mem_cache.load
/etc/apache2/mods-available/mime_magic.load
/etc/apache2/mods-available/proxy_connect.load
/etc/apache2/mods-available/proxy_ftp.load
/etc/apache2/mods-available/proxy_http.load
/etc/apache2/mods-available/proxy.load
/etc/apache2/mods-available/rewrite.load
/etc/apache2/mods-available/speling.load
/etc/apache2/mods-available/ssl.load
/etc/apache2/mods-available/suexec.load
/etc/apache2/mods-available/unique_id.load
/etc/apache2/mods-available/userdir.load
/etc/apache2/mods-available/usertrack.load
/etc/apache2/mods-available/vhost_alias.load
/etc/apache2/mods-available/cgid.conf
/etc/apache2/mods-available/dav_fs.conf
/etc/apache2/mods-available/mime_magic.conf
/etc/apache2/mods-available/proxy.conf
/etc/apache2/mods-available/ssl.conf
/etc/apache2/mods-available/userdir.conf
/etc/apache2/conf.d
/etc/apache2/envvars
/etc/apache2/apache2.conf
/etc/apache2/magic
/etc/apache2/README
/etc/bash_completion.d
/etc/bash_completion.d/apache2-common
/etc/logrotate.d
/etc/logrotate.d/apache2
/etc/init.d
/etc/init.d/apache2
/usr
/usr/bin
/usr/lib
/usr/lib/apache2
/usr/lib/apache2/suexec2
/usr/lib/apache2/modules
/usr/lib/apache2/modules/mod_auth_anon.so
/usr/lib/apache2/modules/mod_auth_dbm.so
/usr/lib/apache2/modules/mod_auth_digest.so
/usr/lib/apache2/modules/mod_file_cache.so
/usr/lib/apache2/modules/mod_cache.so
/usr/lib/apache2/modules/mod_disk_cache.so
/usr/lib/apache2/modules/mod_mem_cache.so
/usr/lib/apache2/modules/mod_ldap.so
/usr/lib/apache2/modules/mod_auth_ldap.so
/usr/lib/apache2/modules/mod_ext_filter.so
/usr/lib/apache2/modules/mod_include.so
/usr/lib/apache2/modules/mod_deflate.so
/usr/lib/apache2/modules/mod_mime_magic.so
/usr/lib/apache2/modules/mod_cern_meta.so
/usr/lib/apache2/modules/mod_expires.so
/usr/lib/apache2/modules/mod_headers.so
/usr/lib/apache2/modules/mod_usertrack.so
/usr/lib/apache2/modules/mod_unique_id.so
/usr/lib/apache2/modules/mod_proxy.so
/usr/lib/apache2/modules/mod_proxy_connect.so
/usr/lib/apache2/modules/mod_proxy_ftp.so
/usr/lib/apache2/modules/mod_proxy_http.so
/usr/lib/apache2/modules/mod_ssl.so
/usr/lib/apache2/modules/mod_dav.so
/usr/lib/apache2/modules/mod_asis.so
/usr/lib/apache2/modules/mod_info.so
/usr/lib/apache2/modules/mod_suexec.so
/usr/lib/apache2/modules/mod_cgid.so
/usr/lib/apache2/modules/mod_cgi.so
/usr/lib/apache2/modules/mod_dav_fs.so
/usr/lib/apache2/modules/mod_vhost_alias.so
/usr/lib/apache2/modules/mod_imap.so
/usr/lib/apache2/modules/mod_actions.so
/usr/lib/apache2/modules/mod_speling.so
/usr/lib/apache2/modules/mod_userdir.so
/usr/lib/apache2/modules/mod_rewrite.so
/usr/lib/apache2/modules/httpd.exp
/usr/lib/cgi-bin
/usr/sbin
/usr/sbin/apache2ctl
/usr/sbin/a2enmod
/usr/sbin/a2dissite
/usr/sbin/a2dismod
/usr/sbin/update-apache2-modules
/usr/sbin/modhandler.py
/usr/sbin/a2ensite
/usr/sbin/apache2-ssl-certificate
/usr/share
/usr/share/apache2
/usr/share/apache2/build
/usr/share/apache2/build/envvars-std
/usr/share/apache2/config
/usr/share/apache2/config/default
/usr/share/apache2/config/default-443
/usr/share/apache2/default-site
/usr/share/apache2/default-site/cgi-bin
/usr/share/apache2/error
/usr/share/apache2/error/contact.html.var
/usr/share/apache2/error/HTTP_BAD_GATEWAY.html.var
/usr/share/apache2/error/HTTP_BAD_REQUEST.html.var
/usr/share/apache2/error/HTTP_FORBIDDEN.html.var
/usr/share/apache2/error/HTTP_GONE.html.var
/usr/share/apache2/error/HTTP_INTERNAL_SERVER_ERROR.html.var
/usr/share/apache2/error/HTTP_LENGTH_REQUIRED.html.var
/usr/share/apache2/error/HTTP_METHOD_NOT_ALLOWED.html.var
/usr/share/apache2/error/HTTP_NOT_FOUND.html.var
/usr/share/apache2/error/HTTP_NOT_IMPLEMENTED.html.var
/usr/share/apache2/error/HTTP_PRECONDITION_FAILED.html.var
/usr/share/apache2/error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
/usr/share/apache2/error/HTTP_REQUEST_TIME_OUT.html.var
/usr/share/apache2/error/HTTP_REQUEST_URI_TOO_LARGE.html.var
/usr/share/apache2/error/HTTP_SERVICE_UNAVAILABLE.html.var
/usr/share/apache2/error/HTTP_UNAUTHORIZED.html.var
/usr/share/apache2/error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
/usr/share/apache2/error/HTTP_VARIANT_ALSO_VARIES.html.var
/usr/share/apache2/error/include
/usr/share/apache2/error/include/spacer.html
/usr/share/apache2/error/include/bottom.html
/usr/share/apache2/error/include/top.html
/usr/share/apache2/error/README
/usr/share/apache2/icons
/usr/share/apache2/icons/a.gif
/usr/share/apache2/icons/alert.black.gif
/usr/share/apache2/icons/alert.black.png
/usr/share/apache2/icons/alert.red.gif
/usr/share/apache2/icons/alert.red.png
/usr/share/apache2/icons/apache_pb2_ani.gif
/usr/share/apache2/icons/apache_pb2.gif
/usr/share/apache2/icons/apache_pb2.png
/usr/share/apache2/icons/apache_pb.gif
/usr/share/apache2/icons/apache_pb.png
/usr/share/apache2/icons/a.png
/usr/share/apache2/icons/back.gif
/usr/share/apache2/icons/back.png
/usr/share/apache2/icons/ball.gray.gif
/usr/share/apache2/icons/ball.gray.png
/usr/share/apache2/icons/ball.red.gif
/usr/share/apache2/icons/ball.red.png
/usr/share/apache2/icons/binary.gif
/usr/share/apache2/icons/binary.png
/usr/share/apache2/icons/binhex.gif
/usr/share/apache2/icons/binhex.png
/usr/share/apache2/icons/blank.gif
/usr/share/apache2/icons/blank.png
/usr/share/apache2/icons/bomb.gif
/usr/share/apache2/icons/bomb.png
/usr/share/apache2/icons/box1.gif
/usr/share/apache2/icons/box1.png
/usr/share/apache2/icons/box2.gif
/usr/share/apache2/icons/box2.png
/usr/share/apache2/icons/broken.gif
/usr/share/apache2/icons/broken.png
/usr/share/apache2/icons/burst.gif
/usr/share/apache2/icons/burst.png
/usr/share/apache2/icons/c.gif
/usr/share/apache2/icons/comp.blue.gif
/usr/share/apache2/icons/comp.blue.png
/usr/share/apache2/icons/comp.gray.gif
/usr/share/apache2/icons/comp.gray.png
/usr/share/apache2/icons/compressed.gif
/usr/share/apache2/icons/compressed.png
/usr/share/apache2/icons/continued.gif
/usr/share/apache2/icons/continued.png
/usr/share/apache2/icons/c.png
/usr/share/apache2/icons/deb.gif
/usr/share/apache2/icons/deb.png
/usr/share/apache2/icons/dir.gif
/usr/share/apache2/icons/dir.png
/usr/share/apache2/icons/diskimg.gif
/usr/share/apache2/icons/diskimg.png
/usr/share/apache2/icons/down.gif
/usr/share/apache2/icons/down.png
/usr/share/apache2/icons/dvi.gif
/usr/share/apache2/icons/dvi.png
/usr/share/apache2/icons/f.gif
/usr/share/apache2/icons/folder.gif
/usr/share/apache2/icons/folder.open.gif
/usr/share/apache2/icons/folder.open.png
/usr/share/apache2/icons/folder.png
/usr/share/apache2/icons/folder.sec.gif
/usr/share/apache2/icons/folder.sec.png
/usr/share/apache2/icons/forward.gif
/usr/share/apache2/icons/forward.png
/usr/share/apache2/icons/f.png
/usr/share/apache2/icons/generic.gif
/usr/share/apache2/icons/generic.png
/usr/share/apache2/icons/generic.red.gif
/usr/share/apache2/icons/generic.red.png
/usr/share/apache2/icons/generic.sec.gif
/usr/share/apache2/icons/generic.sec.png
/usr/share/apache2/icons/hand.right.gif
/usr/share/apache2/icons/hand.right.png
/usr/share/apache2/icons/hand.up.gif
/usr/share/apache2/icons/hand.up.png
/usr/share/apache2/icons/icon.sheet.gif
/usr/share/apache2/icons/icon.sheet.png
/usr/share/apache2/icons/image1.gif
/usr/share/apache2/icons/image1.png
/usr/share/apache2/icons/image2.gif
/usr/share/apache2/icons/image2.png
/usr/share/apache2/icons/image3.gif
/usr/share/apache2/icons/image3.png
/usr/share/apache2/icons/index.gif
/usr/share/apache2/icons/index.png
/usr/share/apache2/icons/layout.gif
/usr/share/apache2/icons/layout.png
/usr/share/apache2/icons/left.gif
/usr/share/apache2/icons/left.png
/usr/share/apache2/icons/link.gif
/usr/share/apache2/icons/link.png
/usr/share/apache2/icons/movie.gif
/usr/share/apache2/icons/movie.png
/usr/share/apache2/icons/patch.gif
/usr/share/apache2/icons/patch.png
/usr/share/apache2/icons/pdf.gif
/usr/share/apache2/icons/pdf.png
/usr/share/apache2/icons/p.gif
/usr/share/apache2/icons/pie0.gif
/usr/share/apache2/icons/pie0.png
/usr/share/apache2/icons/pie1.gif
/usr/share/apache2/icons/pie1.png
/usr/share/apache2/icons/pie2.gif
/usr/share/apache2/icons/pie2.png
/usr/share/apache2/icons/pie3.gif
/usr/share/apache2/icons/pie3.png
/usr/share/apache2/icons/pie4.gif
/usr/share/apache2/icons/pie4.png
/usr/share/apache2/icons/pie5.gif
/usr/share/apache2/icons/pie5.png
/usr/share/apache2/icons/pie6.gif
/usr/share/apache2/icons/pie6.png
/usr/share/apache2/icons/pie7.gif
/usr/share/apache2/icons/pie7.png
/usr/share/apache2/icons/pie8.gif
/usr/share/apache2/icons/pie8.png
/usr/share/apache2/icons/portal.gif
/usr/share/apache2/icons/portal.png
/usr/share/apache2/icons/p.png
/usr/share/apache2/icons/ps.gif
/usr/share/apache2/icons/ps.png
/usr/share/apache2/icons/quill.gif
/usr/share/apache2/icons/quill.png
/usr/share/apache2/icons/README
/usr/share/apache2/icons/right.gif
/usr/share/apache2/icons/right.png
/usr/share/apache2/icons/screw1.gif
/usr/share/apache2/icons/screw1.png
/usr/share/apache2/icons/screw2.gif
/usr/share/apache2/icons/screw2.png
/usr/share/apache2/icons/script.gif
/usr/share/apache2/icons/script.png
/usr/share/apache2/icons/small
/usr/share/apache2/icons/small/forward.gif
/usr/share/apache2/icons/small/sound2.png
/usr/share/apache2/icons/small/uu.gif
/usr/share/apache2/icons/small/dir.gif
/usr/share/apache2/icons/small/key.png
/usr/share/apache2/icons/small/generic.png
/usr/share/apache2/icons/small/broken.png
/usr/share/apache2/icons/small/unknown.gif
/usr/share/apache2/icons/small/back.png
/usr/share/apache2/icons/small/patch.gif
/usr/share/apache2/icons/small/broken.gif
/usr/share/apache2/icons/small/comp2.png
/usr/share/apache2/icons/small/transfer.png
/usr/share/apache2/icons/small/compressed.png
/usr/share/apache2/icons/small/rainbow.gif
/usr/share/apache2/icons/small/image.png
/usr/share/apache2/icons/small/generic2.png
/usr/share/apache2/icons/small/comp2.gif
/usr/share/apache2/icons/small/ps.gif
/usr/share/apache2/icons/small/binary.png
/usr/share/apache2/icons/small/generic3.png
/usr/share/apache2/icons/small/burst.gif
/usr/share/apache2/icons/small/continued.png
/usr/share/apache2/icons/small/image.gif
/usr/share/apache2/icons/small/rainbow.png
/usr/share/apache2/icons/small/transfer.gif
/usr/share/apache2/icons/small/image2.gif
/usr/share/apache2/icons/small/tar.gif
/usr/share/apache2/icons/small/back.gif
/usr/share/apache2/icons/small/forward.png
/usr/share/apache2/icons/small/sound.png
/usr/share/apache2/icons/small/tar.png
/usr/share/apache2/icons/small/movie.png
/usr/share/apache2/icons/small/sound2.gif
/usr/share/apache2/icons/small/text.gif
/usr/share/apache2/icons/small/blank.gif
/usr/share/apache2/icons/small/text.png
/usr/share/apache2/icons/small/generic.gif
/usr/share/apache2/icons/small/burst.png
/usr/share/apache2/icons/small/sound.gif
/usr/share/apache2/icons/small/continued.gif
/usr/share/apache2/icons/small/comp1.png
/usr/share/apache2/icons/small/doc.gif
/usr/share/apache2/icons/small/README.txt
/usr/share/apache2/icons/small/binhex.png
/usr/share/apache2/icons/small/unknown.png
/usr/share/apache2/icons/small/generic2.gif
/usr/share/apache2/icons/small/index.png
/usr/share/apache2/icons/small/dir2.gif
/usr/share/apache2/icons/small/key.gif
/usr/share/apache2/icons/small/movie.gif
/usr/share/apache2/icons/small/ps.png
/usr/share/apache2/icons/small/index.gif
/usr/share/apache2/icons/small/binary.gif
/usr/share/apache2/icons/small/comp1.gif
/usr/share/apache2/icons/small/dir2.png
/usr/share/apache2/icons/small/doc.png
/usr/share/apache2/icons/small/dir.png
/usr/share/apache2/icons/small/binhex.gif
/usr/share/apache2/icons/small/blank.png
/usr/share/apache2/icons/small/uu.png
/usr/share/apache2/icons/small/generic3.gif
/usr/share/apache2/icons/small/compressed.gif
/usr/share/apache2/icons/small/image2.png
/usr/share/apache2/icons/small/patch.png
/usr/share/apache2/icons/sound1.gif
/usr/share/apache2/icons/sound1.png
/usr/share/apache2/icons/sound2.gif
/usr/share/apache2/icons/sound2.png
/usr/share/apache2/icons/sphere1.gif
/usr/share/apache2/icons/sphere1.png
/usr/share/apache2/icons/sphere2.gif
/usr/share/apache2/icons/sphere2.png
/usr/share/apache2/icons/tar.gif
/usr/share/apache2/icons/tar.png
/usr/share/apache2/icons/tex.gif
/usr/share/apache2/icons/tex.png
/usr/share/apache2/icons/text.gif
/usr/share/apache2/icons/text.png
/usr/share/apache2/icons/transfer.gif
/usr/share/apache2/icons/transfer.png
/usr/share/apache2/icons/unknown.gif
/usr/share/apache2/icons/unknown.png
/usr/share/apache2/icons/up.gif
/usr/share/apache2/icons/up.png
/usr/share/apache2/icons/uuencoded.gif
/usr/share/apache2/icons/uuencoded.png
/usr/share/apache2/icons/uu.gif
/usr/share/apache2/icons/uu.png
/usr/share/apache2/icons/world1.gif
/usr/share/apache2/icons/world1.png
/usr/share/apache2/icons/world2.gif
/usr/share/apache2/icons/world2.png
/usr/share/apache2/proxy
/usr/share/apache2/ssleay.cnf
/usr/share/doc
/usr/share/doc/apache2
/usr/share/doc/apache2/examples
/usr/share/doc/apache2/examples/ssl.conf.gz
/usr/share/doc/apache2/examples/highperformance.conf
/usr/share/doc/apache2/examples/highperformance-std.conf
/usr/share/doc/apache2/examples/ssl-std.conf.gz
/usr/share/doc/apache2/examples/apache2.conf.gz
/usr/share/doc/apache2/examples/httpd-std.conf.gz
/usr/share/doc/apache2/README.etc
/usr/share/doc/apache2/changelog.gz
/usr/share/doc/apache2-common
/usr/share/doc/apache2-common/README
/usr/share/doc/apache2-common/README.Debian
/usr/share/doc/apache2-common/TODO.Debian
/usr/share/doc/apache2-common/copyright
/usr/share/doc/apache2-common/ABOUT_APACHE.gz
/usr/share/doc/apache2-common/NEWS.Debian.gz
/usr/share/doc/apache2-common/changelog.Debian.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/man
/usr/share/man/man1
/usr/share/man/man8
/usr/share/man/man8/suexec2.8.gz
/usr/share/man/man8/a2enmod.8.gz
/usr/share/man/man8/a2dismod.8.gz
/usr/share/man/man8/apache2.8.gz
/usr/share/man/man8/apache2ctl.8.gz
/var
/var/cache
/var/cache/apache2
/var/cache/apache2/proxy
/var/lib
/var/lib/apache2
/var/log
/var/log/apache2
/var/lock
/var/lock/apache2
/var/run
/var/run/apache2
/var/www
/var/www/apache2-default
/var/www/apache2-default/apache_pb2_ani.gif
/var/www/apache2-default/apache_pb2.gif
/var/www/apache2-default/apache_pb2.png
/var/www/apache2-default/apache_pb.gif
/var/www/apache2-default/apache_pb.png
/var/www/apache2-default/index.html.ca
/var/www/apache2-default/index.html.cz.iso8859-2
/var/www/apache2-default/index.html.de
/var/www/apache2-default/index.html.dk
/var/www/apache2-default/index.html.ee
/var/www/apache2-default/index.html.el
/var/www/apache2-default/index.html.en
/var/www/apache2-default/index.html.es
/var/www/apache2-default/index.html.et
/var/www/apache2-default/index.html.fr
/var/www/apache2-default/index.html.he.iso8859-8
/var/www/apache2-default/index.html.hr.iso8859-2
/var/www/apache2-default/index.html.it
/var/www/apache2-default/index.html.ja.iso2022-jp
/var/www/apache2-default/index.html.ko.euc-kr
/var/www/apache2-default/index.html.lb.utf8
/var/www/apache2-default/index.html.nl
/var/www/apache2-default/index.html.nn
/var/www/apache2-default/index.html.no
/var/www/apache2-default/index.html.po.iso8859-2
/var/www/apache2-default/index.html.pt
/var/www/apache2-default/index.html.pt-br
/var/www/apache2-default/index.html.ru.cp-1251
/var/www/apache2-default/index.html.ru.cp866
/var/www/apache2-default/index.html.ru.iso-ru
/var/www/apache2-default/index.html.ru.koi8-r
/var/www/apache2-default/index.html.ru.utf8
/var/www/apache2-default/index.html.sv
/var/www/apache2-default/index.html.var
/var/www/apache2-default/index.html.zh-cn.gb2312
/var/www/apache2-default/index.html.zh-tw.big5
/var/www/apache2-default/robots.txt
goun@vm-etch:~$
goun@vm-etch:~$ dpkg -L apache2-utils
/.
/usr
/usr/bin
/usr/bin/dbmmanage
/usr/bin/htdbm
/usr/bin/htdigest
/usr/bin/htpasswd
/usr/sbin
/usr/sbin/ab
/usr/sbin/check_forensic
/usr/sbin/checkgid
/usr/sbin/logresolve
/usr/sbin/split-logfile
/usr/sbin/rotatelogs
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/htpasswd.1.gz
/usr/share/man/man1/dbmmanage.1.gz
/usr/share/man/man1/htdigest.1.gz
/usr/share/man/man8
/usr/share/man/man8/checkgid.8.gz
/usr/share/man/man8/logresolve.8.gz
/usr/share/man/man8/rotatelogs.8.gz
/usr/share/man/man8/ab.8.gz
/usr/share/man/man8/check_forensic.8.gz
/usr/share/doc
/usr/share/doc/apache2-utils
/usr/share/doc/apache2-utils/copyright
/usr/share/doc/apache2-utils/changelog.Debian.gz
/usr/bin/dbmmanage2
/usr/bin/htdigest2
/usr/bin/htpasswd2
/usr/sbin/ab2
/usr/sbin/checkgid2
/usr/sbin/logresolve2
/usr/sbin/rotatelogs2
goun@vm-etch:~$

動作確認

サービス動作確認

goun@vm-etch:~$ ps -ef | grep apache
root      4182     1  0 09:49 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data  4183  4182  0 09:49 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data  4184  4182  0 09:49 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data  4185  4182  0 09:49 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data  4187  4182  0 09:49 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data  4188  4182  0 09:49 ?        00:00:00 /usr/sbin/apache2 -k start -DSSL
goun      4190  3749  0 09:50 pts/0    00:00:00 grep apache
goun@vm-etch:~$
goun@vm-etch:~$ netstat -a | grep www
tcp6       0      0 *:www                   *:*                     LISTEN
goun@vm-etch:~$

ブラウザから以下表示
http://192.168.0.3/

おっけー

最終更新時間:2006年10月04日 01時02分21秒