2014年4月29日火曜日

Windows7 64Bit上でVagrant+CentOS6.5+Norikra+Fluentdインストール

以下の環境で、Vagrant Base Box(CentOS-6.5-x86_64)とVagrantfileを作成してみた。

NOTE:

  • Windows7 (SP1 64Bit)
  • veewee (0.3.12)
  • Vagrant (1.5.3)
  • VirtualBox (4.3.10)

作成した資材は以下で公開している。

資材 場所
Vagrantfile GitHub
Vagrant Base Box(CentOS-6.5-x86_64) Yahoo!ボックス

使い方はHow to use these Vagrantfilesを参照

基本的に、以下で環境構築が完了するはず。

$ git clone https://github.com/lvisdd/vagrant-boxes.git
$ cd vagrant-boxes/vagrantfile/norikra
$ vagrant up

Vagrant、Veeweeの基本的な操作については、以下で記載済みのため、割愛する。

以下、動作確認例。

Browsing Test

Norikra : http://localhost:26578/





Apache Bench Test

$ ab -c 5 -n 100 http://localhost/index.html;sleep 80;ab -c 5 -n 200 http://localhost/index.html
$ sleep 60
$ norikra-client event fetch access_count_per_1min

$ ab -c 5 -n 1000 http://localhost/index.html
$ sleep 60
$ norikra-client event fetch access_over_1000_per_1min

参考

Norikra+FluentdでDoS攻撃をブロックする仕組みを作ってみた

0 件のコメント:

コメントを投稿