Ubuntu MATE (18.04.2) にTaskselとLAMP環境をインストール

手順

  • Taskselをインストール
$sudo apt install tasksel
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下のパッケージが自動でインストールされましたが、もう必要とされていません:
  apt-clone archdetect-deb cryptsetup-bin dpkg-repack gir1.2-json-1.0 gir1.2-nm-1.0 gir1.2-nma-1.0 gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
  libdebian-installer4 libtimezonemap-data libtimezonemap1 os-prober python3-icu python3-pam rdate
これを削除するには 'sudo apt autoremove' を利用してください。
以下の追加パッケージがインストールされます:
  tasksel-data
以下のパッケージが新たにインストールされます:
  tasksel tasksel-data
アップグレード: 0 個、新規インストール: 2 個、削除: 0 個、保留: 0 個。
34.2 kB のアーカイブを取得する必要があります。
この操作後に追加で 292 kB のディスク容量が消費されます。
続行しますか? [Y/n] 
取得:1 http://ports.ubuntu.com bionic/main armhf tasksel-data all 3.34ubuntu11 [5,476 B]
取得:2 http://ports.ubuntu.com bionic/main armhf tasksel all 3.34ubuntu11 [28.7 kB]
34.2 kB を 2秒 で取得しました (18.3 kB/s)
パッケージを事前設定しています ...
以前に未選択のパッケージ tasksel-data を選択しています。
(データベースを読み込んでいます ... 現在 140635 個のファイルとディレクトリがインストールされています。)
.../tasksel-data_3.34ubuntu11_all.deb を展開する準備をしています ...
tasksel-data (3.34ubuntu11) を展開しています...
以前に未選択のパッケージ tasksel を選択しています。
.../tasksel_3.34ubuntu11_all.deb を展開する準備をしています ...
tasksel (3.34ubuntu11) を展開しています...
menu (2.1.47ubuntu2.1) のトリガを処理しています ...
man-db (2.8.3-2ubuntu0.1) のトリガを処理しています ...
tasksel-data (3.34ubuntu11) を設定しています ...
tasksel (3.34ubuntu11) を設定しています ...
menu (2.1.47ubuntu2.1) のトリガを処理しています ...
  • Taskselでlamp-serverをインストール
sudo tasksel install lamp-server
  • バージョンを確認
$apachectl -v
Server version: Apache/2.4.29 (Ubuntu)
Server built:   2019-04-03T13:22:37


$perl -v
This is perl 5, version 26, subversion 1 (v5.26.1) built for arm-linux-gnueabihf-thread-multi-64int
(with 67 registered patches, see perl -V for more detail)

Copyright 1987-2017, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


$php --version
PHP 7.2.19-0ubuntu0.18.04.1 (cli) (built: Jun  4 2019 14:48:12) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.19-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies


$mysql --version
mysql  Ver 14.14 Distrib 5.7.26, for Linux (armv7l) using  EditLine wrapper
$sudo service apache2 start

f:id:cutxout:20190615115238j:plain
f:id:cutxout:20190615115642j:plain