D.apache2

Last-modified: 2006-10-10 (火) 05:58:27

apache2 設定

 #RedirectMatch ^/$ /apache2-default/

swisspc:~# apt-get install apache2
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:

 apache2-common apache2-mpm-worker apache2-utils libapr0 libexpat1 ssl-cert

Suggested packages:

 apache2-doc lynx www-browser

The following NEW packages will be installed:

 apache2 apache2-common apache2-mpm-worker apache2-utils libapr0 libexpat1 ssl-cert

0 upgraded, 7 newly installed, 0 to remove and 2 not upgraded.
Need to get 1340kB of archives.
After unpacking 4624kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.jp.debian.org stable/main libexpat1 1.95.8-3 [59.6kB]
Get:2 http://ftp.jp.debian.org stable/main libapr0 2.0.54-5sarge1 [130kB]
Get:3 http://ftp.jp.debian.org stable/main ssl-cert 1.0-11 [6904B]
Get:4 http://ftp.jp.debian.org stable/main apache2-utils 2.0.54-5sarge1 [90.9kB]
Get:5 http://ftp.jp.debian.org stable/main apache2-common 2.0.54-5sarge1 [812kB]
Get:6 http://ftp.jp.debian.org stable/main apache2-mpm-worker 2.0.54-5sarge1 [206kB]
Get:7 http://ftp.jp.debian.org stable/main apache2 2.0.54-5sarge1 [33.5kB]
Fetched 1340kB in 2s (457kB/s)
Preconfiguring packages ...
Selecting previously deselected package libexpat1.
(Reading database ... 25711 files and directories currently installed.)
Unpacking libexpat1 (from .../libexpat1_1.95.8-3_i386.deb) ...
Selecting previously deselected package libapr0.
Unpacking libapr0 (from .../libapr0_2.0.54-5sarge1_i386.deb) ...
Selecting previously deselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0-11_all.deb) ...
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.0.54-5sarge1_i386.deb) ...
Selecting previously deselected package apache2-common.
Unpacking apache2-common (from .../apache2-common_2.0.54-5sarge1_i386.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.0.54-5sarge1_i386.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.0.54-5sarge1_i386.deb) ...
Setting up libexpat1 (1.95.8-3) ...

Setting up libapr0 (2.0.54-5sarge1) ...

Setting up ssl-cert (1.0-11) ...

Setting up apache2-utils (2.0.54-5sarge1) ...
Setting up apache2-common (2.0.54-5sarge1) ...
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.
Module userdir installed; run /etc/init.d/apache2 force-reload to enable.

Setting up apache2-mpm-worker (2.0.54-5sarge1) ...
Starting web server: Apache2.

Setting up apache2 (2.0.54-5sarge1) ...
swisspc:~#