apache のインストール

Debian TS-WXL

Web サーバにするために、apache をインストールする。
tswxl:~# apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  apache2-mpm-worker apache2-utils apache2.2-common file libapr1 libaprutil1 libdb4.5 libexpat1 libkeyutils1 libkrb53 libldap-2.4-2 libmagic1
  libmysqlclient15off libpq5 libsqlite3-0 mime-support mysql-common openssl openssl-blacklist python python-minimal python2.5 python2.5-minimal
  ssl-cert
Suggested packages:
  www-browser apache2-doc apache2-suexec apache2-suexec-custom krb5-doc krb5-user ca-certificates python-doc python-tk python-profiler
  python2.5-doc binfmt-support
The following NEW packages will be installed:
  apache2 apache2-mpm-worker apache2-utils apache2.2-common file libapr1 libaprutil1 libdb4.5 libexpat1 libkeyutils1 libkrb53 libldap-2.4-2
  libmagic1 libmysqlclient15off libpq5 libsqlite3-0 mime-support mysql-common openssl openssl-blacklist python python-minimal python2.5
  python2.5-minimal ssl-cert
0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.2MB of archives.
After this operation, 46.9MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.jp.debian.org lenny/main mime-support 3.44-1 [33.3kB]
Get:2 http://ftp.jp.debian.org lenny/main libdb4.5 4.5.20-13 [499kB]
Get:3 http://ftp.jp.debian.org lenny/main libsqlite3-0 3.5.9-6 [236kB]
Get:4 http://ftp.jp.debian.org lenny/main python-minimal 2.5.2-3 [13.5kB]
Get:5 http://ftp.jp.debian.org lenny/main python 2.5.2-3 [139kB]
Get:6 http://ftp.jp.debian.org lenny/main openssl 0.9.8g-15+lenny6 [1031kB]
Get:7 http://ftp.jp.debian.org lenny/main openssl-blacklist 0.4.2 [6338kB]
Get:8 http://security.debian.org lenny/updates/main python2.5-minimal 2.5.2-15+lenny1 [1205kB]
Get:9 http://ftp.jp.debian.org lenny/main libmagic1 4.26-1 [372kB]
Get:10 http://ftp.jp.debian.org lenny/main file 4.26-1 [43.9kB]
Get:11 http://ftp.jp.debian.org lenny/main libkeyutils1 1.2-9 [5228B]
Get:12 http://ftp.jp.debian.org lenny/main libldap-2.4-2 2.4.11-1 [179kB]
Get:13 http://ftp.jp.debian.org lenny/main libapr1 1.2.12-5+lenny1 [110kB]
Get:14 http://ftp.jp.debian.org lenny/main libexpat1 2.0.1-4+lenny3 [119kB]
Get:15 http://ftp.jp.debian.org lenny/main libaprutil1 1.2.12+dfsg-8+lenny4 [70.1kB]
Get:16 http://ftp.jp.debian.org lenny/main ssl-cert 1.0.23 [13.1kB]
Get:17 http://security.debian.org lenny/updates/main python2.5 2.5.2-15+lenny1 [2929kB]
Get:18 http://security.debian.org lenny/updates/main libkrb53 1.6.dfsg.4~beta1-5lenny4 [448kB]
Get:19 http://security.debian.org lenny/updates/main mysql-common 5.0.51a-24+lenny3 [61.6kB]
Get:20 http://security.debian.org lenny/updates/main libmysqlclient15off 5.0.51a-24+lenny3 [1783kB]
Get:21 http://security.debian.org lenny/updates/main libpq5 8.3.11-0lenny1 [387kB]
Get:22 http://security.debian.org lenny/updates/main apache2-utils 2.2.9-10+lenny7 [151kB]
Get:23 http://security.debian.org lenny/updates/main apache2.2-common 2.2.9-10+lenny7 [803kB]
Get:24 http://security.debian.org lenny/updates/main apache2-mpm-worker 2.2.9-10+lenny7 [226kB]
Get:25 http://security.debian.org lenny/updates/main apache2 2.2.9-10+lenny7 [45.4kB]
Fetched 17.2MB in 15s (1128kB/s)
Preconfiguring packages ...
Selecting previously deselected package python2.5-minimal.
(Reading database ... 9831 files and directories currently installed.)
Unpacking python2.5-minimal (from .../python2.5-minimal_2.5.2-15+lenny1_armel.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from .../mime-support_3.44-1_all.deb) ...
Selecting previously deselected package libdb4.5.
Unpacking libdb4.5 (from .../libdb4.5_4.5.20-13_armel.deb) ...
Selecting previously deselected package libsqlite3-0.
Unpacking libsqlite3-0 (from .../libsqlite3-0_3.5.9-6_armel.deb) ...
Selecting previously deselected package python2.5.
Unpacking python2.5 (from .../python2.5_2.5.2-15+lenny1_armel.deb) ...
Selecting previously deselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.5.2-3_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.5.2-3_all.deb) ...
Selecting previously deselected package openssl.
Unpacking openssl (from .../openssl_0.9.8g-15+lenny6_armel.deb) ...
Selecting previously deselected package openssl-blacklist.
Unpacking openssl-blacklist (from .../openssl-blacklist_0.4.2_all.deb) ...
Selecting previously deselected package libmagic1.
Unpacking libmagic1 (from .../libmagic1_4.26-1_armel.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_4.26-1_armel.deb) ...
Selecting previously deselected package libkeyutils1.
Unpacking libkeyutils1 (from .../libkeyutils1_1.2-9_armel.deb) ...
Selecting previously deselected package libkrb53.
Unpacking libkrb53 (from .../libkrb53_1.6.dfsg.4~beta1-5lenny4_armel.deb) ...
Selecting previously deselected package libldap-2.4-2.
Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.11-1_armel.deb) ...
Selecting previously deselected package libapr1.
Unpacking libapr1 (from .../libapr1_1.2.12-5+lenny1_armel.deb) ...
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_2.0.1-4+lenny3_armel.deb) ...
Selecting previously deselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.0.51a-24+lenny3_all.deb) ...
Selecting previously deselected package libmysqlclient15off.
Unpacking libmysqlclient15off (from .../libmysqlclient15off_5.0.51a-24+lenny3_armel.deb) ...
Selecting previously deselected package libpq5.
Unpacking libpq5 (from .../libpq5_8.3.11-0lenny1_armel.deb) ...
Selecting previously deselected package libaprutil1.
Unpacking libaprutil1 (from .../libaprutil1_1.2.12+dfsg-8+lenny4_armel.deb) ...
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.2.9-10+lenny7_armel.deb) ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.9-10+lenny7_armel.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.9-10+lenny7_armel.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.2.9-10+lenny7_all.deb) ...
Selecting previously deselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.23_all.deb) ...
Processing triggers for man-db ...
Setting up python2.5-minimal (2.5.2-15+lenny1) ...
Linking and byte-compiling packages for runtime python2.5...
Setting up mime-support (3.44-1) ...
Setting up libdb4.5 (4.5.20-13) ...
Setting up libsqlite3-0 (3.5.9-6) ...
Setting up python2.5 (2.5.2-15+lenny1) ...
Setting up python-minimal (2.5.2-3) ...
Setting up python (2.5.2-3) ...
Setting up openssl (0.9.8g-15+lenny6) ...
Setting up openssl-blacklist (0.4.2) ...
Setting up libmagic1 (4.26-1) ...
Setting up file (4.26-1) ...
Setting up libkeyutils1 (1.2-9) ...
Setting up libkrb53 (1.6.dfsg.4~beta1-5lenny4) ...
Setting up libldap-2.4-2 (2.4.11-1) ...
Setting up libapr1 (1.2.12-5+lenny1) ...
Setting up libexpat1 (2.0.1-4+lenny3) ...
Setting up mysql-common (5.0.51a-24+lenny3) ...
Setting up libmysqlclient15off (5.0.51a-24+lenny3) ...
Setting up libpq5 (8.3.11-0lenny1) ...
Setting up libaprutil1 (1.2.12+dfsg-8+lenny4) ...
Setting up apache2-utils (2.2.9-10+lenny7) ...
Setting up apache2.2-common (2.2.9-10+lenny7) ...
Enabling site default.
Enabling module alias.
Enabling module autoindex.
Enabling module dir.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module status.
Enabling module auth_basic.
Enabling module deflate.
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Setting up apache2-mpm-worker (2.2.9-10+lenny7) ...
Starting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.2.70 for ServerName
.
Setting up apache2 (2.2.9-10+lenny7) ...
Setting up ssl-cert (1.0.23) ...
!tswxl:~#

It works!



TS-WXL
楽天市場
amazon
Yahoo ショッピング
Livedoor デパート


ftp サーバのセットアップ
ハックの記録
LinkStation/玄箱 をハックしよう

apache の設定

Copyright (C) 2003-2010 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市