Changes between Initial Version and Version 1 of ganglia


Ignore:
Timestamp:
08/23/2012 05:48:57 PM (14 years ago)
Author:
liaojiaohe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ganglia

    v1 v1  
     1ganglia是用来监控hadoop和Hbase运行集群的一个开源工具,在实验环境安装测试一下 
     2可以收集OS层面,JAVA层面,TASK,JOB 以致到RPC层面的信息,可以利用rrdtools工具出图 
     3 
     4 
     5先安装一些依赖库,反正缺什么就装什么,因为测试的机不能直接上网,需要先下载最新的安装包 
     6== 安装apr以及apr-util == 
     7 
     8tar zxvf  apr-1.4.6.tar.gz 
     9cd apr-1.4.6 
     10./configure  
     11make 
     12make install 
     13 
     14tar zxvf apr-util-1.4.1.tar.gz 
     15cd apr-util-1.4.1 
     16./configure --with-apr=/usr/local/apr  
     17make 
     18make install 
     19 
     20同样64位机器需要拷贝动态链接库 
     21/bin/cp -f /usr/local/apr/include/apr-1/* /usr/local/apr/include/ 
     22mkdir -p /usr/local/apr/lib64 
     23/bin/cp -a -f /usr/local/apr/lib/* /usr/local/apr/lib64/ 
     24 
     25 
     26== 安装confuse == 
     27 
     28tar zxvf confuse-2.7.tar.gz 
     29cd confuse-2.7 
     30./configure CFLAGS=-fPIC --disable-nls  
     31make 
     32make install 
     33 
     34 
     35== 安装pcre == 
     36 
     37tar zxvf  pcre-8.31.tar.gz 
     38cd pcre-8.31 
     39./configure  
     40make  
     41make install 
     42 
     43== 安装ganglia == 
     44 
     45tar zxvf  ganglia-3.4.0 .tar.gz 
     46cd ganglia-3.4.0  
     47./configure --with-libapr=/usr/local/apr 
     48make  
     49make install