scribe Log Analysis tool installation

Source: Internet
Author: User

System CentOS6.2 x86_64

1.yum installation Gcc,flex,m4,python/python-devel,ruby,libevent/libevent-devel,openssl/openssl-devel,bzip2/bzip2-devel, Zlib/zlib-devel,bison,autoconf,automake,libtool

2. Compile and install boost

2.1 wgethttp//nchc.dl.sourceforge.net/project/boost/boost/1.45.0/boost_1_45_0.tar.gz2.2 TarZXVF Boost_1_45_0.Tar. gz-c/usr/local/2.3./bootstrap.SH2.4./bjam-s have_icu=1--prefix=/usr/local/boost--includedir=/usr/local/boost/include--libdir=/usr/local/boost/Lib2.5./bjamInstall--prefix=/usr/local/BoostEcho "/usr/local/boost/lib">>/etc/LD. so.confEcho"/usr/local/boost/include" >>/etc/LD. So.confldconfig

3. Compile and install thrift+fb303

Installing Thrift
3.1 wgethttp//archive.apache.org/dist/thrift/0.7.0/thrift-0.7.0.tar.gz3.2 TarZXVF thrift-0.7.0.Tar. gz-c/usr/local/3.3cd/usr/local/thrift-0.7.03.4 chmod+x Configure3.5./configure--with-boost=/usr/local/Boost3.6 Make&& Make Install
echo "/usr/local/thrift/lib" >>/etc/ld.so.conf
LdconfigInstalling fb303
3.7 Cd/usr/local/thrift-0.7.0/contrib/fb3033.8 chmod+x Bootstrap.SH3.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&& akeInstall

4. Compile and install scribe

4.1Go to https://github.com/facebook/scribe Download scribe4.2ExtractUnzipScribe-master.Zip4.3CD scribe-Masterexport Boost_root=/usr/local/Boostexport 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_filesystem4.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_filesystem4.5  Make&& Make Install

5. Testing

CP example/example1.conf  /tmp/usr/local/scribe/bin/scribed/tmp/example1.conf for testing

Reference:

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

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

scribe Log Analysis tool installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.