Toolkit安装

发布时间:2020-08-09 02:16:41 作者:orclwujian
来源:ITPUB博客 阅读:154
toolkit安装
toolkit软件包下载
wget percona.com/get/percona-toolkit.tar.gz
wget percona.com/get/percona-toolkit.rpm
软件包安装(centos6.7)
[root@trcloud-wujian-test01 toolkit]# rpm -ivh percona-toolkit.rpm 
warning: percona-toolkit.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
error: Failed dependencies:
        perl(DBI) >= 1.13 is needed by percona-toolkit-2.2.16-1.noarch
        perl(DBD::mysql) >= 1.0 is needed by percona-toolkit-2.2.16-1.noarch
        perl(Time::HiRes) is needed by percona-toolkit-2.2.16-1.noarch
        perl(IO::Socket::SSL) is needed by percona-toolkit-2.2.16-1.noarch
        perl(Term::ReadKey) is needed by percona-toolkit-2.2.16-1.noarch
缺少依赖包
[root@trcloud-wujian-test01 toolkit]# yum install perl-TremR
[root@trcloud-wujian-test01 toolkit]# yum install perl-DBI
[root@trcloud-wujian-test01 toolkit]# yum install perl-DBD-mysql
[root@trcloud-wujian-test01 toolkit]# yum install perl-Time-HiRes
[root@trcloud-wujian-test01 toolkit]# yum install perl-IO-Socket-SSL
[root@trcloud-wujian-test01 toolkit]# yum install perl-TermReadKey
[root@trcloud-wujian-test01 toolkit]# rpm -ivh percona-toolkit.rpm 
warning: percona-toolkit.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Preparing...                ########################################### [100%]
   1:percona-toolkit        ########################################### [100%]
[root@trcloud-wujian-test01 toolkit]# tar -xf percona-toolkit.tar.gz
[root@trcloud-wujian-test01 toolkit]# cd percona-toolkit-2.2.16/
[root@trcloud-wujian-test01 percona-toolkit-2.2.16]# perl Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
报错,还是因为缺少相关包
[root@trcloud-wujian-test01 percona-toolkit-2.2.16]# yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
....
[root@trcloud-wujian-test01 percona-toolkit-2.2.16]# perl Makefile.PL
....
[root@trcloud-wujian-test01 percona-toolkit-2.2.16]# make 
....
[root@trcloud-wujian-test01 percona-toolkit-2.2.16]# make install 
....

推荐阅读:
  1. percona-toolkit 使用汇总
  2. percona toolkit工具的使用

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

toolkit 安装 ol

上一篇:Python学习教程:Numpy系列,创建数组的三大绝招

下一篇:PostgreSQL DBA(62) - PG 12 More progress reporting

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》