差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
hardware:raspberry_pi:dietpi:dietpi_install_lamp [2022/08/24 16:13] – 作成 ともやん | hardware:raspberry_pi:dietpi:dietpi_install_lamp [2024/02/05 01:07] (現在) – ↷ 移動操作に合わせてリンクを書き換えました。 非ログインユーザー | ||
---|---|---|---|
行 33: | 行 33: | ||
===== Web サーバーのインストール ===== | ===== Web サーバーのインストール ===== | ||
- | Apache をインストールするために、以下のコマンドを実行する🤔\\ | + | **Apache** をインストールするために、以下のコマンドを実行する🤔\\ |
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
$ sudo apt install apache2 apache2-dev | $ sudo apt install apache2 apache2-dev | ||
</ | </ | ||
- | < | + | < |
- | graphical.target | + | Reading package lists... Done |
+ | Building dependency tree... Done | ||
+ | Reading state information... Done | ||
+ | The following additional packages will be installed: | ||
+ | apache2-bin apache2-data apache2-utils autopoint debhelper dh-autoreconf dh-strip-nondeterminism dwz | ||
+ | gettext groff-base intltool-debian libapr1 libapr1-dev libaprutil1 libaprutil1-dbd-sqlite3 | ||
+ | libaprutil1-dev libaprutil1-ldap libarchive-zip-perl libdebhelper-perl libfile-stripnondeterminism-perl | ||
+ | libldap2-dev libpipeline1 libsctp-dev libsctp1 libsub-override-perl libuchardet0 man-db po-debconf | ||
+ | Suggested packages: | ||
+ | apache2-doc apache2-suexec-pristine | apache2-suexec-custom dh-make gettext-doc libasprintf-dev | ||
+ | libgettextpo-dev groff lksctp-tools apparmor libmail-box-perl | ||
+ | Recommended packages: | ||
+ | ssl-cert libarchive-cpio-perl libmail-sendmail-perl | ||
+ | The following NEW packages will be installed: | ||
+ | apache2 apache2-bin apache2-data apache2-dev apache2-utils autopoint debhelper dh-autoreconf | ||
+ | dh-strip-nondeterminism dwz gettext groff-base intltool-debian libapr1 libapr1-dev libaprutil1 | ||
+ | libaprutil1-dbd-sqlite3 libaprutil1-dev libaprutil1-ldap libarchive-zip-perl libdebhelper-perl | ||
+ | libfile-stripnondeterminism-perl libldap2-dev libpipeline1 libsctp-dev libsctp1 libsub-override-perl | ||
+ | libuchardet0 man-db po-debconf | ||
+ | 0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded. | ||
+ | Need to get 9,796 kB of archives. | ||
+ | After this operation, 39.1 MB of additional disk space will be used. | ||
+ | Do you want to continue? [Y/n] y | ||
+ | Get:1 http:// | ||
+ | Get:2 http:// | ||
+ | Get:3 http:// | ||
+ | Get:4 http:// | ||
+ | Get:5 http:// | ||
+ | Get:6 http:// | ||
+ | Get:7 http:// | ||
+ | Get:8 http:// | ||
+ | Get:9 http:// | ||
+ | Get:10 http:// | ||
+ | Get:11 http:// | ||
+ | Get:12 http:// | ||
+ | Get:13 http:// | ||
+ | Get:14 http:// | ||
+ | Get:15 http:// | ||
+ | Get:16 http:// | ||
+ | Get:17 http:// | ||
+ | Get:18 http:// | ||
+ | Get:19 http:// | ||
+ | Get:20 http:// | ||
+ | Get:21 http:// | ||
+ | Get:22 http:// | ||
+ | Get:23 http:// | ||
+ | Get:24 http:// | ||
+ | Get:25 http:// | ||
+ | Get:26 http:// | ||
+ | Get:27 http:// | ||
+ | Get:28 http:// | ||
+ | Get:29 http:// | ||
+ | Get:30 http:// | ||
+ | Fetched 9,796 kB in 24s (403 kB/s) | ||
+ | debconf: delaying package configuration, | ||
+ | Selecting previously unselected package libuchardet0: | ||
+ | (Reading database ... 71553 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libuchardet0: | ||
+ | Selecting previously unselected package groff-base. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking groff-base (1.22.4-6) ... | ||
+ | Selecting previously unselected package libpipeline1: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libpipeline1: | ||
+ | Selecting previously unselected package man-db. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking man-db (2.9.4-2) ... | ||
+ | Selecting previously unselected package libapr1: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libapr1: | ||
+ | Selecting previously unselected package libaprutil1: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libaprutil1: | ||
+ | Selecting previously unselected package libaprutil1-dbd-sqlite3: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libaprutil1-dbd-sqlite3: | ||
+ | Selecting previously unselected package libaprutil1-ldap: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libaprutil1-ldap: | ||
+ | Selecting previously unselected package apache2-bin. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking apache2-bin (2.4.54-1~deb11u1) ... | ||
+ | Selecting previously unselected package apache2-data. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking apache2-data (2.4.54-1~deb11u1) ... | ||
+ | Selecting previously unselected package apache2-utils. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking apache2-utils (2.4.54-1~deb11u1) ... | ||
+ | Selecting previously unselected package apache2. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking apache2 (2.4.54-1~deb11u1) ... | ||
+ | Selecting previously unselected package autopoint. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking autopoint (0.21-4) ... | ||
+ | Selecting previously unselected package libdebhelper-perl. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libdebhelper-perl (13.3.4) ... | ||
+ | Selecting previously unselected package dh-autoreconf. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking dh-autoreconf (20) ... | ||
+ | Selecting previously unselected package libarchive-zip-perl. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libarchive-zip-perl (1.68-1) ... | ||
+ | Selecting previously unselected package libsub-override-perl. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libsub-override-perl (0.09-2) ... | ||
+ | Selecting previously unselected package libfile-stripnondeterminism-perl. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ... | ||
+ | Selecting previously unselected package dh-strip-nondeterminism. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking dh-strip-nondeterminism (1.12.0-1) ... | ||
+ | Selecting previously unselected package dwz. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking dwz (0.13+20210201-1) ... | ||
+ | Selecting previously unselected package gettext. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking gettext (0.21-4) ... | ||
+ | Selecting previously unselected package intltool-debian. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking intltool-debian (0.35.0+20060710.5) ... | ||
+ | Selecting previously unselected package po-debconf. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking po-debconf (1.0.21+nmu1) ... | ||
+ | Selecting previously unselected package debhelper. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking debhelper (13.3.4) ... | ||
+ | Selecting previously unselected package libsctp1: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libsctp1: | ||
+ | Selecting previously unselected package libsctp-dev: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libsctp-dev: | ||
+ | Selecting previously unselected package libapr1-dev. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libapr1-dev (1.7.0-6+deb11u1) ... | ||
+ | Selecting previously unselected package libldap2-dev: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libldap2-dev: | ||
+ | Selecting previously unselected package libaprutil1-dev. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libaprutil1-dev (1.6.1-5) ... | ||
+ | Selecting previously unselected package apache2-dev. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking apache2-dev (2.4.54-1~deb11u1) ... | ||
+ | Setting up libpipeline1: | ||
+ | Setting up gettext (0.21-4) ... | ||
+ | Setting up libarchive-zip-perl (1.68-1) ... | ||
+ | Setting up libdebhelper-perl (13.3.4) ... | ||
+ | Setting up libapr1: | ||
+ | Setting up intltool-debian (0.35.0+20060710.5) ... | ||
+ | Setting up libldap2-dev: | ||
+ | Setting up autopoint (0.21-4) ... | ||
+ | Setting up dwz (0.13+20210201-1) ... | ||
+ | Setting up libsctp1: | ||
+ | Setting up libuchardet0: | ||
+ | Setting up libsub-override-perl (0.09-2) ... | ||
+ | Setting up apache2-data (2.4.54-1~deb11u1) ... | ||
+ | Setting up libaprutil1: | ||
+ | Setting up libfile-stripnondeterminism-perl (1.12.0-1) ... | ||
+ | Setting up po-debconf (1.0.21+nmu1) ... | ||
+ | Setting up libaprutil1-ldap: | ||
+ | Setting up libaprutil1-dbd-sqlite3: | ||
+ | Setting up dh-autoreconf (20) ... | ||
+ | Setting up libsctp-dev: | ||
+ | Setting up dh-strip-nondeterminism (1.12.0-1) ... | ||
+ | Setting up groff-base (1.22.4-6) ... | ||
+ | Setting up apache2-utils (2.4.54-1~deb11u1) ... | ||
+ | Setting up apache2-bin (2.4.54-1~deb11u1) ... | ||
+ | Setting up man-db (2.9.4-2) ... | ||
+ | Building database of manual pages ... | ||
+ | Created symlink / | ||
+ | man-db.service is a disabled or a static unit, not starting it. | ||
+ | Setting up libapr1-dev (1.7.0-6+deb11u1) ... | ||
+ | Setting up libaprutil1-dev (1.6.1-5) ... | ||
+ | Setting up apache2 (2.4.54-1~deb11u1) ... | ||
+ | Enabling module mpm_event. | ||
+ | Enabling module authz_core. | ||
+ | Enabling module authz_host. | ||
+ | Enabling module authn_core. | ||
+ | Enabling module auth_basic. | ||
+ | Enabling module access_compat. | ||
+ | Enabling module authn_file. | ||
+ | Enabling module authz_user. | ||
+ | Enabling module alias. | ||
+ | Enabling module dir. | ||
+ | Enabling module autoindex. | ||
+ | Enabling module env. | ||
+ | Enabling module mime. | ||
+ | Enabling module negotiation. | ||
+ | Enabling module setenvif. | ||
+ | Enabling module filter. | ||
+ | Enabling module deflate. | ||
+ | Enabling module status. | ||
+ | Enabling module reqtimeout. | ||
+ | Enabling conf charset. | ||
+ | Enabling conf localized-error-pages. | ||
+ | Enabling conf other-vhosts-access-log. | ||
+ | Enabling conf security. | ||
+ | Enabling conf serve-cgi-bin. | ||
+ | Enabling site 000-default. | ||
+ | Created symlink / | ||
+ | Created symlink / | ||
+ | Setting up debhelper (13.3.4) ... | ||
+ | Setting up apache2-dev (2.4.54-1~deb11u1) ... | ||
+ | Processing triggers for mailcap (3.69) ... | ||
+ | Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u3) ... | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | http:// | ||
+ | < | ||
+ | < | ||
+ | iframe { | ||
+ | padding: 0; | ||
+ | width: 2030px; | ||
+ | height: 1400px; | ||
+ | border: none; | ||
+ | float: left; | ||
+ | | ||
+ | transform: | ||
+ | -o-transform: | ||
+ | -webkit-transform: | ||
+ | -moz-transform: | ||
+ | -ms-transform: | ||
+ | transform-origin: | ||
+ | -o-transform-origin: | ||
+ | -webkit-transform-origin: | ||
+ | -moz-transform-origin: | ||
+ | -ms-transform-origin: | ||
+ | } | ||
+ | .frame-container { | ||
+ | width: 800px; | ||
+ | height: 400px; | ||
+ | border: red 1px solid; | ||
+ | } | ||
+ | </ | ||
+ | <div class=" | ||
+ | <iframe src="/ | ||
+ | </ | ||
+ | </ | ||
===== 参考文献 ===== | ===== 参考文献 ===== | ||
- | [[:linux:fedora_install_lamp|Fedora による LAMP(Apache, | + | [[linux:fedora: |
+ | [[https:// | ||