系统教程
您现在的位置是:首页>服务器系统>Ubuntu系统内容

Ubuntu下安装Percona xtrabackup

时间:2018-04-25 出处:未知复制分享人气(次) 【

官方文档介绍:Percona xtrabackup
 
根据介绍选择方法按安装,我在安装过程中,总是遇到依赖包缺失的问题。这时候依次执行如下命令:
sudo apt-get update(更新源)
sudo apt-get -f install
sudo apt-get install apt-file
apt-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
    最新资讯
    热门内容
    小米移动电源能为iPad mini充几次电