Ubuntu下安装Percona xtrabackup

来源:互联网 发布:java代码 编辑:程序博客网 时间:2024/06/16 14:45

官方文档介绍:Percona xtrabackup

根据介绍选择方法按安装,我在安装过程中,总是遇到依赖包缺失的问题。这时候依次执行如下命令:

sudo apt-get update(更新源)sudo apt-get -f installsudo apt-get install apt-fileapt-file update

然后再执行安装Percona xtrabackup的代码,如果还有依赖包的问题,根据依赖包提示,访问站点手动更新:Ubuntu dbkg

通过以上方法,在安装的过程中,解决了若干包依赖的问题,最后还有一个libstdc++-4.9-dev这个包死活安装不上,最后找到这个解决的方法,成功安装了:gcc/g++ 4.9 on Ubuntu

安装完后,重新执行Percona xtrabackup的安装的代码,提示安装成功。

虽然安装成功了,但是在运行时,却提示了:libgpg-error依赖问题;
该文件的下载:libgpg-error
编译和安装的方法:libgpg-error源文件编译安装方法
Install libgpg-error by running the following commands:

./configure --prefix=/usr &&make

To test the results, issue: make check.

Now, as the root user:

make install &&install -v -m644 -D README /usr/share/doc/libgpg-error-1.21/README
0 0
原创粉丝点击