- 浏览: 912813 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
wangzhen199009:
good. Thx for your sharing.
REST和认证 HMAC -
jsshizhan:
你的这个SQL有问题的
数据库中如何使用SQL查询连续数字并且统计连续个数 -
maoghj:
dddddddddddddd
mysql 更改my.cnf 慢查询日志 -
zhoutong123a:
人的贪婪无止境,只能控制,不能满足
招人心得 -
xuerThinkVickie:
...
ZeroClipboard支持IE,firefox,Chrome复制到剪贴板
转自
http://blog.chinaunix.net/uid-24086995-id-3199333.html,非常感谢,另外所需安装都在附件里
http://www.linuxidc.com/Linux/2008-08/14678.htm
http://www.perlmonks.org/?node_id=128077
转自http://blog.chinaunix.net/uid-26446098-id-3410139.html
http://blog.chinaunix.net/uid-24086995-id-3199333.html,非常感谢,另外所需安装都在附件里
引用
#各种依赖包下载地址
http://www.cpan.org/modules/by-module
#一共要安装的依赖包:Time::HiRes,Term::ReadKey,DBI,DBD::mysql
#下载,解压缩
[bzuo@devdb7 ~]$ wget http://innotop.googlecode.com/files/innotop-1.8.0.tar.gz
[bzuo@devdb7 ~]$ tar zxvf innotop-1.8.0.tar.gz
#安装,报错
[bzuo@devdb7 innotop-1.8.0]$ 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.
#下载依赖包
[bzuo@devdb7 ~]$ wget http://files.directadmin.com/services/9.0/ExtUtils-MakeMaker-6.31.tar.gz
[bzuo@devdb7 ~]$ tar zxvf ExtUtils-MakeMaker-6.31.tar.gz
#安装依赖包报错
[bzuo@devdb7 ~]$ cd ExtUtils-MakeMaker-6.31
[bzuo@devdb7 ExtUtils-MakeMaker-6.31]$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Could not open '': No such file or directory at lib/ExtUtils/MM_Unix.pm line 2697.
#yum安装依赖包
[root@devdb7 ExtUtils-MakeMaker-6.31]# yum install perl-ExtUtils-MakeMaker
[root@devdb7 ExtUtils-MakeMaker-6.31]# perl Makefile.PL
Writing Makefile for ExtUtils::MakeMaker
#安装,提示报错
[root@devdb7 innotop-1.8.0]# perl Makefile.PL
Warning: prerequisite DBD::mysql 1 not found.
Warning: prerequisite DBI 1.13 not found.
Warning: prerequisite Term::ReadKey 2.1 not found.
Writing Makefile for innotop
#安装DBD,需要先安装DBI
[root@devdb7 bzuo]# wget http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.020.tar.gz
[root@devdb7 bzuo]# tar zxvf DBD-mysql-4.020.tar.gz
[root@devdb7 bzuo]# cd DBD-mysql-4.020
[root@devdb7 DBD-mysql-4.020]# perl Makefile.PL
Can't locate DBI/DBD.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 25.
#安装DBI,提示没有安装gcc,yum 安装gcc
[root@devdb7 bzuo]# wget http://www.cpan.org/modules/by-module/DBI/DBI-1.618.tar.gz
[root@devdb7 bzuo]# tar zxvf DBI-1.618.tar.gz
[root@devdb7 bzuo]# cd DBI-1.618
[root@devdb7 DBI-1.618]# perl Makefile.PL
[root@devdb7 DBI-1.618]# make
/bin/sh: gcc: command not found
make: *** [Perl.o] Error 127
[root@devdb7 DBI-1.618]# yum install gcc
[root@devdb7 DBI-1.618]# make && make install (正常了)
#在安装inotop,发现对DBI的提示没有了
[root@devdb7 innotop-1.8.0]# perl Makefile.PL
Warning: prerequisite DBD::mysql 1 not found.
Warning: prerequisite Term::ReadKey 2.1 not found.
#再安装DBD,正常了,
[root@devdb7 DBD-mysql-4.020]# perl Makefile.PL
[root@devdb7 DBD-mysql-4.020]# make
[root@devdb7 DBD-mysql-4.020]# make install
#安装innotop只提示一个依赖包没有了
[root@devdb7 innotop-1.8.0]# perl Makefile.PL
Warning: prerequisite Term::ReadKey 2.1 not found.
Writing Makefile for innotop
#下载TermReadKey
[root@devdb7 bruce]# wget http://www.cpan.org/modules/by-module/Term/TermReadKey-2.30.tar.gz
[root@devdb7 bruce]# tar zxvf TermReadKey-2.30.tar.gz
[root@devdb7 bruce]# cd TermReadKey-2.30
[root@devdb7 TermReadKey-2.30]# perl Makefile.PL
[root@devdb7 TermReadKey-2.30]# make && make install
#再来运行makefile.pl,就没报错了
[root@devdb7 innotop-1.8.0]# perl Makefile.PL
Writing Makefile for innotop
[root@devdb7 innotop-1.8.0]# make && make install
#运行innotop 提示缺少HiRes
[root@devdb7 innotop-1.8.0]# innotop --help
Can't locate Time/HiRes.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 /usr/local/bin/innotop line 1354.
BEGIN failed--compilation aborted at /usr/local/bin/innotop line 1354.
#安装Time-HiRes
[root@devdb7 bruce]# wget http://www.cpan.org/modules/by-module/Time/Time-HiRes-1.9725.tar.gz
[root@devdb7 bruce]# tar zxvf Time-HiRes-1.9725.tar.gz
[root@devdb7 bruce]# cd Time-HiRes-1.9725
[root@devdb7 Time-HiRes-1.9725]# perl Makefile.PL
[root@devdb7 Time-HiRes-1.9725]# make && make install
#到此安装完成
[root@devdb7 Time-HiRes-1.9725]# innotop --help
Usage: innotop <options> <innodb-status-file>
--[no]color -C Use terminal coloring (default)
--config -c Config file to read
--count Number of updates before exiting
--delay -d Delay between updates in seconds
--help Show this help message
--host -h Connect to host
--[no]inc -i Measure incremental differences
--mode -m Operating mode to start in
#运行报错
[root@devdb7 Time-HiRes-1.9725]# innotop -uroot -pondemand -hlocalhost
/usr/bin/perl: symbol lookup error: /usr/local/lib64/perl5/auto/DBD/mysql/mysql.so: undefined symbol: mysql_init
#解决办法
mkdir /tmp/mysql-static
cp /usr/lib64/mysql/*.a /tmp/mysql-static
perl Makefile.PL --libs="-L/tmp/mysql-static -lmysqlclient"
make
make test
make install
rm -rf /tmp/mysql-static
#至此,运行正常了
[root@devdb7 DBD-mysql-4.020]# innotop
[RO] Query List (? for help) localhost, 00:00, 0 QPS, 0/0/0 con/run/cac thds, !localhost
When Load QPS Slow Se/In/Up/De% QCacheHit KCacheHit BpsIn BpsOut
Total 0/ 0/ 0/ 0 0.00% 0.00%
localhost: Access denied for user 'root'@'localhost
http://www.cpan.org/modules/by-module
#一共要安装的依赖包:Time::HiRes,Term::ReadKey,DBI,DBD::mysql
#下载,解压缩
[bzuo@devdb7 ~]$ wget http://innotop.googlecode.com/files/innotop-1.8.0.tar.gz
[bzuo@devdb7 ~]$ tar zxvf innotop-1.8.0.tar.gz
#安装,报错
[bzuo@devdb7 innotop-1.8.0]$ 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.
#下载依赖包
[bzuo@devdb7 ~]$ wget http://files.directadmin.com/services/9.0/ExtUtils-MakeMaker-6.31.tar.gz
[bzuo@devdb7 ~]$ tar zxvf ExtUtils-MakeMaker-6.31.tar.gz
#安装依赖包报错
[bzuo@devdb7 ~]$ cd ExtUtils-MakeMaker-6.31
[bzuo@devdb7 ExtUtils-MakeMaker-6.31]$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Could not open '': No such file or directory at lib/ExtUtils/MM_Unix.pm line 2697.
#yum安装依赖包
[root@devdb7 ExtUtils-MakeMaker-6.31]# yum install perl-ExtUtils-MakeMaker
[root@devdb7 ExtUtils-MakeMaker-6.31]# perl Makefile.PL
Writing Makefile for ExtUtils::MakeMaker
#安装,提示报错
[root@devdb7 innotop-1.8.0]# perl Makefile.PL
Warning: prerequisite DBD::mysql 1 not found.
Warning: prerequisite DBI 1.13 not found.
Warning: prerequisite Term::ReadKey 2.1 not found.
Writing Makefile for innotop
#安装DBD,需要先安装DBI
[root@devdb7 bzuo]# wget http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.020.tar.gz
[root@devdb7 bzuo]# tar zxvf DBD-mysql-4.020.tar.gz
[root@devdb7 bzuo]# cd DBD-mysql-4.020
[root@devdb7 DBD-mysql-4.020]# perl Makefile.PL
Can't locate DBI/DBD.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 25.
#安装DBI,提示没有安装gcc,yum 安装gcc
[root@devdb7 bzuo]# wget http://www.cpan.org/modules/by-module/DBI/DBI-1.618.tar.gz
[root@devdb7 bzuo]# tar zxvf DBI-1.618.tar.gz
[root@devdb7 bzuo]# cd DBI-1.618
[root@devdb7 DBI-1.618]# perl Makefile.PL
[root@devdb7 DBI-1.618]# make
/bin/sh: gcc: command not found
make: *** [Perl.o] Error 127
[root@devdb7 DBI-1.618]# yum install gcc
[root@devdb7 DBI-1.618]# make && make install (正常了)
#在安装inotop,发现对DBI的提示没有了
[root@devdb7 innotop-1.8.0]# perl Makefile.PL
Warning: prerequisite DBD::mysql 1 not found.
Warning: prerequisite Term::ReadKey 2.1 not found.
#再安装DBD,正常了,
[root@devdb7 DBD-mysql-4.020]# perl Makefile.PL
[root@devdb7 DBD-mysql-4.020]# make
[root@devdb7 DBD-mysql-4.020]# make install
#安装innotop只提示一个依赖包没有了
[root@devdb7 innotop-1.8.0]# perl Makefile.PL
Warning: prerequisite Term::ReadKey 2.1 not found.
Writing Makefile for innotop
#下载TermReadKey
[root@devdb7 bruce]# wget http://www.cpan.org/modules/by-module/Term/TermReadKey-2.30.tar.gz
[root@devdb7 bruce]# tar zxvf TermReadKey-2.30.tar.gz
[root@devdb7 bruce]# cd TermReadKey-2.30
[root@devdb7 TermReadKey-2.30]# perl Makefile.PL
[root@devdb7 TermReadKey-2.30]# make && make install
#再来运行makefile.pl,就没报错了
[root@devdb7 innotop-1.8.0]# perl Makefile.PL
Writing Makefile for innotop
[root@devdb7 innotop-1.8.0]# make && make install
#运行innotop 提示缺少HiRes
[root@devdb7 innotop-1.8.0]# innotop --help
Can't locate Time/HiRes.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 /usr/local/bin/innotop line 1354.
BEGIN failed--compilation aborted at /usr/local/bin/innotop line 1354.
#安装Time-HiRes
[root@devdb7 bruce]# wget http://www.cpan.org/modules/by-module/Time/Time-HiRes-1.9725.tar.gz
[root@devdb7 bruce]# tar zxvf Time-HiRes-1.9725.tar.gz
[root@devdb7 bruce]# cd Time-HiRes-1.9725
[root@devdb7 Time-HiRes-1.9725]# perl Makefile.PL
[root@devdb7 Time-HiRes-1.9725]# make && make install
#到此安装完成
[root@devdb7 Time-HiRes-1.9725]# innotop --help
Usage: innotop <options> <innodb-status-file>
--[no]color -C Use terminal coloring (default)
--config -c Config file to read
--count Number of updates before exiting
--delay -d Delay between updates in seconds
--help Show this help message
--host -h Connect to host
--[no]inc -i Measure incremental differences
--mode -m Operating mode to start in
#运行报错
[root@devdb7 Time-HiRes-1.9725]# innotop -uroot -pondemand -hlocalhost
/usr/bin/perl: symbol lookup error: /usr/local/lib64/perl5/auto/DBD/mysql/mysql.so: undefined symbol: mysql_init
#解决办法
mkdir /tmp/mysql-static
cp /usr/lib64/mysql/*.a /tmp/mysql-static
perl Makefile.PL --libs="-L/tmp/mysql-static -lmysqlclient"
make
make test
make install
rm -rf /tmp/mysql-static
#至此,运行正常了
[root@devdb7 DBD-mysql-4.020]# innotop
[RO] Query List (? for help) localhost, 00:00, 0 QPS, 0/0/0 con/run/cac thds, !localhost
When Load QPS Slow Se/In/Up/De% QCacheHit KCacheHit BpsIn BpsOut
Total 0/ 0/ 0/ 0 0.00% 0.00%
localhost: Access denied for user 'root'@'localhost
http://www.linuxidc.com/Linux/2008-08/14678.htm
http://www.perlmonks.org/?node_id=128077
转自http://blog.chinaunix.net/uid-26446098-id-3410139.html
- 安装innotop需要软件.zip (884.6 KB)
- 下载次数: 1
发表评论
-
Jemalloc优化MySQL和Nginx
2017-05-09 14:15 743原文地址:https://my.oschina.net/lj2 ... -
安装mysql出现的异常
2014-11-11 17:39 530报 This probably means that your ... -
土豆土豆土豆
2014-05-28 15:39 709blog.csdn.net/ylqmf/article/cat ... -
淘宝的数据拆分历程
2013-08-16 11:07 762摘自: http://blog.csdn.net/im ... -
MySQL的log-bin的日志功能
2013-07-25 18:35 891摘自:blog.163.com/lgh_2002/blog/s ... -
由浅入深理解索引的实现[InnoDB]
2013-07-22 18:58 817摘自 www.mysqlops.com/2011/11/24/ ... -
SQL去除重复删除重复数据
2013-07-19 17:54 738摘自: http://ourmysql.com/archive ... -
使用SHOW PROCESSLIST 分析数据库状态
2013-05-18 23:45 981引用mysql -e 'SHOW PROCEESLIST\G' ... -
单条查询问题还是服务器问题
2013-05-18 18:31 739使用SHOW GLOBAL STATUS 以较高的频率比如一秒 ... -
mysql分区管理 - hash分区
2013-05-15 13:31 1006blog.csdn.net/tenfyguo/article/ ... -
主从复制详解
2013-05-15 12:38 711引用laoxu.blog.51cto.com/4120547/ ... -
analyze 5-sec-status-2011-03-20
2013-05-13 21:41 671引用#!/bin/sh #this script conver ... -
mysql术语
2013-05-13 18:25 581dev.mysql.com/doc/refman/5.6/en ... -
MYSQL 三类表信息缓存
2013-05-13 18:23 1179引用MySQL中,有三类表信息缓存,分别为:1. Table ... -
乐观锁和悲观锁
2013-05-13 14:08 1011引用数据库中的加锁协议,分为乐观/悲观两类:乐观加锁,操作记录 ... -
mysql 数据收集shell脚本
2013-05-09 22:07 1147#!/bin/sh INTERVAL=5 PREFIX=$IN ... -
mysql视频
2013-05-07 14:30 830dl.vmall.com/c0qljbm4wi -
海量数据处理
2013-05-06 14:21 778http://blog.csdn.net/kesaihao86 ... -
mysqlhotcopy的使用和安装方法
2013-04-28 16:41 518使用mysqlhotcopy之前需要安装perl-DBI和DB ... -
更改文件权限
2013-04-28 16:22 801是chmod 660 r w x 4 2 1
相关推荐
如果您看到“Welcome to nginx”的页面,那么您已经成功安装了 Nginx 服务器。现在,您可以继续安装 Lemp Stack 或设置 FTP 服务器等。 小结 在本教程中,我们学习了如何在 CentOS 6 上使用 yum 安装 Nginx 服务器...
如何在CentOS 7上安装VNC服务器 一、引言 VNC(Virtual Network Computing)是一种用于远程访问和控制桌面环境的图形化系统。它允许用户通过客户端软件(如VNC Viewer)来连接并控制远程计算机上的桌面环境。本文将...
Install Cobbler on CentOS 7 Install Cobbler on CentOS 7 Install Cobbler on CentOS 7 Install Cobbler on CentOS 7
1. Centos8.2启动盘制作;2. Centos8.2系统安装;3. Centos8.2系统环境设置;4. MS2019环境设置;5. 普通用户安装
This is one of the first, if not the first comprehensive guide to the CentOS Linux operating system.First find out how to install and configure CentOS. From there, you’ll cover a wealth of Linux and ...
1,将下载的镜像文件放到./usr/local 2,创建目录/data/mysql #mkdir -p /data/mysql 3,修改脚本内容,将“MYSQL='mysql-5.7.35-linux-glibc2.12-x86_64.tar.gz'” 改成对应的镜像名 4,sudo ln -s /usr/lib64/...
在搭建Zacros环境和安装过程中,首先需要确认操作系统版本,这里使用的是CentOS Linux release 8.2.2004 (Core),属于CentOS 8系列。CentOS是Red Hat Enterprise Linux(RHEL)的免费替代版本,它是由社区驱动的,...
how to install kaltura in centos
另外,`how to install.txt`文件可能包含了更详细的安装指南,建议你阅读这个文件以获取更具体的步骤或特殊要求。 了解和使用UUID对于Linux系统管理员来说至关重要,因为许多自动化脚本和配置文件都会用到UUID来...
You will learn how to install CentOS, and manage basic administration. You’ll then move onto understanding networking, and how to set up your required services. Each chapter is written in an easy-to...
install ntop-ng 5.4 on centos 7.5 step by step: 1. tar -xf ntop-ng5.4-centos7.tar 2. cd ng 3. yum install *.rpm 4. service redis start 5. ntopng -i interface-name -w 3000 5. open admin web in chrome ...
how to install OpenStack by using packages available through Fedora 20 as well as on Red Hat Enterprise Linux and its derivatives through the EPEL repository. Explanations of configuration options and...
1. TXT文档安装可直接拷贝 2. word文档供查看 3. 含打补丁步骤
【标题】"Install_Oracle9204_on_CentOS4.2" 指的是在 CentOS 4.2 操作系统上安装 Oracle 9i Release 2 (9.2.0.4) 数据库的过程。Oracle 9i 是 Oracle 公司在 2001 年发布的数据库产品,它提供了数据存储、管理和...
CP2K is a quantum chemistry and solid state physics software package that can perform atomistic simulations of solid state, liquid, molecular, periodic, material, crystal, and biological systems.
What You Will Learn * See how to deploy CentOS easily and painlessly, even in multi-server environments * Configure various methods of remote access to the server so you don't always have to be in ...
安装的 Apache的 OpenMeetings 4.0.10在CentOS 7。Openmeetings提供视频会议,即时消息传递,白板,协作文档编辑和其他组件软件工具。它使用Media Server的API函数进行远程处理和流传输(Red5或Kurento)。