LoginSignup
3
3

More than 5 years have passed since last update.

ZoomdataをVagrantで動かしてみる

Last updated at Posted at 2015-06-02

前提条件

VagrantでCentOSをインストール

新しいboxファイルを取得
CentOS6.5系

$ vagrant init chef/centos-6.5; vagrant up --provider virtualbox

Vagrantファイルを変更して、メモリを4GBへ増やす。

MongoDB[mongodb-org-3.0]をインストール

CentOS上で以下のインストール作業を実施。
Install MongoDB on Red Hat Enterprise or CentOS Linux — MongoDB Manual 3.0.3
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat/#install-mongodb

MongoDB起動

$ sudo service mongod start
Starting mongod:                                           [  OK  ]
$ sudo chkconfig mongod on

Mongoユーザーの追加

$ mongo zoom --eval "db.createUser({user:'anadmin', pwd:'p0ssward2dataz00m',roles:['readWrite']});"

ZoomDataインストール

$ sudo yum install zoomdata-1.5.0-sr1.x86_64.rpm

ファイアーウォールの設定

$ sudo iptables -I INPUT 1 -i eth1 -p tcp --dport 8443 -j ACCEPT
$ sudo iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 443 -j DNAT --to-destination :8443
$ sudo service iptables save

外からアクセスする際のCentOSで割り当てられたI/Fが、eth1 なので、上記の通り eth1 を指定。

Zoomdataにログインしてみる

adminユーザーでログインし、ダッシュボードを開くと、画面がぐりぐりリアルタイムで更新される。
ほー、Tableauと違うね。

Zoomdata_SampleDashboard.png

Zoomdata_Bubbles.png

Zoomdata.png

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3