Construction of SuperSet (data analysis platform) under CentOS7

This article is for personal notes only

SuperSet official website: http://airbnb.io/projects/superset/
SuperSet official installation documentation: http://superset.apache.org/installation.html#getting-started

One: Verify that python is installed (generally new machines come with python, yum is based on python)

Run python --version or python2 --version. If the version appears, it means to install

Two: installation support and software

Run yum install gcc gcc-c++ libffi-devel python-devel python-pip python-wheel openssl-devel libsasl2-devel openldap-devel python-setuptools python-virtualenv -y to install all support and software

Three: Install virtualenv

Run virtualenv /virtualenv Install virtualenv in /virtualenv directory
Run echo “export PATH= $ PATH:/virtualenv/bin” > /etc/profile.d/virtualenv.sh Add environment variables
Run source /etc/profile to make environment variables take effect
Run pip install –upgrade setuptools pip -i https://pypi.douban.com/simple installs setuptools and pip (the latter -i https://pypi.douban.com/simple is the specified source)

Four: Install SuperSet

Run pip install superset -i https://pypi.douban.com/simple to install superset (the latter -i https://pypi.douban.com/simple is the specified source)

Five: Configuration and initialization

Run fabmanager create-admin –app superset to create an admin account and set the corresponding information
. Run superset db upgrade to initialize the database. Run
superset load_examples to initialize data
. Run superset init to initialize SuperSet . ip:8088 (eg: http://192.168.1.199:8088 )


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325448808&siteId=291194637