2015년 4월 8일 수요일

fluentd, couchbase 3.0.2, ubuntu 14.04


1. install base
  sudo apt-get install build-essential
  sudo apt-get install ruby-dev

2. fluentd install

  http://docs.fluentd.org/articles/install-by-deb
  curl -L http://toolbelt.treasuredata.com/sh/install-ubuntu-trusty-td-agent2.sh | sh

3. couchbase install
  http://www.couchbase.com/nosql-databases/downloads
  wget http://packages.couchbase.com/releases/3.0.1/couchbase-server-community_3.0.1-ubuntu12.04_amd64.deb
  sudo dpkg -i couchbase-server-community_3.0.1-ubuntu12.04_amd64.deb

4. couchbase plugin

  wget http://packages.couchbase.com/clients/c/couchbase-csdk-setup
  perl couchbase-csdk-setup
  gem install couchbase
  sudo /usr/lib/fluent/ruby/bin/fluent-gem install fluent-plugin-couchbase
 
5. couchbase rb file
vi /usr/lib/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluent-plugin-couchbase-0.0.2/lib/fluent/plugin/out_couchbase.rb


댓글 없음:

댓글 쓰기