Skip to main content

RPI3 - Setting Up Web Server on Ubuntu 20.04 Server LTS

bboycan@bboy-Latitude-E7450:~$ ssh ubuntu@192.168.1.5
ubuntu@192.168.1.5's password:
Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-1015-raspi aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Tue Aug 11 14:42:20 UTC 2020

  System load:  0.08               Temperature:            44.0 C
  Usage of /:   14.1% of 14.30GB   Processes:              132
  Memory usage: 27%                Users logged in:        0
  Swap usage:   0%                 IPv4 address for wlan0: 192.168.1.5

 * Are you ready for Kubernetes 1.19? It's nearly here! Try RC3 with
   sudo snap install microk8s --channel=1.19/candidate --classic

   https://microk8s.io/ has docs and details.

0 updates can be installed immediately.
0 of these updates are security updates.


Last login: Tue Aug 11 14:37:25 2020 from 192.168.1.7
ubuntu@ubuntu:~$ sudo apt update
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Reading package lists... Done
Building dependency tree      
Reading state information... Done
All packages are up to date.
ubuntu@ubuntu:~$ sudo apt install apache2
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  apache2-bin apache2-data apache2-utils libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libjansson4 liblua5.2-0 ssl-cert
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser
  openssl-blacklist
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libjansson4 liblua5.2-0 ssl-cert
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 1736 kB of archives.
After this operation, 7325 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libapr1 arm64 1.6.5-1ubuntu1 [85.4 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libaprutil1 arm64 1.6.1-4ubuntu2 [82.4 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libaprutil1-dbd-sqlite3 arm64 1.6.1-4ubuntu2 [10.4 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libaprutil1-ldap arm64 1.6.1-4ubuntu2 [8572 B]
Get:5 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libjansson4 arm64 2.12-1build1 [28.5 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 liblua5.2-0 arm64 5.2.4-1.1build3 [96.0 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 apache2-bin arm64 2.4.41-4ubuntu3 [1073 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 apache2-data all 2.4.41-4ubuntu3 [159 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 apache2-utils arm64 2.4.41-4ubuntu3 [80.4 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 apache2 arm64 2.4.41-4ubuntu3 [95.5 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 ssl-cert all 1.0.39 [17.0 kB]
Fetched 1736 kB in 3s (668 kB/s)  
Preconfiguring packages ...
Selecting previously unselected package libapr1:arm64.
(Reading database ... 66780 files and directories currently installed.)
Preparing to unpack .../00-libapr1_1.6.5-1ubuntu1_arm64.deb ...
Unpacking libapr1:arm64 (1.6.5-1ubuntu1) ...
Selecting previously unselected package libaprutil1:arm64.
Preparing to unpack .../01-libaprutil1_1.6.1-4ubuntu2_arm64.deb ...
Unpacking libaprutil1:arm64 (1.6.1-4ubuntu2) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3:arm64.
Preparing to unpack .../02-libaprutil1-dbd-sqlite3_1.6.1-4ubuntu2_arm64.deb ...
Unpacking libaprutil1-dbd-sqlite3:arm64 (1.6.1-4ubuntu2) ...
Selecting previously unselected package libaprutil1-ldap:arm64.
Preparing to unpack .../03-libaprutil1-ldap_1.6.1-4ubuntu2_arm64.deb ...
Unpacking libaprutil1-ldap:arm64 (1.6.1-4ubuntu2) ...
Selecting previously unselected package libjansson4:arm64.
Preparing to unpack .../04-libjansson4_2.12-1build1_arm64.deb ...
Unpacking libjansson4:arm64 (2.12-1build1) ...
Selecting previously unselected package liblua5.2-0:arm64.
Preparing to unpack .../05-liblua5.2-0_5.2.4-1.1build3_arm64.deb ...
Unpacking liblua5.2-0:arm64 (5.2.4-1.1build3) ...
Selecting previously unselected package apache2-bin.
Preparing to unpack .../06-apache2-bin_2.4.41-4ubuntu3_arm64.deb ...
Unpacking apache2-bin (2.4.41-4ubuntu3) ...
Selecting previously unselected package apache2-data.
Preparing to unpack .../07-apache2-data_2.4.41-4ubuntu3_all.deb ...
Unpacking apache2-data (2.4.41-4ubuntu3) ...
Selecting previously unselected package apache2-utils.
Preparing to unpack .../08-apache2-utils_2.4.41-4ubuntu3_arm64.deb ...
Unpacking apache2-utils (2.4.41-4ubuntu3) ...
Selecting previously unselected package apache2.
Preparing to unpack .../09-apache2_2.4.41-4ubuntu3_arm64.deb ...
Unpacking apache2 (2.4.41-4ubuntu3) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../10-ssl-cert_1.0.39_all.deb ...
Unpacking ssl-cert (1.0.39) ...
Setting up libapr1:arm64 (1.6.5-1ubuntu1) ...
Setting up libjansson4:arm64 (2.12-1build1) ...
Setting up ssl-cert (1.0.39) ...
Setting up liblua5.2-0:arm64 (5.2.4-1.1build3) ...
Setting up apache2-data (2.4.41-4ubuntu3) ...
Setting up libaprutil1:arm64 (1.6.1-4ubuntu2) ...
Setting up libaprutil1-ldap:arm64 (1.6.1-4ubuntu2) ...
Setting up libaprutil1-dbd-sqlite3:arm64 (1.6.1-4ubuntu2) ...
Setting up apache2-utils (2.4.41-4ubuntu3) ...
Setting up apache2-bin (2.4.41-4ubuntu3) ...
Setting up apache2 (2.4.41-4ubuntu3) ...
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 /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service.
Processing triggers for ufw (0.36-6) ...
Processing triggers for systemd (245.4-4ubuntu3.2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
ubuntu@ubuntu:~$ sudo systemctl restart apache2.service
ubuntu@ubuntu:~$ sudo systemctl enable apache2.service
Synchronizing state of apache2.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable apache2
ubuntu@ubuntu:~$ sudo apt install mariadb-server
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  galera-3 libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl
  libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl
  libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl
  libhttp-date-perl libhttp-message-perl libio-html-perl
  liblwp-mediatypes-perl libmysqlclient21 libsnappy1v5 libterm-readkey-perl
  libtimedate-perl liburi-perl mariadb-client-10.3 mariadb-client-core-10.3
  mariadb-common mariadb-server-10.3 mariadb-server-core-10.3 mysql-common
  socat
Suggested packages:
  libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl
  libdata-dump-perl libipc-sharedcache-perl libwww-perl mailx mariadb-test
  tinyca
The following NEW packages will be installed:
  galera-3 libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl
  libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl
  libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl
  libhttp-date-perl libhttp-message-perl libio-html-perl
  liblwp-mediatypes-perl libmysqlclient21 libsnappy1v5 libterm-readkey-perl
  libtimedate-perl liburi-perl mariadb-client-10.3 mariadb-client-core-10.3
  mariadb-common mariadb-server mariadb-server-10.3 mariadb-server-core-10.3
  mysql-common socat
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.9 MB of archives.
After this operation, 170 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 mysql-common all 5.8+1.0.5ubuntu2 [7496 B]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 mariadb-common all 1:10.3.22-1ubuntu1 [15.6 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 galera-3 arm64 25.3.29-1 [747 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libdbi-perl arm64 1.643-1 [724 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libconfig-inifiles-perl all 3.000002-1 [40.6 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libsnappy1v5 arm64 1.1.8-1build1 [16.0 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 mariadb-client-core-10.3 arm64 1:10.3.22-1ubuntu1 [5384 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 mariadb-client-10.3 arm64 1:10.3.22-1ubuntu1 [1112 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 mariadb-server-core-10.3 arm64 1:10.3.22-1ubuntu1 [5596 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 socat arm64 1.7.3.3-2 [315 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 mariadb-server-10.3 arm64 1:10.3.22-1ubuntu1 [3999 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libhtml-tagset-perl all 3.20-4 [12.5 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 liburi-perl all 1.76-2 [77.5 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libhtml-parser-perl arm64 3.72-5 [84.1 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libcgi-pm-perl all 4.46-1 [186 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libfcgi-perl arm64 0.79-1 [32.7 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libcgi-fast-perl all 1:2.15-1 [10.5 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libmysqlclient21 arm64 8.0.21-0ubuntu0.20.04.4 [1196 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libdbd-mysql-perl arm64 4.050-3 [78.1 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libencode-locale-perl all 1.05-1 [12.3 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libhtml-template-perl all 2.97-1 [59.0 kB]
Get:22 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libtimedate-perl all 2.3200-1 [34.0 kB]
Get:23 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libhttp-date-perl all 6.05-1 [9920 B]
Get:24 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libio-html-perl all 1.001-1 [14.9 kB]
Get:25 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 liblwp-mediatypes-perl all 6.04-1 [19.5 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libhttp-message-perl all 6.22-1 [76.1 kB]
Get:27 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libterm-readkey-perl arm64 2.38-1build1 [24.1 kB]
Get:28 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 mariadb-server all 1:10.3.22-1ubuntu1 [12.7 kB]
Fetched 19.9 MB in 17s (1173 kB/s)                                            
Preconfiguring packages ...
Selecting previously unselected package mysql-common.
(Reading database ... 67505 files and directories currently installed.)
Preparing to unpack .../0-mysql-common_5.8+1.0.5ubuntu2_all.deb ...
Unpacking mysql-common (5.8+1.0.5ubuntu2) ...
Selecting previously unselected package mariadb-common.
Preparing to unpack .../1-mariadb-common_1%3a10.3.22-1ubuntu1_all.deb ...
Unpacking mariadb-common (1:10.3.22-1ubuntu1) ...
Selecting previously unselected package galera-3.
Preparing to unpack .../2-galera-3_25.3.29-1_arm64.deb ...
Unpacking galera-3 (25.3.29-1) ...
Selecting previously unselected package libdbi-perl:arm64.
Preparing to unpack .../3-libdbi-perl_1.643-1_arm64.deb ...
Unpacking libdbi-perl:arm64 (1.643-1) ...
Selecting previously unselected package libconfig-inifiles-perl.
Preparing to unpack .../4-libconfig-inifiles-perl_3.000002-1_all.deb ...
Unpacking libconfig-inifiles-perl (3.000002-1) ...
Selecting previously unselected package libsnappy1v5:arm64.
Preparing to unpack .../5-libsnappy1v5_1.1.8-1build1_arm64.deb ...
Unpacking libsnappy1v5:arm64 (1.1.8-1build1) ...
Selecting previously unselected package mariadb-client-core-10.3.
Preparing to unpack .../6-mariadb-client-core-10.3_1%3a10.3.22-1ubuntu1_arm64.deb ...
Unpacking mariadb-client-core-10.3 (1:10.3.22-1ubuntu1) ...
Selecting previously unselected package mariadb-client-10.3.
Preparing to unpack .../7-mariadb-client-10.3_1%3a10.3.22-1ubuntu1_arm64.deb ...
Unpacking mariadb-client-10.3 (1:10.3.22-1ubuntu1) ...
Selecting previously unselected package mariadb-server-core-10.3.
Preparing to unpack .../8-mariadb-server-core-10.3_1%3a10.3.22-1ubuntu1_arm64.deb ...
Unpacking mariadb-server-core-10.3 (1:10.3.22-1ubuntu1) ...
Selecting previously unselected package socat.
Preparing to unpack .../9-socat_1.7.3.3-2_arm64.deb ...
Unpacking socat (1.7.3.3-2) ...
Setting up mysql-common (5.8+1.0.5ubuntu2) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up mariadb-common (1:10.3.22-1ubuntu1) ...
update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Selecting previously unselected package mariadb-server-10.3.
(Reading database ... 67890 files and directories currently installed.)
Preparing to unpack .../00-mariadb-server-10.3_1%3a10.3.22-1ubuntu1_arm64.deb ...
Unpacking mariadb-server-10.3 (1:10.3.22-1ubuntu1) ...
Selecting previously unselected package libhtml-tagset-perl.
Preparing to unpack .../01-libhtml-tagset-perl_3.20-4_all.deb ...
Unpacking libhtml-tagset-perl (3.20-4) ...
Selecting previously unselected package liburi-perl.
Preparing to unpack .../02-liburi-perl_1.76-2_all.deb ...
Unpacking liburi-perl (1.76-2) ...
Selecting previously unselected package libhtml-parser-perl.
Preparing to unpack .../03-libhtml-parser-perl_3.72-5_arm64.deb ...
Unpacking libhtml-parser-perl (3.72-5) ...
Selecting previously unselected package libcgi-pm-perl.
Preparing to unpack .../04-libcgi-pm-perl_4.46-1_all.deb ...
Unpacking libcgi-pm-perl (4.46-1) ...
Selecting previously unselected package libfcgi-perl.
Preparing to unpack .../05-libfcgi-perl_0.79-1_arm64.deb ...
Unpacking libfcgi-perl (0.79-1) ...
Selecting previously unselected package libcgi-fast-perl.
Preparing to unpack .../06-libcgi-fast-perl_1%3a2.15-1_all.deb ...
Unpacking libcgi-fast-perl (1:2.15-1) ...
Selecting previously unselected package libmysqlclient21:arm64.
Preparing to unpack .../07-libmysqlclient21_8.0.21-0ubuntu0.20.04.4_arm64.deb ...
Unpacking libmysqlclient21:arm64 (8.0.21-0ubuntu0.20.04.4) ...
Selecting previously unselected package libdbd-mysql-perl:arm64.
Preparing to unpack .../08-libdbd-mysql-perl_4.050-3_arm64.deb ...
Unpacking libdbd-mysql-perl:arm64 (4.050-3) ...
Selecting previously unselected package libencode-locale-perl.
Preparing to unpack .../09-libencode-locale-perl_1.05-1_all.deb ...
Unpacking libencode-locale-perl (1.05-1) ...
Selecting previously unselected package libhtml-template-perl.
Preparing to unpack .../10-libhtml-template-perl_2.97-1_all.deb ...
Unpacking libhtml-template-perl (2.97-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../11-libtimedate-perl_2.3200-1_all.deb ...
Unpacking libtimedate-perl (2.3200-1) ...
Selecting previously unselected package libhttp-date-perl.
Preparing to unpack .../12-libhttp-date-perl_6.05-1_all.deb ...
Unpacking libhttp-date-perl (6.05-1) ...
Selecting previously unselected package libio-html-perl.
Preparing to unpack .../13-libio-html-perl_1.001-1_all.deb ...
Unpacking libio-html-perl (1.001-1) ...
Selecting previously unselected package liblwp-mediatypes-perl.
Preparing to unpack .../14-liblwp-mediatypes-perl_6.04-1_all.deb ...
Unpacking liblwp-mediatypes-perl (6.04-1) ...
Selecting previously unselected package libhttp-message-perl.
Preparing to unpack .../15-libhttp-message-perl_6.22-1_all.deb ...
Unpacking libhttp-message-perl (6.22-1) ...
Selecting previously unselected package libterm-readkey-perl.
Preparing to unpack .../16-libterm-readkey-perl_2.38-1build1_arm64.deb ...
Unpacking libterm-readkey-perl (2.38-1build1) ...
Selecting previously unselected package mariadb-server.
Preparing to unpack .../17-mariadb-server_1%3a10.3.22-1ubuntu1_all.deb ...
Unpacking mariadb-server (1:10.3.22-1ubuntu1) ...
Setting up libconfig-inifiles-perl (3.000002-1) ...
Setting up libmysqlclient21:arm64 (8.0.21-0ubuntu0.20.04.4) ...
Setting up libhtml-tagset-perl (3.20-4) ...
Setting up liblwp-mediatypes-perl (6.04-1) ...
Setting up libencode-locale-perl (1.05-1) ...
Setting up libsnappy1v5:arm64 (1.1.8-1build1) ...
Setting up socat (1.7.3.3-2) ...
Setting up mariadb-server-core-10.3 (1:10.3.22-1ubuntu1) ...
Setting up libio-html-perl (1.001-1) ...
Setting up galera-3 (25.3.29-1) ...
Setting up libtimedate-perl (2.3200-1) ...
Setting up mariadb-client-core-10.3 (1:10.3.22-1ubuntu1) ...
Setting up libfcgi-perl (0.79-1) ...
Setting up libterm-readkey-perl (2.38-1build1) ...
Setting up liburi-perl (1.76-2) ...
Setting up libdbi-perl:arm64 (1.643-1) ...
Setting up libhttp-date-perl (6.05-1) ...
Setting up mariadb-client-10.3 (1:10.3.22-1ubuntu1) ...
Setting up libdbd-mysql-perl:arm64 (4.050-3) ...
Setting up libhtml-parser-perl (3.72-5) ...
Setting up mariadb-server-10.3 (1:10.3.22-1ubuntu1) ...
Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
Setting up libhttp-message-perl (6.22-1) ...
Setting up libcgi-pm-perl (4.46-1) ...
Setting up libhtml-template-perl (2.97-1) ...
Setting up mariadb-server (1:10.3.22-1ubuntu1) ...
Setting up libcgi-fast-perl (1:2.15-1) ...
Processing triggers for systemd (245.4-4ubuntu3.2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
ubuntu@ubuntu:~$ sudo systemctl stop mariadb.service
ubuntu@ubuntu:~$ sudo systemctl start mariadb.service
ubuntu@ubuntu:~$ sudo systemctl enable mariadb.service
ubuntu@ubuntu:~$ sudo mysql_secure_installation

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user.  If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.

Set root password? [Y/n] Y
New password:
Re-enter new password:
Sorry, passwords do not match.

New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
 ... Success!


By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] Y
 ... Success!

Normally, root should only be allowed to connect from 'localhost'.  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] Y
 ... Success!

By default, MariaDB comes with a database named 'test' that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] Y
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] Y
 ... Success!

Cleaning up...

All done!  If you've completed all of the above steps, your MariaDB
installation should now be secure.

Thanks for using MariaDB!
ubuntu@ubuntu:~$ sudo systemctl stop mariadb.service
ubuntu@ubuntu:~$ sudo systemctl start mariadb.service
ubuntu@ubuntu:~$ sudo systemctl enable mariadb.service
ubuntu@ubuntu:~$ sudo mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 36
Server version: 10.3.22-MariaDB-1ubuntu1 Ubuntu 20.04

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> quit
Bye
ubuntu@ubuntu:~$ sudo apt-get install software-properties-common
Reading package lists... Done
Building dependency tree      
Reading state information... Done
software-properties-common is already the newest version (0.98.9.1).
software-properties-common set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@ubuntu:~$ sudo add-apt-repository ppa:ondrej/php
 Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions are included. Only Supported Versions of PHP (http://php.net/supported-versions.php) for Supported Ubuntu Releases (https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life PHP versions or Ubuntu release, they won't be provided.

Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa

You can get more information about the packages at https://deb.sury.org

BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting

CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advised to add ppa:ondrej/nginx-mainline
   or ppa:ondrej/nginx

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/

WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
 More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease [23.9 kB]
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal InRelease          
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 Packages [46.1 kB]
Hit:6 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Get:7 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main Translation-en [20.9 kB]
Fetched 90.9 kB in 4s (25.2 kB/s)                  
Reading package lists... Done
ubuntu@ubuntu:~$ sudo apt update
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Reading package lists... Done
Building dependency tree      
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
ubuntu@ubuntu:~$ sudo apt install php7.3 libapache2-mod-php7.3 php7.3-common php7.3-gmp php7.3-curl php7.3-intl php7.3-mbstring php7.3-xmlrpc php7.3-mysql php7.3-bcmath php7.3-gd php7.3-xml php7.3-cli php7.3-zip php7.3-imap
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  fontconfig-config fonts-dejavu-core libc-client2007e libfontconfig1
  libfreetype6 libgd3 libjbig0 libjpeg-turbo8 libjpeg8 libtiff5 libwebp6
  libxmlrpc-epi0 libxpm4 libxslt1.1 libzip4 mlock php-common php7.3-json
  php7.3-opcache php7.3-readline
Suggested packages:
  php-pear uw-mailutils libgd-tools
The following NEW packages will be installed:
  fontconfig-config fonts-dejavu-core libapache2-mod-php7.3 libc-client2007e
  libfontconfig1 libfreetype6 libgd3 libjbig0 libjpeg-turbo8 libjpeg8 libtiff5
  libwebp6 libxmlrpc-epi0 libxpm4 libxslt1.1 libzip4 mlock php-common php7.3
  php7.3-bcmath php7.3-cli php7.3-common php7.3-curl php7.3-gd php7.3-gmp
  php7.3-imap php7.3-intl php7.3-json php7.3-mbstring php7.3-mysql
  php7.3-opcache php7.3-readline php7.3-xml php7.3-xmlrpc php7.3-zip
0 upgraded, 35 newly installed, 0 to remove and 6 not upgraded.
Need to get 7514 kB of archives.
After this operation, 28.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 fonts-dejavu-core all 2.37-1 [1041 kB]
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php-common all 2:76+ubuntu20.04.1+deb.sury.org+9 [15.7 kB]
Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-common arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [930 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 fontconfig-config all 2.13.1-2ubuntu3 [28.8 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 mlock arm64 8:2007f~dfsg-7 [11.7 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 libc-client2007e arm64 8:2007f~dfsg-7 [562 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libfreetype6 arm64 2.10.1-2 [316 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libfontconfig1 arm64 2.13.1-2ubuntu3 [111 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libjpeg-turbo8 arm64 2.0.3-0ubuntu1.20.04.1 [101 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libjpeg8 arm64 8c-2ubuntu8 [2198 B]
Get:11 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libjbig0 arm64 2.1-3.1build1 [24.0 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libwebp6 arm64 0.6.1-2 [155 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libtiff5 arm64 4.1.0+git191117-2build1 [151 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libxpm4 arm64 1:3.5.12-1 [28.8 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libxslt1.1 arm64 1.1.34-4 [141 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libxmlrpc-epi0 arm64 0.54.2-1.2 [25.2 kB]
Get:17 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-json arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [17.8 kB]
Get:18 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-opcache arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [167 kB]
Get:19 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-readline arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [11.6 kB]
Get:20 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-cli arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [1269 kB]
Get:21 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 libapache2-mod-php7.3 arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [1213 kB]
Get:22 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 libgd3 arm64 2.3.0-2+ubuntu20.04.1+deb.sury.org+1 [124 kB]
Get:23 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 libzip4 arm64 1.6.1-3+ubuntu20.04.1+deb.sury.org+2 [49.2 kB]
Get:24 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3 all 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [44.9 kB]
Get:25 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-bcmath arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [14.0 kB]
Get:26 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-curl arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [28.6 kB]
Get:27 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-gd arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [26.1 kB]
Get:28 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-gmp arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [20.5 kB]
Get:29 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-imap arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [27.7 kB]
Get:30 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-intl arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [116 kB]
Get:31 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-mbstring arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [500 kB]
Get:32 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-mysql arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [110 kB]
Get:33 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-xml arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [99.2 kB]
Get:34 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-xmlrpc arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [12.4 kB]
Get:35 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php7.3-zip arm64 7.3.21-1+ubuntu20.04.1+deb.sury.org+1 [20.4 kB]
Fetched 7514 kB in 24s (312 kB/s)                                              
Extracting templates from packages: 100%
Selecting previously unselected package fonts-dejavu-core.
(Reading database ... 68321 files and directories currently installed.)
Preparing to unpack .../00-fonts-dejavu-core_2.37-1_all.deb ...
Unpacking fonts-dejavu-core (2.37-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../01-fontconfig-config_2.13.1-2ubuntu3_all.deb ...
Unpacking fontconfig-config (2.13.1-2ubuntu3) ...
Selecting previously unselected package php-common.
Preparing to unpack .../02-php-common_2%3a76+ubuntu20.04.1+deb.sury.org+9_all.deb ...
Unpacking php-common (2:76+ubuntu20.04.1+deb.sury.org+9) ...
Selecting previously unselected package php7.3-common.
Preparing to unpack .../03-php7.3-common_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-common (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-json.
Preparing to unpack .../04-php7.3-json_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-json (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-opcache.
Preparing to unpack .../05-php7.3-opcache_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-opcache (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-readline.
Preparing to unpack .../06-php7.3-readline_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-readline (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-cli.
Preparing to unpack .../07-php7.3-cli_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-cli (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package libapache2-mod-php7.3.
Preparing to unpack .../08-libapache2-mod-php7.3_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking libapache2-mod-php7.3 (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package mlock.
Preparing to unpack .../09-mlock_8%3a2007f~dfsg-7_arm64.deb ...
Unpacking mlock (8:2007f~dfsg-7) ...
Selecting previously unselected package libc-client2007e.
Preparing to unpack .../10-libc-client2007e_8%3a2007f~dfsg-7_arm64.deb ...
Unpacking libc-client2007e (8:2007f~dfsg-7) ...
Selecting previously unselected package libfreetype6:arm64.
Preparing to unpack .../11-libfreetype6_2.10.1-2_arm64.deb ...
Unpacking libfreetype6:arm64 (2.10.1-2) ...
Selecting previously unselected package libfontconfig1:arm64.
Preparing to unpack .../12-libfontconfig1_2.13.1-2ubuntu3_arm64.deb ...
Unpacking libfontconfig1:arm64 (2.13.1-2ubuntu3) ...
Selecting previously unselected package libjpeg-turbo8:arm64.
Preparing to unpack .../13-libjpeg-turbo8_2.0.3-0ubuntu1.20.04.1_arm64.deb ...
Unpacking libjpeg-turbo8:arm64 (2.0.3-0ubuntu1.20.04.1) ...
Selecting previously unselected package libjpeg8:arm64.
Preparing to unpack .../14-libjpeg8_8c-2ubuntu8_arm64.deb ...
Unpacking libjpeg8:arm64 (8c-2ubuntu8) ...
Selecting previously unselected package libjbig0:arm64.
Preparing to unpack .../15-libjbig0_2.1-3.1build1_arm64.deb ...
Unpacking libjbig0:arm64 (2.1-3.1build1) ...
Selecting previously unselected package libwebp6:arm64.
Preparing to unpack .../16-libwebp6_0.6.1-2_arm64.deb ...
Unpacking libwebp6:arm64 (0.6.1-2) ...
Selecting previously unselected package libtiff5:arm64.
Preparing to unpack .../17-libtiff5_4.1.0+git191117-2build1_arm64.deb ...
Unpacking libtiff5:arm64 (4.1.0+git191117-2build1) ...
Selecting previously unselected package libxpm4:arm64.
Preparing to unpack .../18-libxpm4_1%3a3.5.12-1_arm64.deb ...
Unpacking libxpm4:arm64 (1:3.5.12-1) ...
Selecting previously unselected package libgd3:arm64.
Preparing to unpack .../19-libgd3_2.3.0-2+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking libgd3:arm64 (2.3.0-2+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package libxslt1.1:arm64.
Preparing to unpack .../20-libxslt1.1_1.1.34-4_arm64.deb ...
Unpacking libxslt1.1:arm64 (1.1.34-4) ...
Selecting previously unselected package libzip4:arm64.
Preparing to unpack .../21-libzip4_1.6.1-3+ubuntu20.04.1+deb.sury.org+2_arm64.deb ...
Unpacking libzip4:arm64 (1.6.1-3+ubuntu20.04.1+deb.sury.org+2) ...
Selecting previously unselected package php7.3.
Preparing to unpack .../22-php7.3_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_all.deb ...
Unpacking php7.3 (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-bcmath.
Preparing to unpack .../23-php7.3-bcmath_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-bcmath (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-curl.
Preparing to unpack .../24-php7.3-curl_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-curl (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-gd.
Preparing to unpack .../25-php7.3-gd_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-gd (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-gmp.
Preparing to unpack .../26-php7.3-gmp_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-gmp (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-imap.
Preparing to unpack .../27-php7.3-imap_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-imap (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-intl.
Preparing to unpack .../28-php7.3-intl_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-intl (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-mbstring.
Preparing to unpack .../29-php7.3-mbstring_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-mbstring (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-mysql.
Preparing to unpack .../30-php7.3-mysql_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-mysql (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-xml.
Preparing to unpack .../31-php7.3-xml_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-xml (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package libxmlrpc-epi0:arm64.
Preparing to unpack .../32-libxmlrpc-epi0_0.54.2-1.2_arm64.deb ...
Unpacking libxmlrpc-epi0:arm64 (0.54.2-1.2) ...
Selecting previously unselected package php7.3-xmlrpc.
Preparing to unpack .../33-php7.3-xmlrpc_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-xmlrpc (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-zip.
Preparing to unpack .../34-php7.3-zip_7.3.21-1+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php7.3-zip (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Setting up php-common (2:76+ubuntu20.04.1+deb.sury.org+9) ...
Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer.
Setting up libxpm4:arm64 (1:3.5.12-1) ...
Setting up libzip4:arm64 (1.6.1-3+ubuntu20.04.1+deb.sury.org+2) ...
Setting up mlock (8:2007f~dfsg-7) ...
Setting up libxmlrpc-epi0:arm64 (0.54.2-1.2) ...
Setting up libjbig0:arm64 (2.1-3.1build1) ...
Setting up php7.3-common (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/calendar.ini with new version

Creating config file /etc/php/7.3/mods-available/ctype.ini with new version

Creating config file /etc/php/7.3/mods-available/exif.ini with new version

Creating config file /etc/php/7.3/mods-available/fileinfo.ini with new version

Creating config file /etc/php/7.3/mods-available/ftp.ini with new version

Creating config file /etc/php/7.3/mods-available/gettext.ini with new version

Creating config file /etc/php/7.3/mods-available/iconv.ini with new version

Creating config file /etc/php/7.3/mods-available/pdo.ini with new version

Creating config file /etc/php/7.3/mods-available/phar.ini with new version

Creating config file /etc/php/7.3/mods-available/posix.ini with new version

Creating config file /etc/php/7.3/mods-available/shmop.ini with new version

Creating config file /etc/php/7.3/mods-available/sockets.ini with new version

Creating config file /etc/php/7.3/mods-available/sysvmsg.ini with new version

Creating config file /etc/php/7.3/mods-available/sysvsem.ini with new version

Creating config file /etc/php/7.3/mods-available/sysvshm.ini with new version

Creating config file /etc/php/7.3/mods-available/tokenizer.ini with new version
Setting up libfreetype6:arm64 (2.10.1-2) ...
Setting up php7.3-xmlrpc (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/xmlrpc.ini with new version
Setting up libwebp6:arm64 (0.6.1-2) ...
Setting up fonts-dejavu-core (2.37-1) ...
Setting up php7.3-mysql (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/mysqlnd.ini with new version

Creating config file /etc/php/7.3/mods-available/mysqli.ini with new version

Creating config file /etc/php/7.3/mods-available/pdo_mysql.ini with new version
Setting up libjpeg-turbo8:arm64 (2.0.3-0ubuntu1.20.04.1) ...
Setting up php7.3-intl (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/intl.ini with new version
Setting up php7.3-opcache (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/opcache.ini with new version
Setting up libxslt1.1:arm64 (1.1.34-4) ...
Setting up libc-client2007e (8:2007f~dfsg-7) ...
Setting up php7.3-zip (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/zip.ini with new version
Setting up php7.3-curl (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/curl.ini with new version
Setting up libjpeg8:arm64 (8c-2ubuntu8) ...
Setting up php7.3-bcmath (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/bcmath.ini with new version
Setting up php7.3-mbstring (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/mbstring.ini with new version
Setting up php7.3-json (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/json.ini with new version
Setting up php7.3-readline (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/readline.ini with new version
Setting up fontconfig-config (2.13.1-2ubuntu3) ...
Setting up php7.3-gmp (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/gmp.ini with new version
Setting up php7.3-xml (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/dom.ini with new version

Creating config file /etc/php/7.3/mods-available/simplexml.ini with new version

Creating config file /etc/php/7.3/mods-available/wddx.ini with new version

Creating config file /etc/php/7.3/mods-available/xml.ini with new version

Creating config file /etc/php/7.3/mods-available/xmlreader.ini with new version

Creating config file /etc/php/7.3/mods-available/xmlwriter.ini with new version

Creating config file /etc/php/7.3/mods-available/xsl.ini with new version
Setting up php7.3-cli (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
update-alternatives: using /usr/bin/php7.3 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar7.3 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.3 to provide /usr/bin/phar.phar (phar.phar) in auto mode

Creating config file /etc/php/7.3/cli/php.ini with new version
Setting up php7.3-imap (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/imap.ini with new version
Setting up libtiff5:arm64 (4.1.0+git191117-2build1) ...
Setting up libfontconfig1:arm64 (2.13.1-2ubuntu3) ...
Setting up libapache2-mod-php7.3 (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/apache2/php.ini with new version
Module mpm_event disabled.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork
apache2_invoke: Enable module php7.3
Setting up libgd3:arm64 (2.3.0-2+ubuntu20.04.1+deb.sury.org+1) ...
Setting up php7.3-gd (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...

Creating config file /etc/php/7.3/mods-available/gd.ini with new version
Setting up php7.3 (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for php7.3-cli (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Processing triggers for libapache2-mod-php7.3 (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
ubuntu@ubuntu:~$ sudo apt install php-pcov
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  php-pcov
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 27.9 kB of archives.
After this operation, 168 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main arm64 php-pcov arm64 1.0.6-2+ubuntu20.04.1+deb.sury.org+1 [27.9 kB]
Fetched 27.9 kB in 1s (28.7 kB/s)
Selecting previously unselected package php-pcov.
(Reading database ... 68781 files and directories currently installed.)
Preparing to unpack .../php-pcov_1.0.6-2+ubuntu20.04.1+deb.sury.org+1_arm64.deb ...
Unpacking php-pcov (1.0.6-2+ubuntu20.04.1+deb.sury.org+1) ...
Setting up php-pcov (1.0.6-2+ubuntu20.04.1+deb.sury.org+1) ...
Processing triggers for php7.3-cli (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
Processing triggers for libapache2-mod-php7.3 (7.3.21-1+ubuntu20.04.1+deb.sury.org+1) ...
ubuntu@ubuntu:~$ sudo systemctl restart apache2.service
ubuntu@ubuntu:~$


Comments

Popular posts from this blog

Ubuntu 16.04 LT - Installing Chromium browser

> Type these commands about this PPA : $ sudo add-apt-repository ppa:canonical-chromium-builds/stage $ sudo apt-get update $ sudo apt-get install chromium-browser > Terminal: mccrazy@Lenovo-N22:~$ sudo add-apt-repository ppa:canonical-chromium-builds/stage [sudo] password for mccrazy:  Testing site just before upload to Ubuntu main. Things here are either broken and not ready to use, or landing in the distro anyway very soon. You shouldn't use this.  More info: https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmp6cfppy_r/secring.gpg' created gpg: keyring `/tmp/tmp6cfppy_r/pubring.gpg' created gpg: requesting key 5B393194 from hkp server keyserver.ubuntu.com gpg: /tmp/tmp6cfppy_r/trustdb.gpg: trustdb created gpg: key 5B393194: public key "Launchpad PPA for Canonical Chromium Build Team" imported gpg: Total number processed: 1 gpg:               imported: 1  (RSA

Moodlerooms Webservice - How to insert a user using function core_user_create_users

https://our-sandbox.mrooms.net/webservice/rest/server.php?wstoken=OUT_TOKEN_HERE&wsfunction=core_user_create_users&moodlewsrestformat=xml&users [0][username]= biboyatienza@gmail.com &users[0][password]=00.00.0000&users[0][firstname]=biboy&users[0][lastname]=atienza&users[0][email]= biboyatienza@gmail.com &users[0][city]=Manila&users[0][country]=Philippines &users[0][customfields][0][type]= customer &users[0][customfields][0][value]=Customer1 &users[0][customfields][1][type]= customeremail &users[0][customfields][1][value]= customer@email.com &users[0][customfields][2][type]= customerphone &users[0][customfields][2][value]=+6325217788