1 Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.15.0-1011-oracle aarch64) 2 3 * Documentation: https://help.ubuntu.com 4 * Management: https://landscape.canonical.com 5 * Support: https://ubuntu.com/advantage 6 7 System information as of Fri Jun 17 00:07:01 UTC 2022 8 9 System load: 0.0 Processes: 157 10 Usage of /: 4.1% of 44.97GB Users logged in: 0 11 Memory usage: 1% IPv4 address for enp0s3: 10.100.100.166 12 Swap usage: 0% 13 14 15 0 updates can be applied immediately. 16 17 18 Last login: Fri Jun 17 00:01:07 2022 from 187.189.238.1 19 ubuntu@instance-20220616-1631:~$ sudo apt install apache2 20 Reading package lists... Done 21 Building dependency tree... Done 22 Reading state information... Done 23 The following additional packages will be installed: 24 apache2-bin apache2-data apache2-utils bzip2 libapr1 libaprutil1 25 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.3-0 mailcap mime-support 26 ssl-cert 27 Suggested packages: 28 apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser 29 bzip2-doc 30 The following NEW packages will be installed: 31 apache2 apache2-bin apache2-data apache2-utils bzip2 libapr1 libaprutil1 32 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.3-0 mailcap mime-support 33 ssl-cert 34 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 35 Need to get 2080 kB of archives. 36 After this operation, 7783 kB of additional disk space will be used. 37 Do you want to continue? [Y/n] 38 Get:1ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libapr1 arm64 1.7.0-8build1 [105 kB] 39 Get:2ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libaprutil1 arm64 1.6.1-5ubuntu4 [93.0 kB] 40 Get:3Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libaprutil1-dbd-sqlite3 arm64 1.6.1-5ubuntu4 [11.2 kB] 41 Get:43http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libaprutil1-ldap arm64 1.6.1-5ubuntu4 [9048 B] 42 Get:5Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 liblua5.3-0 arm64 5.3.6-1build1 [135 kB] 43 Get:6Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 apache2-bin arm64 2.4.52-1ubuntu4 [1296 kB] 44 Get:7Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 apache2-data all 2.4.52-1ubuntu4 [165 kB] 45 Get:8Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 apache2-utils arm64 2.4.52-1ubuntu4 [87.5 kB] 46 Get:9Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 mailcap all 3.70+nmu1ubuntu1 [23.8 kB] 47 Get:10ahttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 mime-support all 3.66 [3696 B] 48 Get:110http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 apache2 arm64 2.4.52-1ubuntu4 [97.8 kB] 49 Get:12ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 bzip2 arm64 1.0.8-5build1 [34.6 kB] 50 Get:13ahttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 ssl-cert all 1.1.2 [17.4 kB] 51 Fetchedo2080gkBtin22s (13694kB/s)9%] 52 Preconfiguring packages ... 53 54 Selecting previously unselected package libapr1:arm64. 55 (Reading database ... 96482 files and directories currently installed.) 56 Preparing to unpack .../00-libapr1_1.7.0-8build1_arm64.deb ... 57 Progress: [ 0%] [...........................................................] Progress: [ 2%] [#..........................................................] Unpacking libapr1:arm64 (1.7.0-8build1) ... 58 Progress: [ 4%] [##.........................................................] Selecting previously unselected package libaprutil1:arm64. 59 Preparing to unpack .../01-libaprutil1_1.6.1-5ubuntu4_arm64.deb ... 60 Progress: [ 6%] [###........................................................] Unpacking libaprutil1:arm64 (1.6.1-5ubuntu4) ... 61 Progress: [ 8%] [####.......................................................] Selecting previously unselected package libaprutil1-dbd-sqlite3:arm64. 62 Preparing to unpack .../02-libaprutil1-dbd-sqlite3_1.6.1-5ubuntu4_arm64.deb ... 63 Progress: [ 9%] [#####......................................................] Unpacking libaprutil1-dbd-sqlite3:arm64 (1.6.1-5ubuntu4) ... 64 Progress: [ 11%] [######.....................................................] Selecting previously unselected package libaprutil1-ldap:arm64. 65 Preparing to unpack .../03-libaprutil1-ldap_1.6.1-5ubuntu4_arm64.deb ... 66 Progress: [ 13%] [#######....................................................] Unpacking libaprutil1-ldap:arm64 (1.6.1-5ubuntu4) ... 67 Progress: [ 15%] [########...................................................] Selecting previously unselected package liblua5.3-0:arm64. 68 Preparing to unpack .../04-liblua5.3-0_5.3.6-1build1_arm64.deb ... 69 Progress: [ 17%] [##########.................................................] Unpacking liblua5.3-0:arm64 (5.3.6-1build1) ... 70 Progress: [ 19%] [###########................................................] Selecting previously unselected package apache2-bin. 71 Preparing to unpack .../05-apache2-bin_2.4.52-1ubuntu4_arm64.deb ... 72 Progress: [ 21%] [############...............................................] Unpacking apache2-bin (2.4.52-1ubuntu4) ... 73 Progress: [ 23%] [#############..............................................] Selecting previously unselected package apache2-data. 74 Preparing to unpack .../06-apache2-data_2.4.52-1ubuntu4_all.deb ... 75 Progress: [ 25%] [##############.............................................] Unpacking apache2-data (2.4.52-1ubuntu4) ... 76 Progress: [ 26%] [###############............................................] Selecting previously unselected package apache2-utils. 77 Preparing to unpack .../07-apache2-utils_2.4.52-1ubuntu4_arm64.deb ... 78 Progress: [ 28%] [################...........................................] Unpacking apache2-utils (2.4.52-1ubuntu4) ... 79 Progress: [ 30%] [#################..........................................] Selecting previously unselected package mailcap. 80 Preparing to unpack .../08-mailcap_3.70+nmu1ubuntu1_all.deb ... 81 Progress: [ 32%] [##################.........................................] Unpacking mailcap (3.70+nmu1ubuntu1) ... 82 Progress: [ 34%] [####################.......................................] Selecting previously unselected package mime-support. 83 Preparing to unpack .../09-mime-support_3.66_all.deb ... 84 Progress: [ 36%] [#####################......................................] Unpacking mime-support (3.66) ... 85 Progress: [ 38%] [######################.....................................] Selecting previously unselected package apache2. 86 Preparing to unpack .../10-apache2_2.4.52-1ubuntu4_arm64.deb ... 87 Progress: [ 40%] [#######################....................................] Unpacking apache2 (2.4.52-1ubuntu4) ... 88 Progress: [ 42%] [########################...................................] Selecting previously unselected package bzip2. 89 Preparing to unpack .../11-bzip2_1.0.8-5build1_arm64.deb ... 90 Progress: [ 43%] [#########################..................................] Unpacking bzip2 (1.0.8-5build1) ... 91 Progress: [ 45%] [##########################.................................] Selecting previously unselected package ssl-cert. 92 Preparing to unpack .../12-ssl-cert_1.1.2_all.deb ... 93 Progress: [ 47%] [###########################................................] Unpacking ssl-cert (1.1.2) ... 94 Progress: [ 49%] [############################...............................] Setting up libapr1:arm64 (1.7.0-8build1) ... 95 Progress: [ 51%] [##############################.............................] Progress: [ 53%] [###############################............................] Setting up bzip2 (1.0.8-5build1) ... 96 Progress: [ 55%] [################################...........................] Progress: [ 57%] [#################################..........................] Setting up ssl-cert (1.1.2) ... 97 Progress: [ 58%] [##################################.........................] Progress: [ 60%] [###################################........................] Setting up liblua5.3-0:arm64 (5.3.6-1build1) ... 98 Progress: [ 62%] [####################################.......................] Progress: [ 64%] [#####################################......................] Setting up apache2-data (2.4.52-1ubuntu4) ... 99 Progress: [ 66%] [######################################.....................] Progress: [ 68%] [########################################...................] Setting up mailcap (3.70+nmu1ubuntu1) ... 100 Progress: [ 70%] [#########################################..................] Progress: [ 72%] [##########################################.................] Setting up libaprutil1:arm64 (1.6.1-5ubuntu4) ... 101 Progress: [ 74%] [###########################################................] Progress: [ 75%] [############################################...............] Setting up mime-support (3.66) ... 102 Progress: [ 77%] [#############################################..............] Progress: [ 79%] [##############################################.............] Setting up libaprutil1-ldap:arm64 (1.6.1-5ubuntu4) ... 103 Progress: [ 81%] [###############################################............] Progress: [ 83%] [################################################...........] Setting up libaprutil1-dbd-sqlite3:arm64 (1.6.1-5ubuntu4) ... 104 Progress: [ 85%] [##################################################.........] Progress: [ 87%] [###################################################........] Setting up apache2-utils (2.4.52-1ubuntu4) ... 105 Progress: [ 89%] [####################################################.......] Progress: [ 91%] [#####################################################......] Setting up apache2-bin (2.4.52-1ubuntu4) ... 106 Progress: [ 92%] [######################################################.....] Progress: [ 94%] [#######################################################....] Setting up apache2 (2.4.52-1ubuntu4) ... 107 Progress: [ 96%] [########################################################...] Enabling module mpm_event. 108 Enabling module authz_core. 109 Enabling module authz_host. 110 Enabling module authn_core. 111 Enabling module auth_basic. 112 Enabling module access_compat. 113 Enabling module authn_file. 114 Enabling module authz_user. 115 Enabling module alias. 116 Enabling module dir. 117 Enabling module autoindex. 118 Enabling module env. 119 Enabling module mime. 120 Enabling module negotiation. 121 Enabling module setenvif. 122 Enabling module filter. 123 Enabling module deflate. 124 Enabling module status. 125 Enabling module reqtimeout. 126 Enabling conf charset. 127 Enabling conf localized-error-pages. 128 Enabling conf other-vhosts-access-log. 129 Enabling conf security. 130 Enabling conf serve-cgi-bin. 131 Enabling site 000-default. 132 Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service. 133 Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service. 134 Progress: [ 98%] [#########################################################..] Processing triggers for ufw (0.36.1-4build1) ... 135 Processing triggers for man-db (2.10.2-1) ... 136 Processing triggers for libc-bin (2.35-0ubuntu3) ... 137 138 Scanning processes... [=========================================================] 139 Scanning linux images... [======================================================] 140 141 Running kernel seems to be up-to-date. 142 143 No services need to be restarted. 144 145 No containers need to be restarted. 146 147 No user sessions are running outdated binaries. 148 149 No VM guests are running outdated hypervisor (qemu) binaries on this host. 150 ubuntu@instance-20220616-1631:~$ sudo ufw app list 151 Available applications: 152 Apache 153 Apache Full 154 Apache Secure 155 OpenSSH 156 ubuntu@instance-20220616-1631:~$ sudo ufw allow in "Apache" 157 Rules updated 158 Rules updated (v6) 159 ubuntu@instance-20220616-1631:~$ sudo ufw status 160 Status: inactive 161 ubuntu@instance-20220616-1631:~$ sudo ufw allow in "OpenSSH" 162 Rules updated 163 Rules updated (v6) 164 ubuntu@instance-20220616-1631:~$ sudo ufw enable 165 Command may disrupt existing ssh connections. Proceed with operation (y|n)? y 166 Firewall is active and enabled on system startup 167 ubuntu@instance-20220616-1631:~$ sudo ufw status 168 Status: active 169 170 To Action From 171 -- ------ ---- 172 Apache ALLOW Anywhere 173 OpenSSH ALLOW Anywhere 174 Apache (v6) ALLOW Anywhere (v6) 175 OpenSSH (v6) ALLOW Anywhere (v6) 176 177 ubuntu@instance-20220616-1631:~$ logout 178 ubuntu@instance-20220616-1631:~$ sudoireboot 179 Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.15.0-1011-oracle aarch64) 180 181 * Documentation: https://help.ubuntu.com 182 * Management: https://landscape.canonical.com 183 * Support: https://ubuntu.com/advantage 184 185 System information as of Fri Jun 17 00:31:20 UTC 2022 186 187 System load: 0.080078125 Processes: 157 188 Usage of /: 4.2% of 44.97GB Users logged in: 0 189 Memory usage: 2% IPv4 address for enp0s3: 10.100.100.166 190 Swap usage: 0% 191 192 193 0 updates can be applied immediately. 194 195 196 Last login: Fri Jun 17 00:07:01 2022 from 187.189.238.1 197 ubuntu@instance-20220616-1631:~$ curl icanhazip.com 198 129.146.246.203 199 ubuntu@instance-20220616-1631:~$ sudo apt install mysql-server 200 Reading package lists... Done 201 Building dependency tree... Done 202 Reading state information... Done 203 The following additional packages will be installed: 204 libcgi-fast-perl libcgi-pm-perl libclone-perl libencode-locale-perl 205 libevent-pthreads-2.1-7 libfcgi-bin libfcgi-perl libfcgi0ldbl 206 libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl 207 libhttp-date-perl libhttp-message-perl libio-html-perl liblwp-mediatypes-perl 208 libmecab2 libprotobuf-lite23 libtimedate-perl liburi-perl mecab-ipadic 209 mecab-ipadic-utf8 mecab-utils mysql-client-8.0 mysql-client-core-8.0 210 mysql-common mysql-server-8.0 mysql-server-core-8.0 211 Suggested packages: 212 libdata-dump-perl libipc-sharedcache-perl libbusiness-isbn-perl libwww-perl 213 mailx tinyca 214 The following NEW packages will be installed: 215 libcgi-fast-perl libcgi-pm-perl libclone-perl libencode-locale-perl 216 libevent-pthreads-2.1-7 libfcgi-bin libfcgi-perl libfcgi0ldbl 217 libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl 218 libhttp-date-perl libhttp-message-perl libio-html-perl liblwp-mediatypes-perl 219 libmecab2 libprotobuf-lite23 libtimedate-perl liburi-perl mecab-ipadic 220 mecab-ipadic-utf8 mecab-utils mysql-client-8.0 mysql-client-core-8.0 221 mysql-common mysql-server mysql-server-8.0 mysql-server-core-8.0 222 0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded. 223 Need to get 28.3 MB of archives. 224 After this operation, 235 MB of additional disk space will be used. 225 Do you want to continue? [Y/n] 226 Get:1ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 mysql-common all 5.8+1.0.8 [7212 B] 227 Get:2ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 mysql-client-core-8.0 arm64 8.0.29-0ubuntu0.22.04.2 [2777 kB] 228 Get:3ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 mysql-client-8.0 arm64 8.0.29-0ubuntu0.22.04.2 [22.7 kB] 229 Get:4Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libevent-pthreads-2.1-7 arm64 2.1.12-stable-1build3 [7588 B] 230 Get:5Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libmecab2 arm64 0.996-14build9 [188 kB] 231 Get:6Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libprotobuf-lite23 arm64 3.12.4-1ubuntu7 [192 kB] 232 Get:76http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 mysql-server-core-8.0 arm64 8.0.29-0ubuntu0.22.04.2 [16.5 MB] 233 Get:8Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 mysql-server-8.0 arm64 8.0.29-0ubuntu0.22.04.2 [1199 kB] 234 Get:9Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libhtml-tagset-perl all 3.20-4 [12.5 kB] 235 Get:10 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 liburi-perl all 5.10-1 [78.8 kB] 236 Get:11ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libhtml-parser-perl arm64 3.76-1build2 [87.1 kB] 237 Get:12ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libcgi-pm-perl all 4.54-1 [188 kB] 238 Get:13ahttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libfcgi0ldbl arm64 2.4.2-2build2 [28.0 kB] 239 Get:143http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libfcgi-perl arm64 0.82+ds-1build1 [22.3 kB] 240 Get:154http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libcgi-fast-perl all 1:2.15-1 [10.5 kB] 241 Get:165http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libclone-perl arm64 0.45-1build3 [10.8 kB] 242 Get:176http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libencode-locale-perl all 1.05-1.1 [11.8 kB] 243 Get:18ahttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libfcgi-bin arm64 2.4.2-2build2 [10.7 kB] 244 Get:19ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libhtml-template-perl all 2.97-1.1 [59.1 kB] 245 Get:20ahttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libtimedate-perl all 2.3300-2 [34.0 kB] 246 Get:21ahttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libhttp-date-perl all 6.05-1 [9920 B] 247 Get:22ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libio-html-perl all 1.004-2 [15.4 kB] 248 Get:23ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 liblwp-mediatypes-perl all 6.04-1 [19.5 kB] 249 Get:24ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libhttp-message-perl all 6.36-1 [76.8 kB] 250 Get:25ahttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 mecab-utils arm64 0.996-14build9 [4830 B] 251 Get:265http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 mecab-ipadic all 2.7.0-20070801+main-3 [6718 kB] 252 Get:27ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 mecab-ipadic-utf8 all 2.7.0-20070801+main-3 [4384 B] 253 Get:28ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 mysql-server all 8.0.29-0ubuntu0.22.04.2 [9534 B] 254 Fetchedo28.3gMBeine3s9(10.2/MB/s)B 100%] 255 Preconfiguring packages ... 256 257 Selecting previously unselected package mysql-common. 258 (Reading database ... 97251 files and directories currently installed.) 259 Preparing to unpack .../0-mysql-common_5.8+1.0.8_all.deb ... 260 Progress: [ 0%] [...........................................................] Unpacking mysql-common (5.8+1.0.8) ... 261 Progress: [ 2%] [#..........................................................] Selecting previously unselected package mysql-client-core-8.0. 262 Preparing to unpack .../1-mysql-client-core-8.0_8.0.29-0ubuntu0.22.04.2_arm64.deb ... 263 Progress: [ 3%] [#..........................................................] Unpacking mysql-client-core-8.0 (8.0.29-0ubuntu0.22.04.2) ... 264 Progress: [ 4%] [##.........................................................] Selecting previously unselected package mysql-client-8.0. 265 Preparing to unpack .../2-mysql-client-8.0_8.0.29-0ubuntu0.22.04.2_arm64.deb ... 266 Progress: [ 4%] [##.........................................................] Unpacking mysql-client-8.0 (8.0.29-0ubuntu0.22.04.2) ... 267 Progress: [ 5%] [###........................................................] Selecting previously unselected package libevent-pthreads-2.1-7:arm64. 268 Preparing to unpack .../3-libevent-pthreads-2.1-7_2.1.12-stable-1build3_arm64.deb ... 269 Progress: [ 6%] [###........................................................] Unpacking libevent-pthreads-2.1-7:arm64 (2.1.12-stable-1build3) ... 270 Progress: [ 7%] [####.......................................................] Selecting previously unselected package libmecab2:arm64. 271 Preparing to unpack .../4-libmecab2_0.996-14build9_arm64.deb ... 272 Unpacking libmecab2:arm64 (0.996-14build9) ... 273 Progress: [ 9%] [#####......................................................] Selecting previously unselected package libprotobuf-lite23:arm64. 274 Preparing to unpack .../5-libprotobuf-lite23_3.12.4-1ubuntu7_arm64.deb ... 275 Progress: [ 10%] [#####......................................................] Unpacking libprotobuf-lite23:arm64 (3.12.4-1ubuntu7) ... 276 Progress: [ 11%] [######.....................................................] Selecting previously unselected package mysql-server-core-8.0. 277 Preparing to unpack .../6-mysql-server-core-8.0_8.0.29-0ubuntu0.22.04.2_arm64.deb ... 278 Progress: [ 12%] [######.....................................................] Unpacking mysql-server-core-8.0 (8.0.29-0ubuntu0.22.04.2) ... 279 Progress: [ 12%] [#######....................................................] Setting up mysql-common (5.8+1.0.8) ... 280 Progress: [ 13%] [#######....................................................] update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 281 Progress: [ 14%] [########...................................................] Selecting previously unselected package mysql-server-8.0. 282 (Reading database ... 97471 files and directories currently installed.) 283 Preparing to unpack .../00-mysql-server-8.0_8.0.29-0ubuntu0.22.04.2_arm64.deb ... 284 Progress: [ 15%] [########...................................................] Unpacking mysql-server-8.0 (8.0.29-0ubuntu0.22.04.2) ... 285 Selecting previously unselected package libhtml-tagset-perl. 286 Preparing to unpack .../01-libhtml-tagset-perl_3.20-4_all.deb ... 287 Progress: [ 17%] [#########..................................................] Unpacking libhtml-tagset-perl (3.20-4) ... 288 Progress: [ 18%] [##########.................................................] Selecting previously unselected package liburi-perl. 289 Preparing to unpack .../02-liburi-perl_5.10-1_all.deb ... 290 Progress: [ 19%] [##########.................................................] Unpacking liburi-perl (5.10-1) ... 291 Progress: [ 19%] [###########................................................] Selecting previously unselected package libhtml-parser-perl:arm64. 292 Preparing to unpack .../03-libhtml-parser-perl_3.76-1build2_arm64.deb ... 293 Progress: [ 20%] [############...............................................] Unpacking libhtml-parser-perl:arm64 (3.76-1build2) ... 294 Progress: [ 21%] [############...............................................] Selecting previously unselected package libcgi-pm-perl. 295 Preparing to unpack .../04-libcgi-pm-perl_4.54-1_all.deb ... 296 Progress: [ 22%] [#############..............................................] Unpacking libcgi-pm-perl (4.54-1) ... 297 Progress: [ 23%] [#############..............................................] Selecting previously unselected package libfcgi0ldbl:arm64. 298 Preparing to unpack .../05-libfcgi0ldbl_2.4.2-2build2_arm64.deb ... 299 Unpacking libfcgi0ldbl:arm64 (2.4.2-2build2) ... 300 Progress: [ 25%] [##############.............................................] Selecting previously unselected package libfcgi-perl:arm64. 301 Preparing to unpack .../06-libfcgi-perl_0.82+ds-1build1_arm64.deb ... 302 Progress: [ 26%] [###############............................................] Unpacking libfcgi-perl:arm64 (0.82+ds-1build1) ... 303 Progress: [ 27%] [###############............................................] Selecting previously unselected package libcgi-fast-perl. 304 Preparing to unpack .../07-libcgi-fast-perl_1%3a2.15-1_all.deb ... 305 Progress: [ 27%] [################...........................................] Unpacking libcgi-fast-perl (1:2.15-1) ... 306 Progress: [ 28%] [################...........................................] Selecting previously unselected package libclone-perl. 307 Preparing to unpack .../08-libclone-perl_0.45-1build3_arm64.deb ... 308 Progress: [ 29%] [#################..........................................] Unpacking libclone-perl (0.45-1build3) ... 309 Progress: [ 30%] [#################..........................................] Selecting previously unselected package libencode-locale-perl. 310 Preparing to unpack .../09-libencode-locale-perl_1.05-1.1_all.deb ... 311 Unpacking libencode-locale-perl (1.05-1.1) ... 312 Progress: [ 32%] [##################.........................................] Selecting previously unselected package libfcgi-bin. 313 Preparing to unpack .../10-libfcgi-bin_2.4.2-2build2_arm64.deb ... 314 Progress: [ 33%] [###################........................................] Unpacking libfcgi-bin (2.4.2-2build2) ... 315 Progress: [ 34%] [###################........................................] Selecting previously unselected package libhtml-template-perl. 316 Preparing to unpack .../11-libhtml-template-perl_2.97-1.1_all.deb ... 317 Progress: [ 35%] [####################.......................................] Unpacking libhtml-template-perl (2.97-1.1) ... 318 Progress: [ 35%] [####################.......................................] Selecting previously unselected package libtimedate-perl. 319 Preparing to unpack .../12-libtimedate-perl_2.3300-2_all.deb ... 320 Progress: [ 36%] [#####################......................................] Unpacking libtimedate-perl (2.3300-2) ... 321 Progress: [ 37%] [#####################......................................] Selecting previously unselected package libhttp-date-perl. 322 Preparing to unpack .../13-libhttp-date-perl_6.05-1_all.deb ... 323 Progress: [ 38%] [######################.....................................] Unpacking libhttp-date-perl (6.05-1) ... 324 Selecting previously unselected package libio-html-perl. 325 Preparing to unpack .../14-libio-html-perl_1.004-2_all.deb ... 326 Progress: [ 40%] [#######################....................................] Unpacking libio-html-perl (1.004-2) ... 327 Progress: [ 41%] [########################...................................] Selecting previously unselected package liblwp-mediatypes-perl. 328 Preparing to unpack .../15-liblwp-mediatypes-perl_6.04-1_all.deb ... 329 Progress: [ 42%] [########################...................................] Unpacking liblwp-mediatypes-perl (6.04-1) ... 330 Progress: [ 42%] [#########################..................................] Selecting previously unselected package libhttp-message-perl. 331 Preparing to unpack .../16-libhttp-message-perl_6.36-1_all.deb ... 332 Progress: [ 43%] [#########################..................................] Unpacking libhttp-message-perl (6.36-1) ... 333 Progress: [ 44%] [##########################.................................] Selecting previously unselected package mecab-utils. 334 Preparing to unpack .../17-mecab-utils_0.996-14build9_arm64.deb ... 335 Progress: [ 45%] [##########################.................................] Unpacking mecab-utils (0.996-14build9) ... 336 Progress: [ 46%] [###########################................................] Selecting previously unselected package mecab-ipadic. 337 Preparing to unpack .../18-mecab-ipadic_2.7.0-20070801+main-3_all.deb ... 338 Unpacking mecab-ipadic (2.7.0-20070801+main-3) ... 339 Progress: [ 48%] [############################...............................] Selecting previously unselected package mecab-ipadic-utf8. 340 Preparing to unpack .../19-mecab-ipadic-utf8_2.7.0-20070801+main-3_all.deb ... 341 Progress: [ 49%] [############################...............................] Unpacking mecab-ipadic-utf8 (2.7.0-20070801+main-3) ... 342 Progress: [ 50%] [#############################..............................] Selecting previously unselected package mysql-server. 343 Preparing to unpack .../20-mysql-server_8.0.29-0ubuntu0.22.04.2_all.deb ... 344 Progress: [ 50%] [#############################..............................] Unpacking mysql-server (8.0.29-0ubuntu0.22.04.2) ... 345 Progress: [ 51%] [##############################.............................] Setting up libmecab2:arm64 (0.996-14build9) ... 346 Progress: [ 52%] [##############################.............................] Progress: [ 53%] [###############################............................] Setting up mysql-client-core-8.0 (8.0.29-0ubuntu0.22.04.2) ... 347 Progress: [ 55%] [################################...........................] Setting up libfcgi0ldbl:arm64 (2.4.2-2build2) ... 348 Progress: [ 56%] [################################...........................] Progress: [ 57%] [#################################..........................] Setting up libclone-perl (0.45-1build3) ... 349 Progress: [ 58%] [#################################..........................] Progress: [ 58%] [##################################.........................] Setting up libhtml-tagset-perl (3.20-4) ... 350 Progress: [ 59%] [##################################.........................] Progress: [ 60%] [###################################........................] Setting up liblwp-mediatypes-perl (6.04-1) ... 351 Progress: [ 61%] [####################################.......................] Setting up libfcgi-bin (2.4.2-2build2) ... 352 Progress: [ 63%] [#####################################......................] Progress: [ 64%] [#####################################......................] Setting up libencode-locale-perl (1.05-1.1) ... 353 Progress: [ 65%] [######################################.....................] Progress: [ 65%] [######################################.....................] Setting up libprotobuf-lite23:arm64 (3.12.4-1ubuntu7) ... 354 Progress: [ 66%] [#######################################....................] Progress: [ 67%] [#######################################....................] Setting up mecab-utils (0.996-14build9) ... 355 Progress: [ 68%] [########################################...................] Progress: [ 69%] [########################################...................] Setting up libio-html-perl (1.004-2) ... 356 Progress: [ 71%] [#########################################..................] Setting up libtimedate-perl (2.3300-2) ... 357 Progress: [ 72%] [##########################################.................] Progress: [ 73%] [##########################################.................] Setting up mysql-client-8.0 (8.0.29-0ubuntu0.22.04.2) ... 358 Progress: [ 73%] [###########################################................] Progress: [ 74%] [###########################################................] Setting up libfcgi-perl:arm64 (0.82+ds-1build1) ... 359 Progress: [ 75%] [############################################...............] Progress: [ 76%] [############################################...............] Setting up liburi-perl (5.10-1) ... 360 Progress: [ 78%] [#############################################..............] Setting up libevent-pthreads-2.1-7:arm64 (2.1.12-stable-1build3) ... 361 Progress: [ 79%] [##############################################.............] Progress: [ 80%] [##############################################.............] Setting up libhttp-date-perl (6.05-1) ... 362 Progress: [ 81%] [###############################################............] Progress: [ 81%] [################################################...........] Setting up mecab-ipadic (2.7.0-20070801+main-3) ... 363 Progress: [ 82%] [################################################...........] Compiling IPA dictionary for Mecab. This takes long time... 364 reading /usr/share/mecab/dic/ipadic/unk.def ... 40 365 emitting double-array: 100% |###########################################| 366 /usr/share/mecab/dic/ipadic/model.def is not found. skipped. 367 reading /usr/share/mecab/dic/ipadic/Noun.verbal.csv ... 12146 368 reading /usr/share/mecab/dic/ipadic/Filler.csv ... 19 369 reading /usr/share/mecab/dic/ipadic/Noun.csv ... 60477 370 reading /usr/share/mecab/dic/ipadic/Noun.org.csv ... 16668 371 reading /usr/share/mecab/dic/ipadic/Others.csv ... 2 372 reading /usr/share/mecab/dic/ipadic/Noun.name.csv ... 34202 373 reading /usr/share/mecab/dic/ipadic/Adj.csv ... 27210 374 reading /usr/share/mecab/dic/ipadic/Conjunction.csv ... 171 375 reading /usr/share/mecab/dic/ipadic/Noun.others.csv ... 151 376 reading /usr/share/mecab/dic/ipadic/Symbol.csv ... 208 377 reading /usr/share/mecab/dic/ipadic/Prefix.csv ... 221 378 reading /usr/share/mecab/dic/ipadic/Noun.adjv.csv ... 3328 379 reading /usr/share/mecab/dic/ipadic/Adnominal.csv ... 135 380 reading /usr/share/mecab/dic/ipadic/Noun.adverbal.csv ... 795 381 reading /usr/share/mecab/dic/ipadic/Interjection.csv ... 252 382 reading /usr/share/mecab/dic/ipadic/Verb.csv ... 130750 383 reading /usr/share/mecab/dic/ipadic/Auxil.csv ... 199 384 reading /usr/share/mecab/dic/ipadic/Noun.proper.csv ... 27328 385 reading /usr/share/mecab/dic/ipadic/Noun.place.csv ... 72999 386 reading /usr/share/mecab/dic/ipadic/Noun.nai.csv ... 42 387 reading /usr/share/mecab/dic/ipadic/Noun.number.csv ... 42 388 reading /usr/share/mecab/dic/ipadic/Suffix.csv ... 1393 389 reading /usr/share/mecab/dic/ipadic/Postp.csv ... 146 390 reading /usr/share/mecab/dic/ipadic/Adverb.csv ... 3032 391 reading /usr/share/mecab/dic/ipadic/Postp-col.csv ... 91 392 reading /usr/share/mecab/dic/ipadic/Noun.demonst.csv ... 120 393 emitting double-array: 100% |###########################################| 394 reading /usr/share/mecab/dic/ipadic/matrix.def ... 1316x1316 395 emitting matrix : 100% |###########################################| 396 397 done! 398 update-alternatives: using /var/lib/mecab/dic/ipadic to provide /var/lib/mecab/dic/debian (mecab-dictionary) in auto mode 399 Progress: [ 83%] [#################################################..........] Setting up mysql-server-core-8.0 (8.0.29-0ubuntu0.22.04.2) ... 400 Progress: [ 84%] [#################################################..........] Setting up mecab-ipadic-utf8 (2.7.0-20070801+main-3) ... 401 Progress: [ 86%] [##################################################.........] Compiling IPA dictionary for Mecab. This takes long time... 402 reading /usr/share/mecab/dic/ipadic/unk.def ... 40 403 emitting double-array: 100% |###########################################| 404 /usr/share/mecab/dic/ipadic/model.def is not found. skipped. 405 reading /usr/share/mecab/dic/ipadic/Noun.verbal.csv ... 12146 406 reading /usr/share/mecab/dic/ipadic/Filler.csv ... 19 407 reading /usr/share/mecab/dic/ipadic/Noun.csv ... 60477 408 reading /usr/share/mecab/dic/ipadic/Noun.org.csv ... 16668 409 reading /usr/share/mecab/dic/ipadic/Others.csv ... 2 410 reading /usr/share/mecab/dic/ipadic/Noun.name.csv ... 34202 411 reading /usr/share/mecab/dic/ipadic/Adj.csv ... 27210 412 reading /usr/share/mecab/dic/ipadic/Conjunction.csv ... 171 413 reading /usr/share/mecab/dic/ipadic/Noun.others.csv ... 151 414 reading /usr/share/mecab/dic/ipadic/Symbol.csv ... 208 415 reading /usr/share/mecab/dic/ipadic/Prefix.csv ... 221 416 reading /usr/share/mecab/dic/ipadic/Noun.adjv.csv ... 3328 417 reading /usr/share/mecab/dic/ipadic/Adnominal.csv ... 135 418 reading /usr/share/mecab/dic/ipadic/Noun.adverbal.csv ... 795 419 reading /usr/share/mecab/dic/ipadic/Interjection.csv ... 252 420 reading /usr/share/mecab/dic/ipadic/Verb.csv ... 130750 421 reading /usr/share/mecab/dic/ipadic/Auxil.csv ... 199 422 reading /usr/share/mecab/dic/ipadic/Noun.proper.csv ... 27328 423 reading /usr/share/mecab/dic/ipadic/Noun.place.csv ... 72999 424 reading /usr/share/mecab/dic/ipadic/Noun.nai.csv ... 42 425 reading /usr/share/mecab/dic/ipadic/Noun.number.csv ... 42 426 reading /usr/share/mecab/dic/ipadic/Suffix.csv ... 1393 427 reading /usr/share/mecab/dic/ipadic/Postp.csv ... 146 428 reading /usr/share/mecab/dic/ipadic/Adverb.csv ... 3032 429 reading /usr/share/mecab/dic/ipadic/Postp-col.csv ... 91 430 reading /usr/share/mecab/dic/ipadic/Noun.demonst.csv ... 120 431 emitting double-array: 100% |###########################################| 432 reading /usr/share/mecab/dic/ipadic/matrix.def ... 1316x1316 433 emitting matrix : 100% |###########################################| 434 435 done! 436 update-alternatives: using /var/lib/mecab/dic/ipadic-utf8 to provide /var/lib/mecab/dic/debian (mecab-dictionary) in auto mode 437 Progress: [ 87%] [###################################################........] Setting up libhtml-parser-perl:arm64 (3.76-1build2) ... 438 Progress: [ 88%] [###################################################........] Progress: [ 88%] [####################################################.......] Setting up libhttp-message-perl (6.36-1) ... 439 Progress: [ 89%] [####################################################.......] Progress: [ 90%] [#####################################################......] Setting up mysql-server-8.0 (8.0.29-0ubuntu0.22.04.2) ... 440 Progress: [ 91%] [#####################################################......] update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode 441 Renaming removed key_buffer and myisam-recover options (if present) 442 mysqld will log errors to /var/log/mysql/error.log 443 mysqld is running as pid 1822 444 Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /lib/systemd/system/mysql.service. 445 Progress: [ 92%] [######################################################.....] Setting up libcgi-pm-perl (4.54-1) ... 446 Progress: [ 94%] [#######################################################....] Setting up libhtml-template-perl (2.97-1.1) ... 447 Progress: [ 95%] [#######################################################....] Progress: [ 96%] [########################################################...] Setting up mysql-server (8.0.29-0ubuntu0.22.04.2) ... 448 Progress: [ 96%] [########################################################...] Progress: [ 97%] [#########################################################..] Setting up libcgi-fast-perl (1:2.15-1) ... 449 Progress: [ 98%] [#########################################################..] Progress: [ 99%] [##########################################################.] Processing triggers for man-db (2.10.2-1) ... 450 Processing triggers for libc-bin (2.35-0ubuntu3) ... 451 452 Scanning processes... [=========================================================] 453 Scanning linux images... [======================================================] 454 455 Running kernel seems to be up-to-date. 456 457 No services need to be restarted. 458 459 No containers need to be restarted. 460 461 No user sessions are running outdated binaries. 462 463 No VM guests are running outdated hypervisor (qemu) binaries on this host. 464 ubuntu@instance-20220616-1631:~$ sudo mysql_secure_installation 465 466 Securing the MySQL server deployment. 467 468 Connecting to MySQL using a blank password. 469 470 VALIDATE PASSWORD COMPONENT can be used to test passwords 471 and improve security. It checks the strength of password 472 and allows the users to set only those passwords which are 473 secure enough. Would you like to setup VALIDATE PASSWORD component? 474 475 Press y|Y for Yes, any other key for No: N 476 Please set the password for root here. 477 478 New password: 479 480 Re-enter new password: 481 ... Failed! Error: SET PASSWORD has no significance for user 'root'@'localhost' as the authentication method used doesn't store authentication data in the MySQL server. Please consider using ALTER USER instead if you want to change authentication parameters. 482 483 New password: 484 Sorry, you can't use an empty password here. 485 486 New password: 487 Sorry, you can't use an empty password here. 488 489 New password: 490 491 Re-enter new password: 492 ... Failed! Error: SET PASSWORD has no significance for user 'root'@'localhost' as the authentication method used doesn't store authentication data in the MySQL server. Please consider using ALTER USER instead if you want to change authentication parameters. 493 494 New password: Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.15.0-1011-oracle aarch64) 495 496 * Documentation: https://help.ubuntu.com 497 * Management: https://landscape.canonical.com 498 * Support: https://ubuntu.com/advantage 499 500 System information as of Fri Jun 17 01:08:12 UTC 2022 501 502 System load: 0.080078125 Processes: 158 503 Usage of /: 5.3% of 44.97GB Users logged in: 0 504 Memory usage: 4% IPv4 address for enp0s3: 10.100.100.166 505 Swap usage: 0% 506 507 508 0 updates can be applied immediately. 509 510 511 Last login: Fri Jun 17 00:51:59 2022 from 187.189.238.1 512 ubuntu@instance-20220616-1631:~$ sudo mysql 513 Welcome to the MySQL monitor. Commands end with ; or \g. 514 Your MySQL connection id is 8 515 Server version: 8.0.29-0ubuntu0.22.04.2 (Ubuntu) 516 517 Copyright (c) 2000, 2022, Oracle and/or its affiliates. 518 519 Oracle is a registered trademark of Oracle Corporation and/or its 520 affiliates. Other names may be trademarks of their respective 521 owners. 522 523 Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. 524 525 mysql> exit 526 Bye 527 ubuntu@instance-20220616-1631:~$ sudo mysql_secure_installation 528 529 Securing the MySQL server deployment. 530 531 Connecting to MySQL using a blank password. 532 533 VALIDATE PASSWORD COMPONENT can be used to test passwords 534 and improve security. It checks the strength of password 535 and allows the users to set only those passwords which are 536 secure enough. Would you like to setup VALIDATE PASSWORD component? 537 538 Press y|Y for Yes, any other key for No: y 539 540 There are three levels of password validation policy: 541 542 LOW Length >= 8 543 MEDIUM Length >= 8, numeric, mixed case, and special characters 544 STRONG Length >= 8, numeric, mixed case, special characters and dictionary file 545 546 Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 1 547 Please set the password for root here. 548 549 New password: 550 551 Re-enter new password: 552 553 Estimated strength of the password: 100 554 Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : y 555 ... Failed! Error: SET PASSWORD has no significance for user 'root'@'localhost' as the authentication method used doesn't store authentication data in the MySQL server. Please consider using ALTER USER instead if you want to change authentication parameters. 556 557 New password: Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.15.0-1011-oracle aarch64) 558 559 * Documentation: https://help.ubuntu.com 560 * Management: https://landscape.canonical.com 561 * Support: https://ubuntu.com/advantage 562 563 System information as of Fri Jun 17 01:21:14 UTC 2022 564 565 System load: 0.01416015625 Processes: 167 566 Usage of /: 5.4% of 44.97GB Users logged in: 0 567 Memory usage: 4% IPv4 address for enp0s3: 10.100.100.166 568 Swap usage: 0% 569 570 571 0 updates can be applied immediately. 572 573 574 Last login: Fri Jun 17 01:21:15 2022 from 187.189.238.1 575 ubuntu@instance-20220616-1631:~$ sudo apt install php libapache2-mod-php php-mysql 576 Reading package lists... Done 577 Building dependency tree... Done 578 Reading state information... Done 579 The following additional packages will be installed: 580 libapache2-mod-php8.1 php-common php8.1 php8.1-cli php8.1-common php8.1-mysql 581 php8.1-opcache php8.1-readline 582 Suggested packages: 583 php-pear 584 The following NEW packages will be installed: 585 libapache2-mod-php libapache2-mod-php8.1 php php-common php-mysql php8.1 586 php8.1-cli php8.1-common php8.1-mysql php8.1-opcache php8.1-readline 587 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. 588 Need to get 5333 kB of archives. 589 After this operation, 22.4 MB of additional disk space will be used. 590 Do you want to continue? [Y/n] 591 Get:1ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 php-common all 2:92ubuntu1 [12.4 kB] 592 Get:2ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 php8.1-common arm64 8.1.2-1ubuntu2.1 [1119 kB] 593 Get:3 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 php8.1-opcache arm64 8.1.2-1ubuntu2.1 [576 kB] 594 Get:4Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 php8.1-readline arm64 8.1.2-1ubuntu2.1 [12.9 kB] 595 Get:5Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 php8.1-cli arm64 8.1.2-1ubuntu2.1 [1770 kB] 596 Get:65http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libapache2-mod-php8.1 arm64 8.1.2-1ubuntu2.1 [1698 kB] 597 Get:76http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 libapache2-mod-php all 2:8.1+92ubuntu1 [2898 B] 598 Get:8 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 php8.1 all 8.1.2-1ubuntu2.1 [9166 B] 599 Get:9 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 php all 2:8.1+92ubuntu1 [2756 B] 600 Get:10 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 php8.1-mysql arm64 8.1.2-1ubuntu2.1 [128 kB] 601 Get:110http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 php-mysql all 2:8.1+92ubuntu1 [1834 B] 602 Fetchedo5333gkB in 2s (3167 kB/s) 603 604 Selecting previously unselected package php-common. 605 (Reading database ... 97863 files and directories currently installed.) 606 Preparing to unpack .../00-php-common_2%3a92ubuntu1_all.deb ... 607 Progress: [ 0%] [...........................................................] Progress: [ 2%] [#..........................................................] Unpacking php-common (2:92ubuntu1) ... 608 Progress: [ 4%] [##.........................................................] Selecting previously unselected package php8.1-common. 609 Preparing to unpack .../01-php8.1-common_8.1.2-1ubuntu2.1_arm64.deb ... 610 Progress: [ 7%] [###........................................................] Unpacking php8.1-common (8.1.2-1ubuntu2.1) ... 611 Progress: [ 9%] [#####......................................................] Selecting previously unselected package php8.1-opcache. 612 Preparing to unpack .../02-php8.1-opcache_8.1.2-1ubuntu2.1_arm64.deb ... 613 Progress: [ 11%] [######.....................................................] Unpacking php8.1-opcache (8.1.2-1ubuntu2.1) ... 614 Progress: [ 13%] [#######....................................................] Selecting previously unselected package php8.1-readline. 615 Preparing to unpack .../03-php8.1-readline_8.1.2-1ubuntu2.1_arm64.deb ... 616 Progress: [ 16%] [#########..................................................] Unpacking php8.1-readline (8.1.2-1ubuntu2.1) ... 617 Progress: [ 18%] [##########.................................................] Selecting previously unselected package php8.1-cli. 618 Preparing to unpack .../04-php8.1-cli_8.1.2-1ubuntu2.1_arm64.deb ... 619 Progress: [ 20%] [###########................................................] Unpacking php8.1-cli (8.1.2-1ubuntu2.1) ... 620 Progress: [ 22%] [#############..............................................] Selecting previously unselected package libapache2-mod-php8.1. 621 Preparing to unpack .../05-libapache2-mod-php8.1_8.1.2-1ubuntu2.1_arm64.deb ... 622 Progress: [ 24%] [##############.............................................] Unpacking libapache2-mod-php8.1 (8.1.2-1ubuntu2.1) ... 623 Progress: [ 27%] [###############............................................] Selecting previously unselected package libapache2-mod-php. 624 Preparing to unpack .../06-libapache2-mod-php_2%3a8.1+92ubuntu1_all.deb ... 625 Progress: [ 29%] [#################..........................................] Unpacking libapache2-mod-php (2:8.1+92ubuntu1) ... 626 Progress: [ 31%] [##################.........................................] Selecting previously unselected package php8.1. 627 Preparing to unpack .../07-php8.1_8.1.2-1ubuntu2.1_all.deb ... 628 Progress: [ 33%] [###################........................................] Unpacking php8.1 (8.1.2-1ubuntu2.1) ... 629 Progress: [ 36%] [####################.......................................] Selecting previously unselected package php. 630 Preparing to unpack .../08-php_2%3a8.1+92ubuntu1_all.deb ... 631 Progress: [ 38%] [######################.....................................] Unpacking php (2:8.1+92ubuntu1) ... 632 Progress: [ 40%] [#######################....................................] Selecting previously unselected package php8.1-mysql. 633 Preparing to unpack .../09-php8.1-mysql_8.1.2-1ubuntu2.1_arm64.deb ... 634 Progress: [ 42%] [########################...................................] Unpacking php8.1-mysql (8.1.2-1ubuntu2.1) ... 635 Progress: [ 44%] [##########################.................................] Selecting previously unselected package php-mysql. 636 Preparing to unpack .../10-php-mysql_2%3a8.1+92ubuntu1_all.deb ... 637 Progress: [ 47%] [###########################................................] Unpacking php-mysql (2:8.1+92ubuntu1) ... 638 Progress: [ 49%] [############################...............................] Setting up php-common (2:92ubuntu1) ... 639 Progress: [ 51%] [##############################.............................] Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer. 640 Progress: [ 53%] [###############################............................] Setting up php8.1-common (8.1.2-1ubuntu2.1) ... 641 Progress: [ 56%] [################################...........................] 642 Creating config file /etc/php/8.1/mods-available/calendar.ini with new version 643 644 Creating config file /etc/php/8.1/mods-available/ctype.ini with new version 645 646 Creating config file /etc/php/8.1/mods-available/exif.ini with new version 647 648 Creating config file /etc/php/8.1/mods-available/fileinfo.ini with new version 649 650 Creating config file /etc/php/8.1/mods-available/ffi.ini with new version 651 652 Creating config file /etc/php/8.1/mods-available/ftp.ini with new version 653 654 Creating config file /etc/php/8.1/mods-available/gettext.ini with new version 655 656 Creating config file /etc/php/8.1/mods-available/iconv.ini with new version 657 658 Creating config file /etc/php/8.1/mods-available/pdo.ini with new version 659 660 Creating config file /etc/php/8.1/mods-available/phar.ini with new version 661 662 Creating config file /etc/php/8.1/mods-available/posix.ini with new version 663 664 Creating config file /etc/php/8.1/mods-available/shmop.ini with new version 665 666 Creating config file /etc/php/8.1/mods-available/sockets.ini with new version 667 668 Creating config file /etc/php/8.1/mods-available/sysvmsg.ini with new version 669 670 Creating config file /etc/php/8.1/mods-available/sysvsem.ini with new version 671 672 Creating config file /etc/php/8.1/mods-available/sysvshm.ini with new version 673 674 Creating config file /etc/php/8.1/mods-available/tokenizer.ini with new version 675 Progress: [ 58%] [##################################.........................] Setting up php8.1-mysql (8.1.2-1ubuntu2.1) ... 676 Progress: [ 60%] [###################################........................] 677 Creating config file /etc/php/8.1/mods-available/mysqlnd.ini with new version 678 679 Creating config file /etc/php/8.1/mods-available/mysqli.ini with new version 680 681 Creating config file /etc/php/8.1/mods-available/pdo_mysql.ini with new version 682 Progress: [ 62%] [####################################.......................] Setting up php8.1-readline (8.1.2-1ubuntu2.1) ... 683 Progress: [ 64%] [######################################.....................] 684 Creating config file /etc/php/8.1/mods-available/readline.ini with new version 685 Progress: [ 67%] [#######################################....................] Setting up php8.1-opcache (8.1.2-1ubuntu2.1) ... 686 Progress: [ 69%] [########################################...................] 687 Creating config file /etc/php/8.1/mods-available/opcache.ini with new version 688 Progress: [ 71%] [#########################################..................] Setting up php-mysql (2:8.1+92ubuntu1) ... 689 Progress: [ 73%] [###########################################................] Progress: [ 76%] [############################################...............] Setting up php8.1-cli (8.1.2-1ubuntu2.1) ... 690 Progress: [ 78%] [#############################################..............] update-alternatives: using /usr/bin/php8.1 to provide /usr/bin/php (php) in auto mode 691 update-alternatives: using /usr/bin/phar8.1 to provide /usr/bin/phar (phar) in auto mode 692 update-alternatives: using /usr/bin/phar.phar8.1 to provide /usr/bin/phar.phar (phar.phar) in auto mode 693 694 Creating config file /etc/php/8.1/cli/php.ini with new version 695 Progress: [ 80%] [###############################################............] Setting up libapache2-mod-php8.1 (8.1.2-1ubuntu2.1) ... 696 697 Creating config file /etc/php/8.1/apache2/php.ini with new version 698 Module mpm_event disabled. 699 Enabling module mpm_prefork. 700 apache2_switch_mpm Switch to prefork 701 apache2_invoke: Enable module php8.1 702 Setting up php8.1 (8.1.2-1ubuntu2.1) ... 703 Progress: [ 82%] [################################################...........] Setting up libapache2-mod-php (2:8.1+92ubuntu1) ... 704 Progress: [ 84%] [#################################################..........] Progress: [ 86%] [##################################################.........] Setting up php (2:8.1+92ubuntu1) ... 705 Progress: [ 88%] [###################################################........] Progress: [ 90%] [####################################################.......] Processing triggers for man-db (2.10.2-1) ... 706 Processing triggers for php8.1-cli (8.1.2-1ubuntu2.1) ... 707 Progress: [ 92%] [######################################################.....] Progress: [ 94%] [#######################################################....] Processing triggers for libapache2-mod-php8.1 (8.1.2-1ubuntu2.1) ... 708 Progress: [ 96%] [########################################################...] Progress: [ 98%] [#########################################################..] 709 Scanning processes... [=========================================================] 710 Scanning linux images... [======================================================] 711 712 Running kernel seems to be up-to-date. 713 714 No services need to be restarted. 715 716 No containers need to be restarted. 717 718 No user sessions are running outdated binaries. 719 720 No VM guests are running outdated hypervisor (qemu) binaries on this host. 721 ubuntu@instance-20220616-1631:~$ php -v 722 PHP 8.1.2 (cli) (built: Jun 13 2022 13:52:54) (NTS) 723 Copyright (c) The PHP Group 724 Zend Engine v4.1.2, Copyright (c) Zend Technologies 725 with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies 726 ubuntu@instance-20220616-1631:~$ sudo mkdir /var/www/bcas.metalvps.com 727 ubuntu@instance-20220616-1631:~$ /var/www/bcas.metalvps.comvar/www/bcas.metalvps.com 728 ubuntu@instance-20220616-1631:~$ cd /etc/apache2 729 ubuntu@instance-20220616-1631:/etc/apache2$ ls 730 apache2.conf conf-enabled magic mods-enabled sites-available 731 conf-available envvars mods-available ports.conf sites-enabled 732 ubuntu@instance-20220616-1631:/etc/apache2$ cd /etc/apache2/sites-available 733 conftu@instance-20220616-1631:/etc/apache2/sites-available$ ed bcas.metalvps.com. 734 bcas.metalvps.com.conf: No such file or directory 735 a 736 <VirtualHost *:80> 737 ServerName bcas.metalvps.com 738 ServerAdmin webmaster@localhost 739 DocumentRoot /var/www/bcas.metalvps.com 740 ErrorLog ${APACHE_LOG_DIR}/error.log 741 CustomLog ${APACHE_LOG_DIR}/access.log combined 742 </VirtualHost> 743 . 744 w 745 bcas.metalvps.com.conf: Permission denied 746 ? 747 w /root/bcas.metalvps.com.conf 748 /root/bcas.metalvps.com.conf: Permission denied 749 ? 750 q 751 ? 752 q 753 ubuntu@instance-20220616-1631:/etc/apache2/sites-available$ oedbbcas.metalvps.com.conf 754 755 bcas.metalvps.com.conf: No such file or directory 756 a 757 <VirtualHost *:80> 758 ServerName bcas.metalvps.com 759 ServerAdmin webmaster@localhost 760 DocumentRoot /var/www/bcas.metalvps.com 761 ErrorLog ${APACHE_LOG_DIR}/error.log 762 CustomLog ${APACHE_LOG_DIR}/access.log combined 763 </VirtualHost> 764 . 765 w 766 260 767 q 768 talvps.comtance-20220616-1631:/etc/apache2/sites-available$ sudo a2ensite bcas.me 769 Enabling site bcas.metalvps.com. 770 To activate the new configuration, you need to run: 771 systemctl reload apache2 772 ubuntu@instance-20220616-1631:/etc/apache2/sites-available$ systemctl reload apache2 773 ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === 774 Authentication is required to reload 'apache2.service'. 775 Authenticating as: Ubuntu (ubuntu) 776 Password: Failed to reload apache2.service: Connection timed out 777 See system logs and 'systemctl status apache2.service' for details. 778 polkit-agent-helper-1: pam_authenticate failed: Authentication failure 779 ubuntu@instance-20220616-1631:/etc/apache2/sites-available$ passwd 780 Changing password for ubuntu. 781 Current password: 782 passwd: Authentication token manipulation error 783 passwd: password unchanged 784 ubuntu@instance-20220616-1631:/etc/apache2/sites-available$ osystemctlrreloadaapache2 785 786 mbuntu@instance-20220616-1631:/etc/apache2/sites-available$ curl bcas.metalvps.com 787 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> 788 <html> 789 <head> 790 <title>Index of /</title> 791 </head> 792 <body> 793 <h1>Index of /</h1> 794 <table> 795 <tr><th valign="top"><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr> 796 <tr><th colspan="5"><hr></th></tr> 797 <tr><th colspan="5"><hr></th></tr> 798 </table> 799 <address>Apache/2.4.52 (Ubuntu) Server at bcas.metalvps.com Port 80</address> 800 </body></html> 801 ubuntu@instance-20220616-1631:/etc/apache2/sites-available$ sudo apache2ctl configtest 802 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message 803 Syntax OK 804 ubuntu@instance-20220616-1631:/etc/apache2/sites-available$ cd /var/www/bcas.metalvps.com/ 805 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ ls 806 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ ed index.html 807 index.html: No such file or directory 808 a 809 <html> 810 Hello from bcas.metalvps.com! 811 . 812 -1 813 <html> 814 a 815 <center> 816 . 817 w 818 46 819 q 820 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ sudo ufw status 821 Status: active 822 823 To Action From 824 -- ------ ---- 825 Apache ALLOW Anywhere 826 OpenSSH ALLOW Anywhere 827 Apache (v6) ALLOW Anywhere (v6) 828 OpenSSH (v6) ALLOW Anywhere (v6) 829 830 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ sudo apt install certbot python3-certbot-apache 831 Reading package lists... Done 832 Building dependency tree... Done 833 Reading state information... Done 834 The following additional packages will be installed: 835 augeas-lenses libaugeas0 python3-acme python3-augeas python3-certbot 836 python3-configargparse python3-icu python3-josepy python3-parsedatetime 837 python3-requests-toolbelt python3-rfc3339 python3-zope.component 838 python3-zope.event python3-zope.hookable 839 Suggested packages: 840 augeas-doc python-certbot-doc python3-certbot-nginx augeas-tools 841 python-acme-doc python-certbot-apache-doc 842 The following NEW packages will be installed: 843 augeas-lenses certbot libaugeas0 python3-acme python3-augeas python3-certbot 844 python3-certbot-apache python3-configargparse python3-icu python3-josepy 845 python3-parsedatetime python3-requests-toolbelt python3-rfc3339 846 python3-zope.component python3-zope.event python3-zope.hookable 847 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. 848 Need to get 1495 kB of archives. 849 After this operation, 7534 kB of additional disk space will be used. 850 Do you want to continue? [Y/n] 851 Get:1ohttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 augeas-lenses all 1.13.0-1 [321 kB] 852 Get:2Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 libaugeas0 arm64 1.13.0-1 [197 kB] 853 Get:3Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-josepy all 1.10.0-1 [22.0 kB] 854 Get:43http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 python3-requests-toolbelt all 0.9.1-1 [38.0 kB] 855 Get:5Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 python3-rfc3339 all 1.1-3 [7110 B] 856 Get:65http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-acme all 1.21.0-1 [36.3 kB] 857 Get:7Whttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-augeas all 0.5.0-1.1 [9124 B] 858 Get:87http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-configargparse all 1.5.3-1 [26.9 kB] 859 Get:98http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-parsedatetime all 2.6-2 [32.9 kB] 860 Get:10 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-zope.hookable arm64 5.1.0-1build1 [11.4 kB] 861 Get:110http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-zope.event all 4.4-3 [8180 B] 862 Get:121http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-zope.component all 4.3.0-3 [38.3 kB] 863 Get:132http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-certbot all 1.21.0-1build1 [175 kB] 864 Get:143http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 certbot all 1.21.0-1build1 [21.3 kB] 865 Get:15ahttp://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-certbot-apache all 1.21.0-1 [64.2 kB] 866 Get:165http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 python3-icu arm64 2.8.1-0ubuntu2 [486 kB] 867 Fetchedo1495gkB-inu3s4(5914kB/s) 0%] 868 Preconfiguring packages ... 869 870 Selecting previously unselected package augeas-lenses. 871 (Reading database ... 98012 files and directories currently installed.) 872 Preparing to unpack .../00-augeas-lenses_1.13.0-1_all.deb ... 873 Progress: [ 0%] [...........................................................] Progress: [ 2%] [...........................................................] Unpacking augeas-lenses (1.13.0-1) ... 874 Progress: [ 3%] [#..........................................................] Selecting previously unselected package libaugeas0:arm64. 875 Preparing to unpack .../01-libaugeas0_1.13.0-1_arm64.deb ... 876 Progress: [ 5%] [##.........................................................] Unpacking libaugeas0:arm64 (1.13.0-1) ... 877 Progress: [ 6%] [###........................................................] Selecting previously unselected package python3-josepy. 878 Preparing to unpack .../02-python3-josepy_1.10.0-1_all.deb ... 879 Progress: [ 8%] [####.......................................................] Unpacking python3-josepy (1.10.0-1) ... 880 Progress: [ 9%] [#####......................................................] Selecting previously unselected package python3-requests-toolbelt. 881 Preparing to unpack .../03-python3-requests-toolbelt_0.9.1-1_all.deb ... 882 Progress: [ 11%] [######.....................................................] Unpacking python3-requests-toolbelt (0.9.1-1) ... 883 Progress: [ 12%] [#######....................................................] Selecting previously unselected package python3-rfc3339. 884 Preparing to unpack .../04-python3-rfc3339_1.1-3_all.deb ... 885 Progress: [ 14%] [########...................................................] Unpacking python3-rfc3339 (1.1-3) ... 886 Progress: [ 15%] [#########..................................................] Selecting previously unselected package python3-acme. 887 Preparing to unpack .../05-python3-acme_1.21.0-1_all.deb ... 888 Progress: [ 17%] [#########..................................................] Unpacking python3-acme (1.21.0-1) ... 889 Progress: [ 18%] [##########.................................................] Selecting previously unselected package python3-augeas. 890 Preparing to unpack .../06-python3-augeas_0.5.0-1.1_all.deb ... 891 Progress: [ 20%] [###########................................................] Unpacking python3-augeas (0.5.0-1.1) ... 892 Progress: [ 22%] [############...............................................] Selecting previously unselected package python3-configargparse. 893 Preparing to unpack .../07-python3-configargparse_1.5.3-1_all.deb ... 894 Progress: [ 23%] [#############..............................................] Unpacking python3-configargparse (1.5.3-1) ... 895 Progress: [ 25%] [##############.............................................] Selecting previously unselected package python3-parsedatetime. 896 Preparing to unpack .../08-python3-parsedatetime_2.6-2_all.deb ... 897 Progress: [ 26%] [###############............................................] Unpacking python3-parsedatetime (2.6-2) ... 898 Progress: [ 28%] [################...........................................] Selecting previously unselected package python3-zope.hookable. 899 Preparing to unpack .../09-python3-zope.hookable_5.1.0-1build1_arm64.deb ... 900 Progress: [ 29%] [#################..........................................] Unpacking python3-zope.hookable (5.1.0-1build1) ... 901 Progress: [ 31%] [##################.........................................] Selecting previously unselected package python3-zope.event. 902 Preparing to unpack .../10-python3-zope.event_4.4-3_all.deb ... 903 Progress: [ 32%] [###################........................................] Unpacking python3-zope.event (4.4-3) ... 904 Progress: [ 34%] [###################........................................] Selecting previously unselected package python3-zope.component. 905 Preparing to unpack .../11-python3-zope.component_4.3.0-3_all.deb ... 906 Progress: [ 35%] [####################.......................................] Unpacking python3-zope.component (4.3.0-3) ... 907 Progress: [ 37%] [#####################......................................] Selecting previously unselected package python3-certbot. 908 Preparing to unpack .../12-python3-certbot_1.21.0-1build1_all.deb ... 909 Progress: [ 38%] [######################.....................................] Unpacking python3-certbot (1.21.0-1build1) ... 910 Progress: [ 40%] [#######################....................................] Selecting previously unselected package certbot. 911 Preparing to unpack .../13-certbot_1.21.0-1build1_all.deb ... 912 Progress: [ 42%] [########################...................................] Unpacking certbot (1.21.0-1build1) ... 913 Progress: [ 43%] [#########################..................................] Selecting previously unselected package python3-certbot-apache. 914 Preparing to unpack .../14-python3-certbot-apache_1.21.0-1_all.deb ... 915 Progress: [ 45%] [##########################.................................] Unpacking python3-certbot-apache (1.21.0-1) ... 916 Progress: [ 46%] [###########################................................] Selecting previously unselected package python3-icu. 917 Preparing to unpack .../15-python3-icu_2.8.1-0ubuntu2_arm64.deb ... 918 Progress: [ 48%] [############################...............................] Unpacking python3-icu (2.8.1-0ubuntu2) ... 919 Progress: [ 49%] [#############################..............................] Setting up python3-configargparse (1.5.3-1) ... 920 Progress: [ 51%] [#############################..............................] Progress: [ 52%] [##############################.............................] Setting up python3-requests-toolbelt (0.9.1-1) ... 921 Progress: [ 54%] [###############################............................] Progress: [ 55%] [################################...........................] Setting up python3-parsedatetime (2.6-2) ... 922 Progress: [ 57%] [#################################..........................] Progress: [ 58%] [##################################.........................] Setting up python3-icu (2.8.1-0ubuntu2) ... 923 Progress: [ 60%] [###################################........................] Progress: [ 62%] [####################################.......................] Setting up augeas-lenses (1.13.0-1) ... 924 Progress: [ 63%] [#####################################......................] Progress: [ 65%] [######################################.....................] Setting up python3-zope.event (4.4-3) ... 925 Progress: [ 66%] [#######################################....................] Progress: [ 68%] [#######################################....................] Setting up python3-zope.hookable (5.1.0-1build1) ... 926 Progress: [ 69%] [########################################...................] Progress: [ 71%] [#########################################..................] Setting up libaugeas0:arm64 (1.13.0-1) ... 927 Progress: [ 72%] [##########################################.................] Progress: [ 74%] [###########################################................] Setting up python3-josepy (1.10.0-1) ... 928 Progress: [ 75%] [############################################...............] Progress: [ 77%] [#############################################..............] Setting up python3-augeas (0.5.0-1.1) ... 929 Progress: [ 78%] [##############################################.............] Progress: [ 80%] [###############################################............] Setting up python3-rfc3339 (1.1-3) ... 930 Progress: [ 82%] [################################################...........] Progress: [ 83%] [#################################################..........] Setting up python3-zope.component (4.3.0-3) ... 931 Progress: [ 85%] [#################################################..........] Progress: [ 86%] [##################################################.........] Setting up python3-acme (1.21.0-1) ... 932 Progress: [ 88%] [###################################################........] Progress: [ 89%] [####################################################.......] Setting up python3-certbot (1.21.0-1build1) ... 933 Progress: [ 91%] [#####################################################......] Progress: [ 92%] [######################################################.....] Setting up certbot (1.21.0-1build1) ... 934 Progress: [ 94%] [#######################################################....] Created symlink /etc/systemd/system/timers.target.wants/certbot.timer → /lib/systemd/system/certbot.timer. 935 Progress: [ 95%] [########################################################...] Setting up python3-certbot-apache (1.21.0-1) ... 936 Progress: [ 97%] [#########################################################..] Progress: [ 98%] [##########################################################.] Processing triggers for man-db (2.10.2-1) ... 937 Processing triggers for libc-bin (2.35-0ubuntu3) ... 938 939 Scanning processes... [=========================================================] 940 Scanning linux images... [======================================================] 941 942 Running kernel seems to be up-to-date. 943 944 No services need to be restarted. 945 946 No containers need to be restarted. 947 948 No user sessions are running outdated binaries. 949 950 No VM guests are running outdated hypervisor (qemu) binaries on this host. 951 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ sudo ufw allow 'Apache Full' 952 Rule added 953 Rule added (v6) 954 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ sudo ufw delete allow 'Apache' 955 Rule deleted 956 Rule deleted (v6) 957 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ sudo ufw status 958 Status: active 959 960 To Action From 961 -- ------ ---- 962 OpenSSH ALLOW Anywhere 963 Apache Full ALLOW Anywhere 964 OpenSSH (v6) ALLOW Anywhere (v6) 965 Apache Full (v6) ALLOW Anywhere (v6) 966 967 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ sudo certbot --apache 968 Saving debug log to /var/log/letsencrypt/letsencrypt.log 969 Enter email address (used for urgent renewal and security notices) 970 (Enter 'c' to cancel): Not_Oles@metalvps.com 971 972 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 973 Please read the Terms of Service at 974 https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must 975 agree in order to register with the ACME server. Do you agree? 976 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 977 (Y)es/(N)o: Y 978 979 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 980 Would you be willing, once your first certificate is successfully issued, to 981 share your email address with the Electronic Frontier Foundation, a founding 982 partner of the Let's Encrypt project and the non-profit organization that 983 develops Certbot? We'd like to send you email about our work encrypting the web, 984 EFF news, campaigns, and ways to support digital freedom. 985 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 986 (Y)es/(N)o: Y 987 Account registered. 988 989 Which names would you like to activate HTTPS for? 990 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 991 1: bcas.metalvps.com 992 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 993 Select the appropriate numbers separated by commas and/or spaces, or leave input 994 blank to select all options shown (Enter 'c' to cancel): 1 995 Requesting a certificate for bcas.metalvps.com 996 997 Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems: 998 Domain: bcas.metalvps.com 999 Type: dns 1000 Detail: DNS problem: SERVFAIL looking up CAA for metalvps.com - the domain's nameservers may be malfunctioning 1001 1002 Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet. 1003 1004 Some challenges have failed. 1005 Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details. 1006 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ host metalvps.com 1007 metalvps.com has address 209.151.157.105 1008 metalvps.com has IPv6 address 2604:ed40:1000:1711:388a:adff:febf:2bab 1009 metalvps.com mail is handled by 20 aspmx2.migadu.com. 1010 metalvps.com mail is handled by 10 aspmx1.migadu.com. 1011 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ which dig 1012 /usr/bin/dig 1013 ceuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ dig a metalvps.com +tra 1014 1015 ; <<>> DiG 9.18.1-1ubuntu1.1-Ubuntu <<>> a metalvps.com +trace 1016 ;; global options: +cmd 1017 . 518400 IN NS k.root-servers.net. 1018 . 518400 IN NS l.root-servers.net. 1019 . 518400 IN NS m.root-servers.net. 1020 . 518400 IN NS a.root-servers.net. 1021 . 518400 IN NS b.root-servers.net. 1022 . 518400 IN NS c.root-servers.net. 1023 . 518400 IN NS d.root-servers.net. 1024 . 518400 IN NS e.root-servers.net. 1025 . 518400 IN NS f.root-servers.net. 1026 . 518400 IN NS g.root-servers.net. 1027 . 518400 IN NS h.root-servers.net. 1028 . 518400 IN NS i.root-servers.net. 1029 . 518400 IN NS j.root-servers.net. 1030 ;; Received 239 bytes from 127.0.0.53#53(127.0.0.53) in 4 ms 1031 1032 com. 172800 IN NS l.gtld-servers.net. 1033 com. 172800 IN NS b.gtld-servers.net. 1034 com. 172800 IN NS c.gtld-servers.net. 1035 com. 172800 IN NS d.gtld-servers.net. 1036 com. 172800 IN NS e.gtld-servers.net. 1037 com. 172800 IN NS f.gtld-servers.net. 1038 com. 172800 IN NS g.gtld-servers.net. 1039 com. 172800 IN NS a.gtld-servers.net. 1040 com. 172800 IN NS h.gtld-servers.net. 1041 com. 172800 IN NS i.gtld-servers.net. 1042 com. 172800 IN NS j.gtld-servers.net. 1043 com. 172800 IN NS k.gtld-servers.net. 1044 com. 172800 IN NS m.gtld-servers.net. 1045 com. 86400 IN DS 30909 8 2 E2D3C916F6DEEAC73294E8268FB5885044A833FC5459588F4A9184CF C41A5766 1046 com. 86400 IN RRSIG DS 8 1 86400 20220629170000 20220616160000 47671 . kMYfx3DedrQnv6szjrGR3SzQ+WH4bjfkvrY+rTpkGEL4z5Da9JEePFrv KPefUp6agEGWM4v//ymZDV7XBvY0DnDnmCJiS53j5FQAtLQdh2jHt3I4 INyhPtXk0H85o5ZaX1RylcZM8LhsFrQtbZneECdyBwUaevy6vdp2c4fD YrfoSBorPpRbdQrSdpcSOS3G86x+7EE0aD+OIBnhv0qxnDidiB+uemLK LNmMwssgB3GDyxEMXQqciAXEYivjcxfCeDTLjJGvTIZlXLWuWVAh9ZEk iWoRmZrFy0AGTa713x3Q9jnTmY0rI6xVz3YO3xwydot23LAMAUJQ+z3N sniZwg== 1047 ;; Received 1172 bytes from 192.5.5.241#53(f.root-servers.net) in 12 ms 1048 1049 metalvps.com. 172800 IN NS fortaleza.porkbun.com. 1050 metalvps.com. 172800 IN NS salvador.porkbun.com. 1051 metalvps.com. 172800 IN NS curitiba.porkbun.com. 1052 metalvps.com. 172800 IN NS maceio.porkbun.com. 1053 CK0POJMG874LJREF7EFN8430QVIT8BSM.com. 86400 IN NSEC3 1 1 0 - CK0Q2D6NI4I7EQH8NA30NS61O48UL8G5 NS SOA RRSIG DNSKEY NSEC3PARAM 1054 CK0POJMG874LJREF7EFN8430QVIT8BSM.com. 86400 IN RRSIG NSEC3 8 2 86400 20220620042358 20220613031358 37269 com. yTkMradfxbeutL3+4E7BcGO98JY09yB4lRyD7SnO2+NhOvA66/j4stkN pFj4PlHEOauN8VBUDWvh7jZcGLD7k6NOLJz3Tk3xHT1uMS+mD149bxEv hwq3WksM0k7i/6p7RqACMSJ3ntbiP0fH7azoiTaj7PkMEG3SAiODJF2s K5elWwelDna0kpYY9AQjL4V2wlJAnRpp0AT9KR4y1BaLYA== 1055 8K7CD4S7PDLHB43GFOGJIRLFU54UHENG.com. 86400 IN NSEC3 1 1 0 - 8K7CRB8DQ8LD5NSAJ1RV5M2V2GKL8JJP NS DS RRSIG 1056 8K7CD4S7PDLHB43GFOGJIRLFU54UHENG.com. 86400 IN RRSIG NSEC3 8 2 86400 20220622042943 20220615031943 37269 com. jaWQP970k7trk+jWRJzMYfzc3RV9N2f4Ouiss+mGqPO6YFnUghT4gAzp /6NfyU+HESbFCj1ybKbJizJtV8DqzgjflepVhXJeDhvn8Gip/TB2ubWE 5Lwh7k4tdil84uAGywBoK0XkqXHVaZ3SukYvxwgQYQ5dDaaUrGBOkuf3 1bqkq8DoDWcWf/ad05lwIBRcV0q4v0Or9wBiV+kr/EPSdQ== 1057 ;; Received 929 bytes from 192.43.172.30#53(i.gtld-servers.net) in 20 ms 1058 1059 metalvps.com. 600 IN A 209.151.157.105 1060 ;; Received 57 bytes from 3.224.31.177#53(fortaleza.porkbun.com) in 88 ms 1061 1062 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ cd 1063 ubuntu@instance-20220616-1631:~$ https://github.com/StartBootstrap/startbootstrap-business-casual.gitcasual.git 1064 Cloning into 'startbootstrap-business-casual'... 1065 remote: Enumerating objects: 920, done. 1066 remote: Counting objects: 100% (273/273), done. 1067 remote: Compressing objects: 100% (114/114), done. 1068 remote:nTotale920:(delta(141),2reused3258i(delta7132),/pack-reused 647 1069 Receiving objects: 100% (920/920), 10.98MMiB||812.71iMiB/s, done. 1070 Resolving deltas: 100% (492/492), done. 1071 ubuntu@instance-20220616-1631:~$ cd /var/www/bcas.metalvps.com/ 1072 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ mv index.html index-original.html 1073 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ cp -pr ~/startbootstrap-business-casual/dist/* . 1074 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ ls 1075 about.html assets css index-original.html index.html js products.html store.html 1076 ubuntu@instance-20220616-1631:/var/www/bcas.metalvps.com$ logout