Toolkit安裝
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
....
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
....
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29989552/viewspace-2020786/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- FHE-Toolkit 安裝
- CUDA Toolkit的安裝(轉載)
- 安裝並使用percona-toolkit
- Percona-toolkit的安裝和配置
- percona-toolkit原始碼編譯安裝原始碼編譯
- 安裝percona-toolkit提示的報錯
- CUDA Toolkit常見安裝問題一覽
- percona-toolkit工具包的安裝和使用
- RTK(The Reconstruction ToolKit)在Windows系統下的安裝StructWindows
- vs2010 安裝 Ajax Control Toolkit
- 【PyTorch】n卡驅動、CUDA Toolkit、cuDNN全解安裝教程PyTorchDNN
- percona-toolkit安裝方法和主要工具用途彙總介紹
- 生成樹Toolkit
- 下載:MKS Toolkit,Windows上裝11i必備Windows
- codis安裝 (java 安裝 + zookeeper 安裝 + go 安裝 + codis 安裝JavaGo
- Silverlight Toolkit
- 安裝npm 解除安裝npm 安裝apidocNPMAPI
- mysql安裝 (yum 安裝)MySql
- MMM安裝、MHA安裝
- mysql安裝------RPM包安裝及解除安裝MySql
- oracle安裝:OUI安裝Oracle(圖形介面安裝)OracleUI
- 助力 .NET MAUI Community ToolkitUIUnity
- ffmpeg安裝之mac安裝Mac
- docker安裝及解除安裝Docker
- 02 安裝git、安裝TortoiseGitGit
- Ubuntu解除安裝和安裝Ubuntu
- Orace RAC安裝-DNS安裝DNS
- caffe安裝系列——安裝OpenCVOpenCV
- SPARK 安裝之scala 安裝Spark
- mac 安裝opencv homebrew安裝MacOpenCV
- Oracle 安裝與解除安裝Oracle
- solaris mysql 安裝 解除安裝MySql
- BiocManager安裝,devtools安裝dev
- JDK安裝和解除安裝JDK
- 安裝HomeBrew提示已安裝並無法解除安裝
- SQL Server 2012 安裝——安裝 OR 解除安裝SQLServer
- win10安裝版怎麼安裝_安裝版win10安裝教程Win10
- mysql安裝-----二進位制包安裝及解除安裝MySql