Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Toolkit installation

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Toolkit installation

Download toolkit software package

Wget percona.com/get/percona-toolkit.tar.gz

Wget percona.com/get/percona-toolkit.rpm

Package installation (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

Missing dependency package

[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.

Report an error, or because of the lack of related bags?

[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

....

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report