ubuntu:~/environment $ whoami
ubuntu
ubuntu:~/environment $ whoami -a
whoami: invalid option -- 'a'
Try 'whoami --help' for more information.
ubuntu:~/environment $ sudo apt-
apt-add-repository apt-cdrom apt-extracttemplates apt-get apt-mark
apt-cache apt-config apt-ftparchive apt-key apt-sortpkgs
ubuntu:~/environment $ sudo apt-
apt-add-repository apt-cdrom apt-extracttemplates apt-get apt-mark
apt-cache apt-config apt-ftparchive apt-key apt-sortpkgs
ubuntu:~/environment $ sudo apt-
apt-add-repository apt-cdrom apt-extracttemplates apt-get apt-mark
apt-cache apt-config apt-ftparchive apt-key apt-sortpkgs
ubuntu:~/environment $ sudo apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version (2.4.29-1ubuntu4.6).
The following packages were automatically installed and are no longer required:
gyp javascript-common libc-ares2 libhttp-parser2.7.1 libjs-async libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore libuv1-dev node-abbrev node-ansi node-ansi-color-table
node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-hosted-git-info node-inflight
node-inherits node-ini node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid
node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore
node-validate-npm-package-license node-which node-wrappy node-yallist nodejs nodejs-doc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
ubuntu:~/environment $ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server is already the newest version (5.7.26-0ubuntu0.18.04.1).
The following packages were automatically installed and are no longer required:
gyp javascript-common libc-ares2 libhttp-parser2.7.1 libjs-async libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore libuv1-dev node-abbrev node-ansi node-ansi-color-table
node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-hosted-git-info node-inflight
node-inherits node-ini node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid
node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore
node-validate-npm-package-license node-which node-wrappy node-yallist nodejs nodejs-doc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
ubuntu:~/environment $ sudo apt install php-pear php-fpm php-dev php-zip php-curl php-xmlrpc php-gd php-mysql php-mbstring php-xml libapache2-mod-php
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-mysql is already the newest version (1:7.2+60ubuntu1).
The following packages were automatically installed and are no longer required:
gyp javascript-common libc-ares2 libhttp-parser2.7.1 libjs-async libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore libuv1-dev node-abbrev node-ansi node-ansi-color-table
node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-hosted-git-info node-inflight
node-inherits node-ini node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid
node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore
node-validate-npm-package-license node-which node-wrappy node-yallist nodejs nodejs-doc
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
autopoint debhelper dh-autoreconf dh-strip-nondeterminism gettext intltool-debian libarchive-cpio-perl libarchive-zip-perl libfile-stripnondeterminism-perl libmail-sendmail-perl
libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libsys-hostname-long-perl libxmlrpc-epi0 libzip4 php7.2-curl php7.2-dev php7.2-fpm php7.2-gd php7.2-mbstring php7.2-xml
php7.2-xmlrpc php7.2-zip pkg-php-tools po-debconf shtool
Suggested packages:
dh-make dwz gettext-doc libasprintf-dev libgettextpo-dev dh-php libmail-box-perl
The following NEW packages will be installed:
autopoint debhelper dh-autoreconf dh-strip-nondeterminism gettext intltool-debian libapache2-mod-php libarchive-cpio-perl libarchive-zip-perl libfile-stripnondeterminism-perl
libmail-sendmail-perl libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libsys-hostname-long-perl libxmlrpc-epi0 libzip4 php-curl php-dev php-fpm php-gd php-mbstring php-pear php-xml
php-xmlrpc php-zip php7.2-curl php7.2-dev php7.2-fpm php7.2-gd php7.2-mbstring php7.2-xml php7.2-xmlrpc php7.2-zip pkg-php-tools po-debconf shtool
0 upgraded, 38 newly installed, 0 to remove and 10 not upgraded.
Need to get 7043 kB of archives.
After this operation, 29.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 autopoint all 0.19.8.1-6ubuntu0.3 [426 kB]
Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 dh-autoreconf all 17 [15.8 kB]
Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libarchive-zip-perl all 1.60-1ubuntu0.1 [84.6 kB]
Get:4 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libfile-stripnondeterminism-perl all 0.040-1.1~build1 [13.8 kB]
Get:5 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 dh-strip-nondeterminism all 0.040-1.1~build1 [5208 B]
Get:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gettext amd64 0.19.8.1-6ubuntu0.3 [1293 kB]
Get:7 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 intltool-debian all 0.35.0+20060710.4 [24.9 kB]
Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 po-debconf all 1.0.20 [232 kB]
Get:9 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 debhelper all 11.1.6ubuntu2 [902 kB]
Get:10 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libapache2-mod-php all 1:7.2+60ubuntu1 [3212 B]
Get:11 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libarchive-cpio-perl all 0.10-1 [9644 B]
Get:12 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libsys-hostname-long-perl all 1.5-1 [11.7 kB]
Get:13 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libmail-sendmail-perl all 0.80-1 [22.6 kB]
Get:14 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libpcre16-3 amd64 2:8.39-9 [147 kB]
Get:15 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libpcre32-3 amd64 2:8.39-9 [138 kB]
Get:16 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libpcrecpp0v5 amd64 2:8.39-9 [15.3 kB]
Get:17 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libpcre3-dev amd64 2:8.39-9 [537 kB]
Get:18 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 libzip4 amd64 1.1.2-1.1 [37.8 kB]
Get:19 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 php7.2-curl amd64 7.2.17-0ubuntu0.18.04.1 [28.8 kB]
Get:20 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 php-curl all 1:7.2+60ubuntu1 [1996 B]
Get:21 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 shtool all 2.0.8-9 [121 kB]
Get:22 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 php7.2-dev amd64 7.2.17-0ubuntu0.18.04.1 [555 kB]
Get:23 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 php-dev all 1:7.2+60ubuntu1 [3116 B]
Get:24 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php7.2-fpm amd64 7.2.17-0ubuntu0.18.04.1 [1412 kB]
Get:25 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 php-fpm all 1:7.2+60ubuntu1 [3172 B]
Get:26 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 php7.2-gd amd64 7.2.17-0ubuntu0.18.04.1 [27.2 kB]
Get:27 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 php-gd all 1:7.2+60ubuntu1 [1996 B]
Get:28 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php7.2-mbstring amd64 7.2.17-0ubuntu0.18.04.1 [478 kB]
Get:29 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 php-mbstring all 1:7.2+60ubuntu1 [2008 B]
Get:30 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 php7.2-xml amd64 7.2.17-0ubuntu0.18.04.1 [108 kB]
Get:31 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 php-xml all 1:7.2+60ubuntu1 [2024 B]
Get:32 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 php-pear all 1:1.10.5+submodules+notgz-1ubuntu1.18.04.1 [284 kB]
Get:33 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libxmlrpc-epi0 amd64 0.54.2-1.2 [30.5 kB]
Get:34 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 php7.2-xmlrpc amd64 7.2.17-0ubuntu0.18.04.1 [12.7 kB]
Get:35 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 php-xmlrpc all 1:7.2+60ubuntu1 [2004 B]
Get:36 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php7.2-zip amd64 7.2.17-0ubuntu0.18.04.1 [20.3 kB]
Get:37 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 php-zip all 1:7.2+60ubuntu1 [1996 B]
Get:38 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 pkg-php-tools all 1.35ubuntu1 [27.8 kB]
Fetched 7043 kB in 1s (5501 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Extracting templates from packages: 100%
Selecting previously unselected package autopoint.
(Reading database ... 160049 files and directories currently installed.)
Preparing to unpack .../00-autopoint_0.19.8.1-6ubuntu0.3_all.deb ...
Unpacking autopoint (0.19.8.1-6ubuntu0.3) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../01-dh-autoreconf_17_all.deb ...
Unpacking dh-autoreconf (17) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../02-libarchive-zip-perl_1.60-1ubuntu0.1_all.deb ...
Unpacking libarchive-zip-perl (1.60-1ubuntu0.1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../03-libfile-stripnondeterminism-perl_0.040-1.1~build1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.040-1.1~build1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../04-dh-strip-nondeterminism_0.040-1.1~build1_all.deb ...
Unpacking dh-strip-nondeterminism (0.040-1.1~build1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../05-gettext_0.19.8.1-6ubuntu0.3_amd64.deb ...
Unpacking gettext (0.19.8.1-6ubuntu0.3) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../06-intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../07-po-debconf_1.0.20_all.deb ...
Unpacking po-debconf (1.0.20) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../08-debhelper_11.1.6ubuntu2_all.deb ...
Unpacking debhelper (11.1.6ubuntu2) ...
Selecting previously unselected package libapache2-mod-php.
Preparing to unpack .../09-libapache2-mod-php_1%3a7.2+60ubuntu1_all.deb ...
Unpacking libapache2-mod-php (1:7.2+60ubuntu1) ...
Selecting previously unselected package libarchive-cpio-perl.
Preparing to unpack .../10-libarchive-cpio-perl_0.10-1_all.deb ...
Unpacking libarchive-cpio-perl (0.10-1) ...
Selecting previously unselected package libsys-hostname-long-perl.
Preparing to unpack .../11-libsys-hostname-long-perl_1.5-1_all.deb ...
Unpacking libsys-hostname-long-perl (1.5-1) ...
Selecting previously unselected package libmail-sendmail-perl.
Preparing to unpack .../12-libmail-sendmail-perl_0.80-1_all.deb ...
Unpacking libmail-sendmail-perl (0.80-1) ...
Selecting previously unselected package libpcre16-3:amd64.
Preparing to unpack .../13-libpcre16-3_2%3a8.39-9_amd64.deb ...
Unpacking libpcre16-3:amd64 (2:8.39-9) ...
Selecting previously unselected package libpcre32-3:amd64.
Preparing to unpack .../14-libpcre32-3_2%3a8.39-9_amd64.deb ...
Unpacking libpcre32-3:amd64 (2:8.39-9) ...
Selecting previously unselected package libpcrecpp0v5:amd64.
Preparing to unpack .../15-libpcrecpp0v5_2%3a8.39-9_amd64.deb ...
Unpacking libpcrecpp0v5:amd64 (2:8.39-9) ...
Selecting previously unselected package libpcre3-dev:amd64.
Preparing to unpack .../16-libpcre3-dev_2%3a8.39-9_amd64.deb ...
Unpacking libpcre3-dev:amd64 (2:8.39-9) ...
Selecting previously unselected package libzip4:amd64.
Preparing to unpack .../17-libzip4_1.1.2-1.1_amd64.deb ...
Unpacking libzip4:amd64 (1.1.2-1.1) ...
Selecting previously unselected package php7.2-curl.
Preparing to unpack .../18-php7.2-curl_7.2.17-0ubuntu0.18.04.1_amd64.deb ...
Unpacking php7.2-curl (7.2.17-0ubuntu0.18.04.1) ...
Selecting previously unselected package php-curl.
Preparing to unpack .../19-php-curl_1%3a7.2+60ubuntu1_all.deb ...
Unpacking php-curl (1:7.2+60ubuntu1) ...
Selecting previously unselected package shtool.
Preparing to unpack .../20-shtool_2.0.8-9_all.deb ...
Unpacking shtool (2.0.8-9) ...
Selecting previously unselected package php7.2-dev.
Preparing to unpack .../21-php7.2-dev_7.2.17-0ubuntu0.18.04.1_amd64.deb ...
Unpacking php7.2-dev (7.2.17-0ubuntu0.18.04.1) ...
Selecting previously unselected package php-dev.
Preparing to unpack .../22-php-dev_1%3a7.2+60ubuntu1_all.deb ...
Unpacking php-dev (1:7.2+60ubuntu1) ...
Selecting previously unselected package php7.2-fpm.
Preparing to unpack .../23-php7.2-fpm_7.2.17-0ubuntu0.18.04.1_amd64.deb ...
Unpacking php7.2-fpm (7.2.17-0ubuntu0.18.04.1) ...
Selecting previously unselected package php-fpm.
Preparing to unpack .../24-php-fpm_1%3a7.2+60ubuntu1_all.deb ...
Unpacking php-fpm (1:7.2+60ubuntu1) ...
Selecting previously unselected package php7.2-gd.
Preparing to unpack .../25-php7.2-gd_7.2.17-0ubuntu0.18.04.1_amd64.deb ...
Unpacking php7.2-gd (7.2.17-0ubuntu0.18.04.1) ...
Selecting previously unselected package php-gd.
Preparing to unpack .../26-php-gd_1%3a7.2+60ubuntu1_all.deb ...
Unpacking php-gd (1:7.2+60ubuntu1) ...
Selecting previously unselected package php7.2-mbstring.
Preparing to unpack .../27-php7.2-mbstring_7.2.17-0ubuntu0.18.04.1_amd64.deb ...
Unpacking php7.2-mbstring (7.2.17-0ubuntu0.18.04.1) ...
Selecting previously unselected package php-mbstring.
Preparing to unpack .../28-php-mbstring_1%3a7.2+60ubuntu1_all.deb ...
Unpacking php-mbstring (1:7.2+60ubuntu1) ...
Selecting previously unselected package php7.2-xml.
Preparing to unpack .../29-php7.2-xml_7.2.17-0ubuntu0.18.04.1_amd64.deb ...
Unpacking php7.2-xml (7.2.17-0ubuntu0.18.04.1) ...
Selecting previously unselected package php-xml.
Preparing to unpack .../30-php-xml_1%3a7.2+60ubuntu1_all.deb ...
Unpacking php-xml (1:7.2+60ubuntu1) ...
Selecting previously unselected package php-pear.
Preparing to unpack .../31-php-pear_1%3a1.10.5+submodules+notgz-1ubuntu1.18.04.1_all.deb ...
Unpacking php-pear (1:1.10.5+submodules+notgz-1ubuntu1.18.04.1) ...
Selecting previously unselected package libxmlrpc-epi0:amd64.
Preparing to unpack .../32-libxmlrpc-epi0_0.54.2-1.2_amd64.deb ...
Unpacking libxmlrpc-epi0:amd64 (0.54.2-1.2) ...
Selecting previously unselected package php7.2-xmlrpc.
Preparing to unpack .../33-php7.2-xmlrpc_7.2.17-0ubuntu0.18.04.1_amd64.deb ...
Unpacking php7.2-xmlrpc (7.2.17-0ubuntu0.18.04.1) ...
Selecting previously unselected package php-xmlrpc.
Preparing to unpack .../34-php-xmlrpc_1%3a7.2+60ubuntu1_all.deb ...
Unpacking php-xmlrpc (1:7.2+60ubuntu1) ...
Selecting previously unselected package php7.2-zip.
Preparing to unpack .../35-php7.2-zip_7.2.17-0ubuntu0.18.04.1_amd64.deb ...
Unpacking php7.2-zip (7.2.17-0ubuntu0.18.04.1) ...
Selecting previously unselected package php-zip.
Preparing to unpack .../36-php-zip_1%3a7.2+60ubuntu1_all.deb ...
Unpacking php-zip (1:7.2+60ubuntu1) ...
Selecting previously unselected package pkg-php-tools.
Preparing to unpack .../37-pkg-php-tools_1.35ubuntu1_all.deb ...
Unpacking pkg-php-tools (1.35ubuntu1) ...
Setting up php7.2-gd (7.2.17-0ubuntu0.18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/mods-available/gd.ini with new version
Setting up php7.2-xml (7.2.17-0ubuntu0.18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/mods-available/dom.ini with new version
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/mods-available/simplexml.ini with new version
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/mods-available/wddx.ini with new version
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/mods-available/xml.ini with new version
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/mods-available/xmlreader.ini with new version
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/mods-available/xmlwriter.ini with new version
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/mods-available/xsl.ini with new version
Setting up php7.2-fpm (7.2.17-0ubuntu0.18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/fpm/php.ini with new version
php_invoke: Enabled module phar for fpm sapi
php_invoke: Enabled module http for fpm sapi
php_invoke: Enabled module xdebug for fpm sapi
php_invoke: Enabled module fileinfo for fpm sapi
php_invoke: Enabled module mysqli for fpm sapi
php_invoke: Enabled module iconv for fpm sapi
php_invoke: Enabled module readline for fpm sapi
php_invoke: Enabled module propro for fpm sapi
php_invoke: Enabled module json for fpm sapi
php_invoke: Enabled module ctype for fpm sapi
php_invoke: Enabled module pdo_mysql for fpm sapi
php_invoke: Enabled module sockets for fpm sapi
php_invoke: Enabled module mysqlnd for fpm sapi
php_invoke: Enabled module exif for fpm sapi
php_invoke: Enabled module pdo for fpm sapi
php_invoke: Enabled module opcache for fpm sapi
php_invoke: Enabled module sysvsem for fpm sapi
php_invoke: Enabled module shmop for fpm sapi
php_invoke: Enabled module sysvmsg for fpm sapi
php_invoke: Enabled module sysvshm for fpm sapi
php_invoke: Enabled module calendar for fpm sapi
php_invoke: Enabled module posix for fpm sapi
php_invoke: Enabled module gettext for fpm sapi
php_invoke: Enabled module raphf for fpm sapi
php_invoke: Enabled module tokenizer for fpm sapi
php_invoke: Enabled module ftp for fpm sapi
NOTICE: Not enabling PHP 7.2 FPM by default.
NOTICE: To enable PHP 7.2 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.2-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Created symlink /etc/systemd/system/multi-user.target.wants/php7.2-fpm.service → /lib/systemd/system/php7.2-fpm.service.
Setting up libarchive-zip-perl (1.60-1ubuntu0.1) ...
Setting up libapache2-mod-php (1:7.2+60ubuntu1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Setting up gettext (0.19.8.1-6ubuntu0.3) ...
Setting up php7.2-curl (7.2.17-0ubuntu0.18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/mods-available/curl.ini with new version
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Setting up shtool (2.0.8-9) ...
Setting up libarchive-cpio-perl (0.10-1) ...
Setting up php-curl (1:7.2+60ubuntu1) ...
Setting up php7.2-mbstring (7.2.17-0ubuntu0.18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/mods-available/mbstring.ini with new version
Setting up php-xml (1:7.2+60ubuntu1) ...
Setting up libzip4:amd64 (1.1.2-1.1) ...
Setting up libsys-hostname-long-perl (1.5-1) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up libxmlrpc-epi0:amd64 (0.54.2-1.2) ...
Setting up libmail-sendmail-perl (0.80-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up php-mbstring (1:7.2+60ubuntu1) ...
Setting up php-fpm (1:7.2+60ubuntu1) ...
Processing triggers for systemd (237-3ubuntu10.21) ...
Setting up php-pear (1:1.10.5+submodules+notgz-1ubuntu1.18.04.1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libpcrecpp0v5:amd64 (2:8.39-9) ...
Setting up libpcre32-3:amd64 (2:8.39-9) ...
Setting up libpcre16-3:amd64 (2:8.39-9) ...
Setting up php-gd (1:7.2+60ubuntu1) ...
Processing triggers for libapache2-mod-php7.2 (7.2.17-0ubuntu0.18.04.1) ...
Setting up autopoint (0.19.8.1-6ubuntu0.3) ...
Setting up libfile-stripnondeterminism-perl (0.040-1.1~build1) ...
Setting up php7.2-xmlrpc (7.2.17-0ubuntu0.18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/mods-available/xmlrpc.ini with new version
Setting up libpcre3-dev:amd64 (2:8.39-9) ...
Setting up php7.2-zip (7.2.17-0ubuntu0.18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Creating config file /etc/php/7.2/mods-available/zip.ini with new version
Setting up po-debconf (1.0.20) ...
Setting up php-zip (1:7.2+60ubuntu1) ...
Setting up php-xmlrpc (1:7.2+60ubuntu1) ...
Setting up php7.2-dev (7.2.17-0ubuntu0.18.04.1) ...
update-alternatives: using /usr/bin/php-config7.2 to provide /usr/bin/php-config (php-config) in auto mode
update-alternatives: using /usr/bin/phpize7.2 to provide /usr/bin/phpize (phpize) in auto mode
Setting up php-dev (1:7.2+60ubuntu1) ...
Setting up dh-autoreconf (17) ...
Setting up debhelper (11.1.6ubuntu2) ...
Setting up pkg-php-tools (1.35ubuntu1) ...
Setting up dh-strip-nondeterminism (0.040-1.1~build1) ...
Processing triggers for php7.2-fpm (7.2.17-0ubuntu0.18.04.1) ...
NOTICE: Not enabling PHP 7.2 FPM by default.
NOTICE: To enable PHP 7.2 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.2-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for libapache2-mod-php7.2 (7.2.17-0ubuntu0.18.04.1) ...
ubuntu:~/environment $ sudo service apache2 restart
ubuntu:~/environment $ php -r 'echo "\n\nYour PHP installation is working fine.\n\n\n";'
Your PHP installation is working fine.
ubuntu:~/environment $
ubuntu:~/environment $
ubuntu:~/environment $
ubuntu:~/environment $ cd /var/www
ubuntu:/var/www $ ls
html
ubuntu:/var/www $ ll
ll: command not found
ubuntu:/var/www $ cd html/
ubuntu:/var/www/html $ ls
index.html
ubuntu:/var/www/html $ cd ~
ubuntu:~ $ cd environment/
ubuntu:~/environment $ dir
README.md index.html q2a
ubuntu:~/environment $ ll
ll: command not found
ubuntu:~/environment $ mkdir phpMyAdmin
ubuntu:~/environment $ cd phpMyAdmin/
ubuntu:~/environment/phpMyAdmin $ git clone https://github.com/phpmyadmin/phpmyadmin.git .
Cloning into '.'...
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 649397 (delta 3), reused 2 (delta 0), pack-reused 649378
Receiving objects: 100% (649397/649397), 645.55 MiB | 13.37 MiB/s, done.
Resolving deltas: 100% (515089/515089), done.
ubuntu:~/environment/phpMyAdmin (master) $
ubuntu:~/environment/phpMyAdmin (master) $
ubuntu:~/environment/phpMyAdmin (master) $ git checkout --track origin/STABLE
Branch 'STABLE' set up to track remote branch 'STABLE' from 'origin'.
Switched to a new branch 'STABLE'
ubuntu:~/environment/phpMyAdmin (STABLE) $ git branch
* STABLE
master
ubuntu:~/environment/phpMyAdmin (STABLE) $
ubuntu:~/environment/phpMyAdmin (STABLE) $
ubuntu:~/environment/phpMyAdmin (STABLE) $ composer update --no-dev
Command 'composer' not found, but can be installed with:
sudo apt install composer
ubuntu:~/environment/phpMyAdmin (STABLE) $ sudo apt-get install composer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gyp javascript-common libc-ares2 libhttp-parser2.7.1 libjs-async libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore libuv1-dev node-abbrev node-ansi node-ansi-color-table
node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-hosted-git-info node-inflight
node-inherits node-ini node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid
node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore
node-validate-npm-package-license node-which node-wrappy node-yallist nodejs nodejs-doc
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
jsonlint php-cli-prompt php-composer-ca-bundle php-composer-semver php-composer-spdx-licenses php-json-schema php-psr-log php-symfony-console php-symfony-debug php-symfony-filesystem
php-symfony-finder php-symfony-polyfill-mbstring php-symfony-process
Suggested packages:
fossil mercurial subversion php-symfony-event-dispatcher php-symfony-lock
The following NEW packages will be installed:
composer jsonlint php-cli-prompt php-composer-ca-bundle php-composer-semver php-composer-spdx-licenses php-json-schema php-psr-log php-symfony-console php-symfony-debug
php-symfony-filesystem php-symfony-finder php-symfony-polyfill-mbstring php-symfony-process
0 upgraded, 14 newly installed, 0 to remove and 10 not upgraded.
Need to get 586 kB of archives.
After this operation, 3482 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 php-json-schema all 5.2.6-1 [32.5 kB]
Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 php-composer-ca-bundle all 1.1.0-1 [13.7 kB]
Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 php-composer-semver all 1.4.2-1 [10.6 kB]
Get:4 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 php-composer-spdx-licenses all 1.3.0-1 [10.4 kB]
Get:5 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 jsonlint all 1.7.1-1 [11.2 kB]
Get:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 php-symfony-polyfill-mbstring all 1.6.0-2 [12.1 kB]
Get:7 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 php-psr-log all 1.0.2-1 [6976 B]
Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php-symfony-debug all 3.4.6+dfsg-1ubuntu0.1 [36.4 kB]
Get:9 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php-symfony-console all 3.4.6+dfsg-1ubuntu0.1 [65.6 kB]
Get:10 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php-symfony-finder all 3.4.6+dfsg-1ubuntu0.1 [21.9 kB]
Get:11 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php-symfony-process all 3.4.6+dfsg-1ubuntu0.1 [28.8 kB]
Get:12 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php-symfony-filesystem all 3.4.6+dfsg-1ubuntu0.1 [18.7 kB]
Get:13 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 php-cli-prompt all 1.0.3+dfsg-1 [4620 B]
Get:14 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 composer all 1.6.3-1 [313 kB]
Fetched 586 kB in 1s (909 kB/s)
Selecting previously unselected package php-json-schema.
(Reading database ... 161828 files and directories currently installed.)
Preparing to unpack .../00-php-json-schema_5.2.6-1_all.deb ...
Unpacking php-json-schema (5.2.6-1) ...
Selecting previously unselected package php-composer-ca-bundle.
Preparing to unpack .../01-php-composer-ca-bundle_1.1.0-1_all.deb ...
Unpacking php-composer-ca-bundle (1.1.0-1) ...
Selecting previously unselected package php-composer-semver.
Preparing to unpack .../02-php-composer-semver_1.4.2-1_all.deb ...
Unpacking php-composer-semver (1.4.2-1) ...
Selecting previously unselected package php-composer-spdx-licenses.
Preparing to unpack .../03-php-composer-spdx-licenses_1.3.0-1_all.deb ...
Unpacking php-composer-spdx-licenses (1.3.0-1) ...
Selecting previously unselected package jsonlint.
Preparing to unpack .../04-jsonlint_1.7.1-1_all.deb ...
Unpacking jsonlint (1.7.1-1) ...
Selecting previously unselected package php-symfony-polyfill-mbstring.
Preparing to unpack .../05-php-symfony-polyfill-mbstring_1.6.0-2_all.deb ...
Unpacking php-symfony-polyfill-mbstring (1.6.0-2) ...
Selecting previously unselected package php-psr-log.
Preparing to unpack .../06-php-psr-log_1.0.2-1_all.deb ...
Unpacking php-psr-log (1.0.2-1) ...
Selecting previously unselected package php-symfony-debug.
Preparing to unpack .../07-php-symfony-debug_3.4.6+dfsg-1ubuntu0.1_all.deb ...
Unpacking php-symfony-debug (3.4.6+dfsg-1ubuntu0.1) ...
Selecting previously unselected package php-symfony-console.
Preparing to unpack .../08-php-symfony-console_3.4.6+dfsg-1ubuntu0.1_all.deb ...
Unpacking php-symfony-console (3.4.6+dfsg-1ubuntu0.1) ...
Selecting previously unselected package php-symfony-finder.
Preparing to unpack .../09-php-symfony-finder_3.4.6+dfsg-1ubuntu0.1_all.deb ...
Unpacking php-symfony-finder (3.4.6+dfsg-1ubuntu0.1) ...
Selecting previously unselected package php-symfony-process.
Preparing to unpack .../10-php-symfony-process_3.4.6+dfsg-1ubuntu0.1_all.deb ...
Unpacking php-symfony-process (3.4.6+dfsg-1ubuntu0.1) ...
Selecting previously unselected package php-symfony-filesystem.
Preparing to unpack .../11-php-symfony-filesystem_3.4.6+dfsg-1ubuntu0.1_all.deb ...
Unpacking php-symfony-filesystem (3.4.6+dfsg-1ubuntu0.1) ...
Selecting previously unselected package php-cli-prompt.
Preparing to unpack .../12-php-cli-prompt_1.0.3+dfsg-1_all.deb ...
Unpacking php-cli-prompt (1.0.3+dfsg-1) ...
Selecting previously unselected package composer.
Preparing to unpack .../13-composer_1.6.3-1_all.deb ...
Unpacking composer (1.6.3-1) ...
Setting up php-psr-log (1.0.2-1) ...
Setting up php-symfony-finder (3.4.6+dfsg-1ubuntu0.1) ...
Setting up php-composer-ca-bundle (1.1.0-1) ...
Setting up php-json-schema (5.2.6-1) ...
Setting up php-composer-semver (1.4.2-1) ...
Setting up php-cli-prompt (1.0.3+dfsg-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up php-composer-spdx-licenses (1.3.0-1) ...
Setting up php-symfony-filesystem (3.4.6+dfsg-1ubuntu0.1) ...
Setting up php-symfony-polyfill-mbstring (1.6.0-2) ...
Setting up jsonlint (1.7.1-1) ...
Setting up php-symfony-process (3.4.6+dfsg-1ubuntu0.1) ...
Setting up php-symfony-debug (3.4.6+dfsg-1ubuntu0.1) ...
Setting up php-symfony-console (3.4.6+dfsg-1ubuntu0.1) ...
Setting up composer (1.6.3-1) ...
ubuntu:~/environment/phpMyAdmin (STABLE) $ composer update --no-dev
Loading composer repositories with package information
Updating dependencies
Package operations: 17 installs, 0 updates, 0 removals
- Installing symfony/var-exporter (v4.2.8): Downloading (100%)
- Installing symfony/contracts (v1.1.0): Downloading (100%)
- Installing psr/simple-cache (1.0.1): Downloading (100%)
- Installing psr/log (1.1.0): Downloading (100%)
- Installing psr/cache (1.0.1): Downloading (100%)
- Installing symfony/cache (v4.2.8): Downloading (100%)
- Installing symfony/expression-language (v3.4.27): Downloading (100%)
- Installing phpmyadmin/motranslator (4.0): Downloading (100%)
- Installing psr/container (1.0.0): Downloading (100%)
- Installing symfony/polyfill-mbstring (v1.11.0): Downloading (100%)
- Installing phpmyadmin/sql-parser (v4.3.1): Downloading (100%)
- Installing phpmyadmin/shapefile (2.1): Downloading (100%)
- Installing phpseclib/phpseclib (2.0.15): Downloading (100%)
- Installing google/recaptcha (1.2.1): Downloading (100%)
- Installing symfony/polyfill-ctype (v1.11.0): Downloading (100%)
- Installing twig/twig (v1.41.0): Downloading (100%)
- Installing twig/extensions (v1.5.4): Downloading (100%)
Writing lock file
Generating autoload files
ubuntu:~/environment/phpMyAdmin (STABLE) $ yarn install
Command 'yarn' not found, but can be installed with:
sudo apt install cmdtest
ubuntu:~/environment/phpMyAdmin (STABLE) $ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
OK
ubuntu:~/environment/phpMyAdmin (STABLE) $ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
deb https://dl.yarnpkg.com/debian/ stable main
ubuntu:~/environment/phpMyAdmin (STABLE) $ sudo apt-get update
Get:1 https://dl.yarnpkg.com/debian stable InRelease [13.3 kB]
Hit:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:5 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease
Get:7 https://dl.yarnpkg.com/debian stable/main all Packages [8706 B]
Get:8 https://dl.yarnpkg.com/debian stable/main amd64 Packages [8706 B]
Fetched 30.7 kB in 1s (55.9 kB/s)
Reading package lists... Done
ubuntu:~/environment/phpMyAdmin (STABLE) $ sudo apt-get install yarm
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package yarm
ubuntu:~/environment/phpMyAdmin (STABLE) $ sudo apt-get install yarn
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gyp javascript-common libjs-async libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async
node-balanced-match node-block-stream node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent
node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-hosted-git-info node-inflight node-inherits node-ini
node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request node-retry node-rimraf
node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license
node-which node-wrappy node-yallist
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
yarn
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 837 kB of archives.
After this operation, 5001 kB of additional disk space will be used.
Get:1 https://dl.yarnpkg.com/debian stable/main amd64 yarn all 1.16.0-1 [837 kB]
Fetched 837 kB in 0s (5750 kB/s)
Selecting previously unselected package yarn.
(Reading database ... 162489 files and directories currently installed.)
Preparing to unpack .../archives/yarn_1.16.0-1_all.deb ...
Unpacking yarn (1.16.0-1) ...
Setting up yarn (1.16.0-1) ...
ubuntu:~/environment/phpMyAdmin (STABLE) $
ubuntu:~/environment/phpMyAdmin (STABLE) $
ubuntu:~/environment/phpMyAdmin (STABLE) $
ubuntu:~/environment/phpMyAdmin (STABLE) $ yarn install
yarn install v1.16.0
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 6.02s.
ubuntu:~/environment/phpMyAdmin (STABLE) $