问题集

Posted zunchang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了问题集相关的知识,希望对你有一定的参考价值。

toolkit安装
toolkit软件包下载
wget percona.com/get/percona-toolkit.tar.gz
wget percona.com/get/percona-toolkit.rpm
软件包安装(centos6.7)
[[email protected] 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
缺少依赖包
[[email protected] toolkit]# yum install perl-TremR
[[email protected] toolkit]# yum install perl-DBI
[[email protected] toolkit]# yum install perl-DBD-mysql
[[email protected] toolkit]# yum install perl-Time-HiRes
[[email protected] toolkit]# yum install perl-IO-Socket-SSL
[[email protected] toolkit]# yum install perl-TermReadKey
[[email protected] 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%]
[[email protected] toolkit]# tar -xf percona-toolkit.tar.gz
[[email protected] toolkit]# cd percona-toolkit-2.2.16/
[[email protected] 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.
报错,还是因为缺少相关包
[[email protected] percona-toolkit-2.2.16]# yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
....
[[email protected] percona-toolkit-2.2.16]# perl Makefile.PL
....
[[email protected] percona-toolkit-2.2.16]# make 
....
[[email protected] percona-toolkit-2.2.16]# make install 
....

 

转:http://blog.itpub.net/29989552/viewspace-2020786/






































以上是关于问题集的主要内容,如果未能解决你的问题,请参考以下文章

如何将数据集划分为训练集和测试集?

奇怪的问题:找不到 Bigquery 数据集

将 DAO 记录集转换为断开连接的 ADO 记录集 dbDecimal 问题

半数集问题

最大加权独立集问题

运筹优化问题数据集整理