一、安装:
#启动一个容器命名为superset
docker run -it --net=host --name=superset -v /data1:/data1 centos /bin/bash;
#安装python工具
yum -y install python-setuptools;
yum -y install gcc gcc-c++ libffi-devel python-devel python-pip python-wheel openssl-devel libsasl2-devel openldap-devel;
easy_install -i http://pypi.douban.com/simple/ pip;
#安装pip
pip install superset;
yum -y install MySQL-python;
fabmanager create-admin --app superset;
superset db upgrade;
superset load_examples;
superset init;
二、启动:
superset runserver >/data1/www/logs/superset.log 2>/data1/www/logs/superset.log &