Superset version 1.8.5
# Install superset
pip install cairocffi
pip install superset
![](https://i.iter01.com/images/661e6d02fa139fb01fd79ed9263221602f6dcba812fc0dc92dfb5e32fe105c1e.png)
yum install gcc-c++ python-devel.x86_64 cyrus-sasl-devel.x86_64
修改superset/config.py
SQLALCHEMY_DATABASE_URI = 'mysql://user:pswd@host:3306/superset'
# Create an admin user
fabmanager create-admin --app superset
![](https://i.iter01.com/images/772207f5c1070c944e90f9297c259f08149f8c0c864e3eb44c6908fc8ac51a40.png)
yum install python-devel mysql-devel
yum install MySQL-python
# Initialize the database
superset db upgrade
![](https://i.iter01.com/images/7523cb0c60c53a7dc750db21859bce79c07a502da03e5eff30d95e6be557d2f7.png)
pip install flask==0.11
UserWarning: The installed version of numexpr 2.4.4 is not supported in pandas and will be not be used
pip install numexpr==2.4.6
# Load some data to play with
superset load_examples
# Create default roles and permissions
superset init
# Start the web server on port 8088
superset runserver -p 8088