介紹
Superset 是 Airbnb (知名在線房屋短租公司)開源的數據探查與可視化平臺(曾用名 Panoramix、Caravel ),該工具在可視化、易用性和交互性上非常有特色,用戶可以輕松對數據進行可視化分析。
https://github.com/apache/incubator-superset
官方演示
演示1
演示2
安裝一個試試
阿里云主機:CentOS Linux release 7.3
Python 2.7.5
依賴安裝:
sudo yum upgrade python-setuptools
sudo yum install gcc gcc-c++ libffi-devel python-devel python-pip python-wheel openssl-devel libsasl2-devel openldap-devel
Python virtualenv安裝:
官方推薦將Superset安裝到一個virtualenv環境中。
pip install virtualenv
# virtualenv is shipped in Python 3 as pyvenv
virtualenv venv
. ./venv/bin/activate
Superset安裝和初始化:
# Install superset
pip install superset
# Create an admin user (you will be prompted to set username, first and last name before setting a password)
fabmanager create-admin --app superset
# Initialize the database
superset db upgrade
# Load some data to play with
superset load_examples
# Create default roles and permissions
superset init
# 如果需要連接mysql數據庫
pip install mysql-python
# Start the web server on port 8088, use -p to bind to another port
superset runserver
# To start a development web server, use the -d switch
# superset runserver -d
不出意外,就安裝成功了。
通過服務器地址和8088端口訪問web管理界面。
大功告成
還要研究下這個東西怎么用,雖然界面挺炫酷,但是學習的成本還是有的。
敬請期待。。。
遇到的問題
1.EnvironmentError: mysql_config not found
解決:yum -y install mysql-devel