#!/bin/sh BASEDIR=$(dirname $0) cpwd=$PWD echo $BASEDIR cd $BASEDIR #sudo -u node gem install fluentd --no-doc #sudo -u node gem install fluent-plugin-mongo #sudo -u node gem install oj #sudo -u node gem install json #sudo -u node gem install async-http #sudo -u node gem install ext_monitor #sudo -u node gem install gem sources --clear-all gem install fluentd --no-doc gem install fluent-plugin-mongo gem install oj gem install json gem install async-http gem install ext_monitor #gem install gem sources --clear-all cp fluent.conf /fluentd/etc/