介紹
Superset 是 Airbnb (知名在線房屋短租公司)開(kāi)源的數(shù)據(jù)探查與可視化平臺(tái)(曾用名 Panoramix、Caravel )妒蔚,該工具在可視化、易用性和交互性上非常有特色,用戶可以輕松對(duì)數(shù)據(jù)進(jìn)行可視化分析鸥滨。
https://github.com/apache/incubator-superset
官方演示
演示1
演示2
安裝一個(gè)試試
阿里云主機(jī):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安裝到一個(gè)virtualenv環(huán)境中嗦哆。
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數(shù)據(jù)庫(kù)
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
不出意外,就安裝成功了婿滓。
通過(guò)服務(wù)器地址和8088端口訪問(wèn)web管理界面老速。
大功告成
還要研究下這個(gè)東西怎么用,雖然界面挺炫酷凸主,但是學(xué)習(xí)的成本還是有的橘券。
敬請(qǐng)期待。卿吐。旁舰。
遇到的問(wèn)題
1.EnvironmentError: mysql_config not found
解決:yum -y install mysql-devel