1. Installation environment
The installation process of CentOS7 64bit in the VMware Workstation virtual machine requires networking
2. Installation steps
The root account is always used during the installation process
2.1 Environmental preparation
Use python -V to check the version. If the version is below 2.7 , please search for the python upgrade tutorial. (It is recommended to use centos7 or above to automatically integrate redundant plug-ins and avoid unnecessary installations)
Step 1: Install the necessary plugins
yum install gcc libffi-devel python-devel python-pip python-wheel openssl-devel libsasl2-devel openldap-devel
Step 2: Install pip
yum -y install python-pip
Step 3: Install virtualenv
pip install virtualenv
Step 4: Enter into virtualenv
virtualenv venv
2.2 Install superSet
pip install superset
There will be a gcc error during the installation process, you need to install a gcc-c++ tool
yum install gcc-c++
2.3 Initialization preparation
//create administrator fabmanager create-admin --app superset /database superset db upgrade //load demo superset load_examples // initialize superset init // start up superset runserver
Notice
When executing fabmanager create-admin --app superset, an error is reported, prompting "pytz>=0a" distribution was not found and is required by Babel error message, pytz needs to be upgraded
pip install -upgrade pytz
After the upgrade is successful, create an administrator account!