Percona XtraBackup 安装介绍篇(6)

percona-release_0.1-4.xenial_all.deb        100%[==================>]  6.24K  --.-KB/s    in 0s     

2017-02-28 11:57:53 (157 MB/s) - percona-release_0.1-4.xenial_all.deb saved [6394/6394]

2: 用dpkg安装下载的package包文件

 

mylnx02@mylnx02:~$ sudo dpkg -i percona-release_0.1-4.$(lsb_release -sc)_all.deb

Selecting previously unselected package percona-release.

(Reading database ... 76835 files and directories currently installed.)

Preparing to unpack percona-release_0.1-4.xenial_all.deb ...

Unpacking percona-release (0.1-4.xenial) ...

Setting up percona-release (0.1-4.xenial) ...

mylnx02@azrlnx02:~$

3: update the local cache

mylnx02@mylnx02:~$ sudo apt-get update

Hit:1 xenial InRelease

Get:2 xenial-updates InRelease [102 kB]

Get:3 xenial-backports InRelease [102 kB]

Hit:4 xenial InRelease             

Get:5 xenial-security InRelease [102 kB]   

Get:6 xenial InRelease [15.9 kB]                 

Get:7 xenial/main Sources [5,387 B]               

Get:8 xenial/main amd64 Packages [19.1 kB] 

Fetched 347 kB in 1s (212 kB/s)   

Reading package lists... Done

N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension

mylnx02@azrlnx02:~$

4:安装Percona XtraBackup包percona-xtrabackup-24

 

mylnx02@mylnx02:~$ sudo apt-get install percona-xtrabackup-24 Reading package lists... Done Building dependency tree      Reading state information... Done The following additional packages will be installed:   libdbd-mysql-perl libdbi-perl libev4 libmysqlclient20 Suggested packages:   libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl The following NEW packages will be installed:   libdbd-mysql-perl libdbi-perl libev4 libmysqlclient20 percona-xtrabackup-24 0 upgraded, 5 newly installed, 0 to remove and 72 not upgraded. Need to get 6,063 kB/7,699 kB of archives. After this operation, 39.0 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 xenial/universe amd64 libev4 amd64 1:4.22-1 [26.3 kB] Get:2 xenial/main amd64 percona-xtrabackup-24 amd64 2.4.6-1.xenial [6,037 kB] Fetched 6,063 kB in 3s (1,909 kB/s)                  N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension Selecting previously unselected package libdbi-perl. (Reading database ... 76841 files and directories currently installed.) 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.17-0ubuntu0.16.04.1_amd64.deb ... Unpacking libmysqlclient20:amd64 (5.7.17-0ubuntu0.16.04.1) ... Selecting previously unselected package libdbd-mysql-perl. Preparing to unpack .../libdbd-mysql-perl_4.033-1ubuntu0.1_amd64.deb ... Unpacking libdbd-mysql-perl (4.033-1ubuntu0.1) ... Selecting previously unselected package libev4. Preparing to unpack .../libev4_1%3a4.22-1_amd64.deb ... Unpacking libev4 (1:4.22-1) ... Selecting previously unselected package percona-xtrabackup-24. Preparing to unpack .../percona-xtrabackup-24_2.4.6-1.xenial_amd64.deb ... Unpacking percona-xtrabackup-24 (2.4.6-1.xenial) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for libc-bin (2.23-0ubuntu5) ... Setting up libdbi-perl (1.634-1build1) ... Setting up libmysqlclient20:amd64 (5.7.17-0ubuntu0.16.04.1) ... Setting up libdbd-mysql-perl (4.033-1ubuntu0.1) ... Setting up libev4 (1:4.22-1) ... Setting up percona-xtrabackup-24 (2.4.6-1.xenial) ... Processing triggers for libc-bin (2.23-0ubuntu5) ... N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension mylnx02@mylnx02:~$  innobackupex -v innobackupex version 2.4.6 Linux (x86_64) (revision id: 54967d1)

2:Installing Percona XtraBackup from Downloaded rpm or apt Packages

1:使用yum localinstall package 从本机目录安装软件包

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/539583ca2c052b81ea5c84e8420015e2.html