• ubuntu mariadb installation


    sudo apt-get install mariadb-server
    [sudo] password for wadmin:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following additional packages will be installed:
      galera-3 gawk libaio1 libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libhtml-template-perl libjemalloc2 libmysqlclient20 libreadline5 libterm-readkey-perl
      mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1 mysql-common socat
    Suggested packages:
      gawk-doc libmldbm-perl libnet-daemon-perl libsql-statement-perl libipc-sharedcache-perl mailx tinyca
    The following NEW packages will be installed:
      galera-3 gawk libaio1 libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libhtml-template-perl libjemalloc2 libmysqlclient20 libreadline5 libterm-readkey-perl
      mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1 mysql-common socat
    0 upgraded, 19 newly installed, 0 to remove and 193 not upgraded.
    Need to get 24.1 MB of archives.
    After this operation, 185 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://cn.archive.ubuntu.com/ubuntu cosmic/main amd64 gawk amd64 1:4.1.4+dfsg-1build1 [401 kB]
    Get:2 http://cn.archive.ubuntu.com/ubuntu cosmic/main amd64 mysql-common all 5.8+1.0.4 [7,308 B]
    Get:3 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 mariadb-common all 1:10.1.29-6ubuntu2 [15.2 kB]
    Get:4 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 galera-3 amd64 25.3.23-1ubuntu1 [907 kB]
    Get:5 http://cn.archive.ubuntu.com/ubuntu cosmic/main amd64 libdbi-perl amd64 1.641-1 [724 kB]                                                                         
    Get:6 http://cn.archive.ubuntu.com/ubuntu cosmic/main amd64 libaio1 amd64 0.3.111-1 [7,224 B]                                                                          
    Get:7 http://cn.archive.ubuntu.com/ubuntu cosmic/main amd64 libreadline5 amd64 5.2+dfsg-3build2 [101 kB]                                                               
    Get:8 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 mariadb-client-core-10.1 amd64 1:10.1.29-6ubuntu2 [4,733 kB]                                           
    Get:9 http://cn.archive.ubuntu.com/ubuntu cosmic/main amd64 libconfig-inifiles-perl all 2.98-1 [40.9 kB]                                                               
    Get:10 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 libjemalloc2 amd64 5.1.0-1 [201 kB]                                                                   
    Get:11 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 mariadb-client-10.1 amd64 1:10.1.29-6ubuntu2 [5,636 kB]                                               
    Get:12 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 mariadb-server-core-10.1 amd64 1:10.1.29-6ubuntu2 [4,926 kB]                                          
    Get:13 http://cn.archive.ubuntu.com/ubuntu cosmic/main amd64 socat amd64 1.7.3.2-2ubuntu2 [342 kB]                                                                     
    Get:14 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 mariadb-server-10.1 amd64 1:10.1.29-6ubuntu2 [5,090 kB]                                               
    Get:15 http://cn.archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libmysqlclient20 amd64 5.7.25-0ubuntu0.18.10.2 [809 kB]                                           
    Get:16 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 libdbd-mysql-perl amd64 4.046-1 [82.0 kB]                                                             
    Get:17 http://cn.archive.ubuntu.com/ubuntu cosmic/main amd64 libhtml-template-perl all 2.97-1 [59.0 kB]                                                                
    Get:18 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 libterm-readkey-perl amd64 2.37-1build1 [24.4 kB]                                                     
    Get:19 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 mariadb-server all 1:10.1.29-6ubuntu2 [12.9 kB]                                                       
    Fetched 24.1 MB in 1min 57s (207 kB/s)                                                                                                                                 
    Preconfiguring packages ...
    Selecting previously unselected package gawk.
    (Reading database ... 203753 files and directories currently installed.)
    Preparing to unpack .../00-gawk_1%3a4.1.4+dfsg-1build1_amd64.deb ...
    Unpacking gawk (1:4.1.4+dfsg-1build1) ...
    Selecting previously unselected package mysql-common.
    Preparing to unpack .../01-mysql-common_5.8+1.0.4_all.deb ...
    Unpacking mysql-common (5.8+1.0.4) ...
    Selecting previously unselected package mariadb-common.
    Preparing to unpack .../02-mariadb-common_1%3a10.1.29-6ubuntu2_all.deb ...
    Unpacking mariadb-common (1:10.1.29-6ubuntu2) ...
    Selecting previously unselected package galera-3.
    Preparing to unpack .../03-galera-3_25.3.23-1ubuntu1_amd64.deb ...
    Unpacking galera-3 (25.3.23-1ubuntu1) ...
    Selecting previously unselected package libdbi-perl:amd64.
    Preparing to unpack .../04-libdbi-perl_1.641-1_amd64.deb ...
    Unpacking libdbi-perl:amd64 (1.641-1) ...
    Selecting previously unselected package libaio1:amd64.
    Preparing to unpack .../05-libaio1_0.3.111-1_amd64.deb ...
    Unpacking libaio1:amd64 (0.3.111-1) ...
    Selecting previously unselected package libreadline5:amd64.
    Preparing to unpack .../06-libreadline5_5.2+dfsg-3build2_amd64.deb ...
    Unpacking libreadline5:amd64 (5.2+dfsg-3build2) ...
    Selecting previously unselected package mariadb-client-core-10.1.
    Preparing to unpack .../07-mariadb-client-core-10.1_1%3a10.1.29-6ubuntu2_amd64.deb ...
    Unpacking mariadb-client-core-10.1 (1:10.1.29-6ubuntu2) ...
    Selecting previously unselected package libconfig-inifiles-perl.
    Preparing to unpack .../08-libconfig-inifiles-perl_2.98-1_all.deb ...
    Unpacking libconfig-inifiles-perl (2.98-1) ...
    Selecting previously unselected package libjemalloc2:amd64.
    Preparing to unpack .../09-libjemalloc2_5.1.0-1_amd64.deb ...
    Unpacking libjemalloc2:amd64 (5.1.0-1) ...
    Selecting previously unselected package mariadb-client-10.1.
    Preparing to unpack .../10-mariadb-client-10.1_1%3a10.1.29-6ubuntu2_amd64.deb ...
    Unpacking mariadb-client-10.1 (1:10.1.29-6ubuntu2) ...
    Selecting previously unselected package mariadb-server-core-10.1.
    Preparing to unpack .../11-mariadb-server-core-10.1_1%3a10.1.29-6ubuntu2_amd64.deb ...
    Unpacking mariadb-server-core-10.1 (1:10.1.29-6ubuntu2) ...
    Selecting previously unselected package socat.
    Preparing to unpack .../12-socat_1.7.3.2-2ubuntu2_amd64.deb ...
    Unpacking socat (1.7.3.2-2ubuntu2) ...
    Setting up mysql-common (5.8+1.0.4) ...
    update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
    Setting up mariadb-common (1:10.1.29-6ubuntu2) ...
    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.1.
    (Reading database ... 204290 files and directories currently installed.)
    Preparing to unpack .../0-mariadb-server-10.1_1%3a10.1.29-6ubuntu2_amd64.deb ...
    Unpacking mariadb-server-10.1 (1:10.1.29-6ubuntu2) ...
    Selecting previously unselected package libmysqlclient20:amd64.
    Preparing to unpack .../1-libmysqlclient20_5.7.25-0ubuntu0.18.10.2_amd64.deb ...
    Unpacking libmysqlclient20:amd64 (5.7.25-0ubuntu0.18.10.2) ...
    Selecting previously unselected package libdbd-mysql-perl.
    Preparing to unpack .../2-libdbd-mysql-perl_4.046-1_amd64.deb ...
    Unpacking libdbd-mysql-perl (4.046-1) ...
    Selecting previously unselected package libhtml-template-perl.
    Preparing to unpack .../3-libhtml-template-perl_2.97-1_all.deb ...
    Unpacking libhtml-template-perl (2.97-1) ...
    Selecting previously unselected package libterm-readkey-perl.
    Preparing to unpack .../4-libterm-readkey-perl_2.37-1build1_amd64.deb ...
    Unpacking libterm-readkey-perl (2.37-1build1) ...
    Selecting previously unselected package mariadb-server.
    Preparing to unpack .../5-mariadb-server_1%3a10.1.29-6ubuntu2_all.deb ...
    Unpacking mariadb-server (1:10.1.29-6ubuntu2) ...
    Setting up libjemalloc2:amd64 (5.1.0-1) ...
    Setting up libconfig-inifiles-perl (2.98-1) ...
    Setting up libhtml-template-perl (2.97-1) ...
    Setting up socat (1.7.3.2-2ubuntu2) ...
    Setting up gawk (1:4.1.4+dfsg-1build1) ...
    Setting up libterm-readkey-perl (2.37-1build1) ...
    Processing triggers for libc-bin (2.28-0ubuntu1) ...
    Setting up libaio1:amd64 (0.3.111-1) ...
    Setting up galera-3 (25.3.23-1ubuntu1) ...
    Processing triggers for systemd (239-7ubuntu10.12) ...
    Processing triggers for man-db (2.8.4-2) ...
    Setting up libmysqlclient20:amd64 (5.7.25-0ubuntu0.18.10.2) ...
    Setting up libreadline5:amd64 (5.2+dfsg-3build2) ...
    Setting up libdbi-perl:amd64 (1.641-1) ...
    Setting up mariadb-server-core-10.1 (1:10.1.29-6ubuntu2) ...
    Setting up mariadb-client-core-10.1 (1:10.1.29-6ubuntu2) ...
    Setting up libdbd-mysql-perl (4.046-1) ...
    Setting up mariadb-client-10.1 (1:10.1.29-6ubuntu2) ...
    Setting up mariadb-server-10.1 (1:10.1.29-6ubuntu2) ...
    Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
    Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
    Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
    Setting up mariadb-server (1:10.1.29-6ubuntu2) ...
    Processing triggers for libc-bin (2.28-0ubuntu1) ...
    Processing triggers for systemd (239-7ubuntu10.12) ...

  • 相关阅读:
    mysql 插入字段 字符串
    python---统计列表中数字出现的次数
    pycharm激活
    Jmeter遇到的坑
    通用接口测试用例设计【转】
    selenium系列------元素定位套路
    jmeter系列-------注意事项
    jmeter系列-------脚本编写格式
    jmeter系列------变量的提取
    jmeter系列------参数关联
  • 原文地址:https://www.cnblogs.com/shenggong/p/10682147.html
Copyright © 2020-2023  润新知