Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- θ66° [zakame:~] % docker run --rm -it ubuntu:xenial /bin/sh
- Unable to find image 'ubuntu:xenial' locally
- xenial: Pulling from library/ubuntu
- 6d28225f8d96: Already exists
- 166102ec41af: Already exists
- d09bfba2bd6a: Already exists
- c80dad39a6c0: Already exists
- Digest: sha256:6b09109fc65866361139420c5582c6c41276731a877c1fb359ef3457286973ca
- Status: Downloaded newer image for ubuntu:xenial
- # apt install mariadb-server mariadb-client
- Reading package lists... Done
- Building dependency tree... Done
- E: Unable to locate package mariadb-server
- E: Unable to locate package mariadb-client
- # apt update
- Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
- Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
- Get:3 http://archive.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
- Get:4 http://archive.ubuntu.com/ubuntu xenial/main Sources [1103 kB]
- Get:5 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [5179 B]
- Get:6 http://archive.ubuntu.com/ubuntu xenial/universe Sources [9802 kB]
- Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB]
- Get:8 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
- Get:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB]
- Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [36.6 kB]
- Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [40 B]
- Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [10.3 kB]
- Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [111 kB]
- Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [40 B]
- Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [34.7 kB]
- Get:16 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [16.6 kB]
- Get:17 http://archive.ubuntu.com/ubuntu xenial-security/restricted Sources [40 B]
- Get:18 http://archive.ubuntu.com/ubuntu xenial-security/universe Sources [4056 B]
- Get:19 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [63.3 kB]
- Get:20 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [40 B]
- Get:21 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [10.8 kB]
- Fetched 23.0 MB in 1min 17s (297 kB/s)
- Reading package lists... Done
- Building dependency tree... Done
- 5 packages can be upgraded. Run 'apt list --upgradable' to see them.
- # apt install mariadb-server mariadb-client
- Reading package lists... Done
- Building dependency tree... Done
- The following additional packages will be installed:
- ifupdown iproute2 isc-dhcp-client isc-dhcp-common libaio1 libatm1 libcgi-fast-perl libcgi-pm-perl libdbd-mysql-perl libdbi-perl libdns-export162
- libencode-locale-perl libfcgi-perl libgdbm3 libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl
- libio-html-perl libisc-export160 liblwp-mediatypes-perl libmnl0 libmysqlclient20 libperl5.22 libreadline5 libterm-readkey-perl libtimedate-perl
- liburi-perl libxtables11 mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server-10.0 mariadb-server-core-10.0 mysql-common netbase
- perl perl-modules-5.22 psmisc rename
- Suggested packages:
- ppp rdnssd iproute2-doc resolvconf avahi-autoipd isc-dhcp-client-ddns apparmor libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl
- libdata-dump-perl libipc-sharedcache-perl libwww-perl mailx mariadb-test tinyca perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make
- The following NEW packages will be installed:
- ifupdown iproute2 isc-dhcp-client isc-dhcp-common libaio1 libatm1 libcgi-fast-perl libcgi-pm-perl libdbd-mysql-perl libdbi-perl libdns-export162
- libencode-locale-perl libfcgi-perl libgdbm3 libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl
- libio-html-perl libisc-export160 liblwp-mediatypes-perl libmnl0 libmysqlclient20 libperl5.22 libreadline5 libterm-readkey-perl libtimedate-perl
- liburi-perl libxtables11 mariadb-client mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server mariadb-server-10.0
- mariadb-server-core-10.0 mysql-common netbase perl perl-modules-5.22 psmisc rename
- 0 upgraded, 43 newly installed, 0 to remove and 5 not upgraded.
- Need to get 24.5 MB of archives.
- After this operation, 188 MB of additional disk space will be used.
- Do you want to continue? [Y/n]
- Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libatm1 amd64 1:2.5.1-1.5 [24.2 kB]
- Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmnl0 amd64 1.0.3-5 [12.0 kB]
- Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgdbm3 amd64 1.8.3-13.1 [16.9 kB]
- Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-common all 5.7.12-0ubuntu1 [17.0 kB]
- Get:5 http://archive.ubuntu.com/ubuntu xenial/universe amd64 mariadb-common all 10.0.24-7 [16.6 kB]
- Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 perl-modules-5.22 all 5.22.1-9 [2641 kB]
- Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 libperl5.22 amd64 5.22.1-9 [3371 kB]
- Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 perl amd64 5.22.1-9 [237 kB]
- Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 libdbi-perl amd64 1.634-1build1 [743 kB]
- Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmysqlclient20 amd64 5.7.12-0ubuntu1 [810 kB]
- Get:11 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libdbd-mysql-perl amd64 4.033-1build2 [84.5 kB]
- Get:12 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libterm-readkey-perl amd64 2.33-1build1 [27.2 kB]
- Get:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 libaio1 amd64 0.3.110-2 [6356 B]
- Get:14 http://archive.ubuntu.com/ubuntu xenial/main amd64 libreadline5 amd64 5.2+dfsg-3build1 [99.5 kB]
- Get:15 http://archive.ubuntu.com/ubuntu xenial/universe amd64 mariadb-client-core-10.0 amd64 10.0.24-7 [4192 kB]
- Get:16 http://archive.ubuntu.com/ubuntu xenial/universe amd64 mariadb-client-10.0 amd64 10.0.24-7 [1169 kB]
- Get:17 http://archive.ubuntu.com/ubuntu xenial/universe amd64 mariadb-server-core-10.0 amd64 10.0.24-7 [4329 kB]
- Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 psmisc amd64 22.21-2.1build1 [48.0 kB]
- Get:19 http://archive.ubuntu.com/ubuntu xenial/universe amd64 mariadb-server-10.0 amd64 10.0.24-7 [4241 kB]
- Get:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 iproute2 amd64 4.3.0-1ubuntu3 [522 kB]
- Get:21 http://archive.ubuntu.com/ubuntu xenial/main amd64 ifupdown amd64 0.8.10ubuntu1 [54.9 kB]
- Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libisc-export160 amd64 1:9.10.3.dfsg.P4-8ubuntu1 [152 kB]
- Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdns-export162 amd64 1:9.10.3.dfsg.P4-8ubuntu1 [665 kB]
- Get:24 http://archive.ubuntu.com/ubuntu xenial/main amd64 isc-dhcp-client amd64 4.3.3-5ubuntu12 [222 kB]
- Get:25 http://archive.ubuntu.com/ubuntu xenial/main amd64 isc-dhcp-common amd64 4.3.3-5ubuntu12 [104 kB]
- Get:26 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxtables11 amd64 1.6.0-2ubuntu3 [27.2 kB]
- Get:27 http://archive.ubuntu.com/ubuntu xenial/main amd64 netbase all 5.3 [12.9 kB]
- Get:28 http://archive.ubuntu.com/ubuntu xenial/main amd64 libhtml-tagset-perl all 3.20-2 [13.5 kB]
- Get:29 http://archive.ubuntu.com/ubuntu xenial/main amd64 liburi-perl all 1.71-1 [76.9 kB]
- Get:30 http://archive.ubuntu.com/ubuntu xenial/main amd64 libhtml-parser-perl amd64 3.72-1 [86.1 kB]
- Get:31 http://archive.ubuntu.com/ubuntu xenial/main amd64 libcgi-pm-perl all 4.26-1 [185 kB]
- Get:32 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfcgi-perl amd64 0.77-1build1 [32.3 kB]
- Get:33 http://archive.ubuntu.com/ubuntu xenial/main amd64 libcgi-fast-perl all 1:2.10-1 [10.2 kB]
- Get:34 http://archive.ubuntu.com/ubuntu xenial/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]
- Get:35 http://archive.ubuntu.com/ubuntu xenial/main amd64 libhtml-template-perl all 2.95-2 [60.4 kB]
- Get:36 http://archive.ubuntu.com/ubuntu xenial/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]
- Get:37 http://archive.ubuntu.com/ubuntu xenial/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]
- Get:38 http://archive.ubuntu.com/ubuntu xenial/main amd64 libio-html-perl all 1.001-1 [14.9 kB]
- Get:39 http://archive.ubuntu.com/ubuntu xenial/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]
- Get:40 http://archive.ubuntu.com/ubuntu xenial/main amd64 libhttp-message-perl all 6.11-1 [74.3 kB]
- Get:41 http://archive.ubuntu.com/ubuntu xenial/universe amd64 mariadb-client all 10.0.24-7 [13.0 kB]
- Get:42 http://archive.ubuntu.com/ubuntu xenial/universe amd64 mariadb-server all 10.0.24-7 [13.1 kB]
- Get:43 http://archive.ubuntu.com/ubuntu xenial/main amd64 rename all 0.20-4 [12.0 kB]
- Fetched 24.5 MB in 11min 20s (36.0 kB/s)
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libatm1:amd64.
- (Reading database ... 7253 files and directories currently installed.)
- Preparing to unpack .../libatm1_1%3a2.5.1-1.5_amd64.deb ...
- Unpacking libatm1:amd64 (1:2.5.1-1.5) ...
- Selecting previously unselected package libmnl0:amd64.
- Preparing to unpack .../libmnl0_1.0.3-5_amd64.deb ...
- Unpacking libmnl0:amd64 (1.0.3-5) ...
- Selecting previously unselected package libgdbm3:amd64.
- Preparing to unpack .../libgdbm3_1.8.3-13.1_amd64.deb ...
- Unpacking libgdbm3:amd64 (1.8.3-13.1) ...
- Selecting previously unselected package mysql-common.
- Preparing to unpack .../mysql-common_5.7.12-0ubuntu1_all.deb ...
- Unpacking mysql-common (5.7.12-0ubuntu1) ...
- Selecting previously unselected package mariadb-common.
- Preparing to unpack .../mariadb-common_10.0.24-7_all.deb ...
- Unpacking mariadb-common (10.0.24-7) ...
- Selecting previously unselected package perl-modules-5.22.
- Preparing to unpack .../perl-modules-5.22_5.22.1-9_all.deb ...
- Unpacking perl-modules-5.22 (5.22.1-9) ...
- Selecting previously unselected package libperl5.22:amd64.
- Preparing to unpack .../libperl5.22_5.22.1-9_amd64.deb ...
- Unpacking libperl5.22:amd64 (5.22.1-9) ...
- Selecting previously unselected package perl.
- Preparing to unpack .../perl_5.22.1-9_amd64.deb ...
- Unpacking perl (5.22.1-9) ...
- Selecting previously unselected package libdbi-perl.
- Preparing to unpack .../libdbi-perl_1.634-1build1_amd64.deb ...
- Unpacking libdbi-perl (1.634-1build1) ...
- Selecting previously unselected package libmysqlclient20:amd64.
- Preparing to unpack .../libmysqlclient20_5.7.12-0ubuntu1_amd64.deb ...
- Unpacking libmysqlclient20:amd64 (5.7.12-0ubuntu1) ...
- Selecting previously unselected package libdbd-mysql-perl.
- Preparing to unpack .../libdbd-mysql-perl_4.033-1build2_amd64.deb ...
- Unpacking libdbd-mysql-perl (4.033-1build2) ...
- Selecting previously unselected package libterm-readkey-perl.
- Preparing to unpack .../libterm-readkey-perl_2.33-1build1_amd64.deb ...
- Unpacking libterm-readkey-perl (2.33-1build1) ...
- Selecting previously unselected package libaio1:amd64.
- Preparing to unpack .../libaio1_0.3.110-2_amd64.deb ...
- Unpacking libaio1:amd64 (0.3.110-2) ...
- Selecting previously unselected package libreadline5:amd64.
- Preparing to unpack .../libreadline5_5.2+dfsg-3build1_amd64.deb ...
- Unpacking libreadline5:amd64 (5.2+dfsg-3build1) ...
- Selecting previously unselected package mariadb-client-core-10.0.
- Preparing to unpack .../mariadb-client-core-10.0_10.0.24-7_amd64.deb ...
- Unpacking mariadb-client-core-10.0 (10.0.24-7) ...
- Selecting previously unselected package mariadb-client-10.0.
- Preparing to unpack .../mariadb-client-10.0_10.0.24-7_amd64.deb ...
- Unpacking mariadb-client-10.0 (10.0.24-7) ...
- Selecting previously unselected package mariadb-server-core-10.0.
- Preparing to unpack .../mariadb-server-core-10.0_10.0.24-7_amd64.deb ...
- Unpacking mariadb-server-core-10.0 (10.0.24-7) ...
- Selecting previously unselected package psmisc.
- Preparing to unpack .../psmisc_22.21-2.1build1_amd64.deb ...
- Unpacking psmisc (22.21-2.1build1) ...
- Processing triggers for libc-bin (2.23-0ubuntu3) ...
- Setting up mysql-common (5.7.12-0ubuntu1) ...
- update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Setting up mariadb-common (10.0.24-7) ...
- 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.0.
- (Reading database ... 9432 files and directories currently installed.)
- Preparing to unpack .../mariadb-server-10.0_10.0.24-7_amd64.deb ...
- debconf: unable to initialize frontend: Dialog
- debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
- debconf: falling back to frontend: Readline
- Unpacking mariadb-server-10.0 (10.0.24-7) ...
- Selecting previously unselected package iproute2.
- Preparing to unpack .../iproute2_4.3.0-1ubuntu3_amd64.deb ...
- Unpacking iproute2 (4.3.0-1ubuntu3) ...
- Selecting previously unselected package ifupdown.
- Preparing to unpack .../ifupdown_0.8.10ubuntu1_amd64.deb ...
- Unpacking ifupdown (0.8.10ubuntu1) ...
- Selecting previously unselected package libisc-export160.
- Preparing to unpack .../libisc-export160_1%3a9.10.3.dfsg.P4-8ubuntu1_amd64.deb ...
- Unpacking libisc-export160 (1:9.10.3.dfsg.P4-8ubuntu1) ...
- Selecting previously unselected package libdns-export162.
- Preparing to unpack .../libdns-export162_1%3a9.10.3.dfsg.P4-8ubuntu1_amd64.deb ...
- Unpacking libdns-export162 (1:9.10.3.dfsg.P4-8ubuntu1) ...
- Selecting previously unselected package isc-dhcp-client.
- Preparing to unpack .../isc-dhcp-client_4.3.3-5ubuntu12_amd64.deb ...
- Unpacking isc-dhcp-client (4.3.3-5ubuntu12) ...
- Selecting previously unselected package isc-dhcp-common.
- Preparing to unpack .../isc-dhcp-common_4.3.3-5ubuntu12_amd64.deb ...
- Unpacking isc-dhcp-common (4.3.3-5ubuntu12) ...
- Selecting previously unselected package libxtables11:amd64.
- Preparing to unpack .../libxtables11_1.6.0-2ubuntu3_amd64.deb ...
- Unpacking libxtables11:amd64 (1.6.0-2ubuntu3) ...
- Selecting previously unselected package netbase.
- Preparing to unpack .../archives/netbase_5.3_all.deb ...
- Unpacking netbase (5.3) ...
- Selecting previously unselected package libhtml-tagset-perl.
- Preparing to unpack .../libhtml-tagset-perl_3.20-2_all.deb ...
- Unpacking libhtml-tagset-perl (3.20-2) ...
- Selecting previously unselected package liburi-perl.
- Preparing to unpack .../liburi-perl_1.71-1_all.deb ...
- Unpacking liburi-perl (1.71-1) ...
- Selecting previously unselected package libhtml-parser-perl.
- Preparing to unpack .../libhtml-parser-perl_3.72-1_amd64.deb ...
- Unpacking libhtml-parser-perl (3.72-1) ...
- Selecting previously unselected package libcgi-pm-perl.
- Preparing to unpack .../libcgi-pm-perl_4.26-1_all.deb ...
- Unpacking libcgi-pm-perl (4.26-1) ...
- Selecting previously unselected package libfcgi-perl.
- Preparing to unpack .../libfcgi-perl_0.77-1build1_amd64.deb ...
- Unpacking libfcgi-perl (0.77-1build1) ...
- Selecting previously unselected package libcgi-fast-perl.
- Preparing to unpack .../libcgi-fast-perl_1%3a2.10-1_all.deb ...
- Unpacking libcgi-fast-perl (1:2.10-1) ...
- Selecting previously unselected package libencode-locale-perl.
- Preparing to unpack .../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 .../libhtml-template-perl_2.95-2_all.deb ...
- Unpacking libhtml-template-perl (2.95-2) ...
- Selecting previously unselected package libtimedate-perl.
- Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ...
- Unpacking libtimedate-perl (2.3000-2) ...
- Selecting previously unselected package libhttp-date-perl.
- Preparing to unpack .../libhttp-date-perl_6.02-1_all.deb ...
- Unpacking libhttp-date-perl (6.02-1) ...
- Selecting previously unselected package libio-html-perl.
- Preparing to unpack .../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 .../liblwp-mediatypes-perl_6.02-1_all.deb ...
- Unpacking liblwp-mediatypes-perl (6.02-1) ...
- Selecting previously unselected package libhttp-message-perl.
- Preparing to unpack .../libhttp-message-perl_6.11-1_all.deb ...
- Unpacking libhttp-message-perl (6.11-1) ...
- Selecting previously unselected package mariadb-client.
- Preparing to unpack .../mariadb-client_10.0.24-7_all.deb ...
- Unpacking mariadb-client (10.0.24-7) ...
- Selecting previously unselected package mariadb-server.
- Preparing to unpack .../mariadb-server_10.0.24-7_all.deb ...
- Unpacking mariadb-server (10.0.24-7) ...
- Selecting previously unselected package rename.
- Preparing to unpack .../archives/rename_0.20-4_all.deb ...
- Unpacking rename (0.20-4) ...
- Processing triggers for systemd (229-4ubuntu4) ...
- Processing triggers for libc-bin (2.23-0ubuntu3) ...
- Setting up libatm1:amd64 (1:2.5.1-1.5) ...
- Setting up libmnl0:amd64 (1.0.3-5) ...
- Setting up libgdbm3:amd64 (1.8.3-13.1) ...
- Setting up perl-modules-5.22 (5.22.1-9) ...
- Setting up libperl5.22:amd64 (5.22.1-9) ...
- Setting up perl (5.22.1-9) ...
- update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
- Setting up libdbi-perl (1.634-1build1) ...
- Setting up libmysqlclient20:amd64 (5.7.12-0ubuntu1) ...
- Setting up libdbd-mysql-perl (4.033-1build2) ...
- Setting up libterm-readkey-perl (2.33-1build1) ...
- Setting up libaio1:amd64 (0.3.110-2) ...
- Setting up libreadline5:amd64 (5.2+dfsg-3build1) ...
- Setting up mariadb-client-core-10.0 (10.0.24-7) ...
- Setting up mariadb-client-10.0 (10.0.24-7) ...
- Setting up mariadb-server-core-10.0 (10.0.24-7) ...
- Setting up psmisc (22.21-2.1build1) ...
- Setting up mariadb-server-10.0 (10.0.24-7) ...
- debconf: unable to initialize frontend: Dialog
- debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
- debconf: falling back to frontend: Readline
- invoke-rc.d: policy-rc.d denied execution of stop.
- invoke-rc.d: policy-rc.d denied execution of start.
- Setting up iproute2 (4.3.0-1ubuntu3) ...
- Setting up ifupdown (0.8.10ubuntu1) ...
- Creating /etc/network/interfaces.
- Setting up libisc-export160 (1:9.10.3.dfsg.P4-8ubuntu1) ...
- Setting up libdns-export162 (1:9.10.3.dfsg.P4-8ubuntu1) ...
- Setting up isc-dhcp-client (4.3.3-5ubuntu12) ...
- Setting up isc-dhcp-common (4.3.3-5ubuntu12) ...
- Setting up libxtables11:amd64 (1.6.0-2ubuntu3) ...
- Setting up netbase (5.3) ...
- Setting up libhtml-tagset-perl (3.20-2) ...
- Setting up liburi-perl (1.71-1) ...
- Setting up libhtml-parser-perl (3.72-1) ...
- Setting up libcgi-pm-perl (4.26-1) ...
- Setting up libfcgi-perl (0.77-1build1) ...
- Setting up libcgi-fast-perl (1:2.10-1) ...
- Setting up libencode-locale-perl (1.05-1) ...
- Setting up libhtml-template-perl (2.95-2) ...
- Setting up libtimedate-perl (2.3000-2) ...
- Setting up libhttp-date-perl (6.02-1) ...
- Setting up libio-html-perl (1.001-1) ...
- Setting up liblwp-mediatypes-perl (6.02-1) ...
- Setting up libhttp-message-perl (6.11-1) ...
- Setting up mariadb-client (10.0.24-7) ...
- Setting up mariadb-server (10.0.24-7) ...
- Setting up rename (0.20-4) ...
- update-alternatives: using /usr/bin/file-rename to provide /usr/bin/rename (rename) in auto mode
- Processing triggers for libc-bin (2.23-0ubuntu3) ...
- Processing triggers for systemd (229-4ubuntu4) ...
- # ps axf
- PID TTY STAT TIME COMMAND
- 1 ? Ss 0:00 /bin/sh
- 861 ? R+ 0:00 ps axf
- # ls /etc/init.d
- README checkroot-bootclean.sh hostname.sh mountall-bootclean.sh mountkernfs.sh mysql procps rcS single umountnfs.sh
- bootmisc.sh checkroot.sh hwclock.sh mountall.sh mountnfs-bootclean.sh networking rc reboot skeleton umountroot
- checkfs.sh halt killprocs mountdevsubfs.sh mountnfs.sh ondemand rc.local sendsigs umountfs urandom
- # /etc/init.d/mysql start
- * Starting MariaDB database server mysqld [ OK ]
- # mysql -u root -p
- Enter password:
- Welcome to the MariaDB monitor. Commands end with ; or \g.
- Your MariaDB connection id is 42
- Server version: 10.0.24-MariaDB-7 Ubuntu 16.04
- Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- MariaDB [(none)]> \q
- Bye
- # mysql -u root
- Welcome to the MariaDB monitor. Commands end with ; or \g.
- Your MariaDB connection id is 43
- Server version: 10.0.24-MariaDB-7 Ubuntu 16.04
- Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- MariaDB [(none)]> show process status;
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'process status' at line 1
- MariaDB [(none)]> show processlist;
- +----+------+-----------+------+---------+------+-------+------------------+----------+
- | Id | User | Host | db | Command | Time | State | Info | Progress |
- +----+------+-----------+------+---------+------+-------+------------------+----------+
- | 43 | root | localhost | NULL | Query | 0 | init | show processlist | 0.000 |
- +----+------+-----------+------+---------+------+-------+------------------+----------+
- 1 row in set (0.00 sec)
- MariaDB [(none)]> \q
- Bye
- # ps axf
- PID TTY STAT TIME COMMAND
- 1 ? Ss 0:00 /bin/sh
- 896 ? S 0:00 /bin/bash /usr/bin/mysqld_safe
- 1041 ? Sl 0:00 \_ /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --skip-log-error --pi
- 1042 ? S 0:00 \_ logger -t mysqld -p daemon error
- 897 ? S 0:00 logger -p daemon err -t /etc/init.d/mysql -i
- 1158 ? R+ 0:00 ps axf
- #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement