系统CentOS6.2 x86_64

1.yum安装gcc,flex,m4,python/python-devel,ruby,libevent/libevent-devel,openssl/openssl-devel,bzip2/bzip2-devel,zlib/zlib-devel,bison,autoconf,automake,libtool

2.编译安装boost

2.1 wget http://nchc.dl.sourceforge.net/project/boost/boost/1.45.0/boost_1_45_0.tar.gz
2.2 tar zxvf boost_1_45_0.tar.gz -C /usr/local/
2.3 ./bootstrap.sh
2.4 ./bjam -s HAVE_ICU= --prefix=/usr/local/boost --includedir=/usr/local/boost/include --libdir=/usr/local/boost/lib
2.5 ./bjam install --prefix=/usr/local/boost
echo "/usr/local/boost/lib" >> /etc/ld.so.conf
echo "/usr/local/boost/include" >> /etc/ld.so.conf
ldconfig

3.编译安装thrift+fb303

安装thrift
3.1 wget http://archive.apache.org/dist/thrift/0.7.0/thrift-0.7.0.tar.gz
3.2 tar zxvf thrift-0.7..tar.gz -C/usr/local/
3.3 cd /usr/local/thrift-0.7.
3.4 chmod +x configure
3.5 ./configure--with-boost=/usr/local/boost
3.6 make && make install
echo "/usr/local/thrift/lib" >> /etc/ld.so.conf
ldconfig 安装fb303
3.7 cd /usr/local/thrift-0.7.0/contrib/fb303
3.8 chmod +x bootstrap.sh
3.9 ./bootstrap.sh --with-boost=/usr/local/boost/
3.10 ./configure --prefix=/usr/local/thrift/fb303 --with-boost=/usr/local/boost --with-thriftpath=/usr/local/thrift
3.11 make && ake install

4.编译安装scribe

4.1 去https://github.com/facebook/scribe下载scribe
4.2 解压 unzip scribe-master.zip
4.3 cd scribe-master
export BOOST_ROOT=/usr/local/boost
export LD_LIBRARY_PATH=/usr/local/thrift/lib:/usr/lib:/usr/local/lib:/usr/local/boost/lib:/usr/local/thrift/fb303/lib
./bootstrap.sh --with-boost=/usr/local/boost --with-boost-filesystem=boost_filesystem
4.4 ./configure --prefix=/usr/local/scribe --with-boost=/usr/local/boost --with-thriftpath=/usr/local/thrift --with-fb303path=/usr/local/thrift/fb303 --with-boost-filesystem=boost_filesystem
4.5 make && make install

5. 测试

cp example/example1.conf  /tmp
/usr/local/scribe/bin/scribed /tmp/example1.conf
进行测试

参考:

http://www.cnblogs.com/hadoopdev/p/3207940.html

http://ixdba.blog.51cto.com/2895551/1368792

scribe日志分析工具安装的更多相关文章

  1. 可视化日志分析工具Gltail的安装与使用

    可视化日志分析工具Gltail的安装与使用      GlTail.rb 是一款带有浓郁的 Geek 风格的可视化日志分析工具,它采用 Ruby 技术构建,并利用 OpenGL 图形技术进行渲染,呈现 ...

  2. Linux 日志分析工具(logwatch)安装及使用

    Linux 日志分析工具(logwatch)安装及使用 日志是非常重要的系统文件,管理员每天的重要工作就是分析和查看服务器的日志,判断服务器的健康状态.但是日志管理又是一项非常枯燥的工作,如果需要管理 ...

  3. Scribe日志收集工具

    Scribe日志收集工具 概述 Scribe是facebook开源的日志收集系统,在facebook内部已经得到大量的应用.它能够从各种日志源上收集日志,存储到一个中央存储系统(可以是NFS,分布式文 ...

  4. 日志分析工具ELK配置详解

    日志分析工具ELK配置详解 一.ELK介绍 1.1 elasticsearch 1.1.1 elasticsearch介绍 ElasticSearch是一个基于Lucene的搜索服务器.它提供了一个分 ...

  5. GoAccess日志分析工具使用文档

    ----Sevck 2016/3/4 17:24:13 #1软件说明: GoAccess是一款开源.实时,运行在命令行终端下的web日志分析工具.该工具提供快速.多样的HTTP状态统计,可以令管理员不 ...

  6. 强大的日志分析工具 -- NSLogger

    转:http://www.cnblogs.com/yingkong1987/p/3329945.html 强大的日志分析工具 -- NSLogger 源码:https://github.com/fpi ...

  7. Log Parser 微软强大的日志分析工具

    Log Parser(微软网站下载)是微软公司出品的日志分析工具,它功能强大,使用简单,可以分析基于文本的日志文件.XML 文件.CSV(逗号分隔符)文件,以及操作系统的事件日志.注册表.文件系统.A ...

  8. IIS日志分析工具

    发现一个强大的图形化IIS日志分析工具:Log Parser Studio. 安装 需要先安装Log Parser下载地址:http://www.microsoft.com/en-us/downloa ...

  9. Linux 日志分析工具之awstats

    一.awstats 是什么 官方网站:AWStats is a free powerful and featureful tool that generates advanced web, strea ...

随机推荐

  1. git的忽略文件和删除文件操作

    1 删除工作区和暂存去的a文件$ git rm a 2只删除暂存去的 a文件,a文件就不被跟踪了.可以执行git add a从新添加回暂存去$ git rm --cached a 3 git mv 操 ...

  2. Java中的GC操作及相关概念

    一.GC Roots Tracing的基本思路:通过一系列名为"GC Roots"的对象作为起始点,从这些节点开始向下搜索,搜索所经过的路径称为引用链(Reference Chai ...

  3. Java基础-面板组件

  4. 立体匹配:关于Middlebury提供的源码的简化使用

    Middlebury提供的源码,虽然花了不到一个小时就运行起来啦.但说实话,它那循环读取脚本命令来执行算法真是让我费了不少头脑,花了近三天时间,我才弄明白了它的运行机制.你说,我就想提取一下算法,你给 ...

  5. freemarker空值的多种处理方法

    默认情况下,freemarker的变量必须有值,如果没有被赋值的变量在页面上使用就会抛出异常,出错的信息都会显示在页面上. 解决办法: 方法一.我们可以在页面上使用freemarker变量时 以 ${ ...

  6. .net中三种数据类型转换区别((int),Int32.Parse() 和 Convert.toInt32() )

    (typename)valuename,是通用方法: Convert类提供了灵活的类型转换封装: Parse方法,适用于向数字类型的转换. 例如,(int),Int32.Parse() 和 Conve ...

  7. 修复:"Failed to start Load Kernel Modules"

    使用非默认内核而出现的错误. [zsj@arch ~]$ systemctl --state=failed UNIT LOAD ACTIVE SUB DESCRIPTION● systemd-modu ...

  8. linux mint konsole终端模拟器 字符之间空格

    最近安装了linux mint 发现里面的终端是:konsole终端模拟器 ,问题是每次输字符随着输入字符越来越多,字符与光标之间的距离也越来越大(看上去像是自动添加了空格一样), 同时在使用vi时, ...

  9. C#中char[]与string之间的转换

    string 转换成 Char[] string ss = "abcdefg"; char[] cc = ss.ToCharArray(); Char[] 转换成string st ...

  10. react与jQuery对比,有空的时候再翻译一下

    参考资料:http://reactfordesigners.com/labs/reactjs-introduction-for-people-who-know-just-enough-jquery-t ...