Getting Started With Superset: Airbnb’s data exploration platform
These instructions are for Amazon Linux Version 2
sudo yum update -y
sudo yum install python3 -yAdd below lines to ~/.bashrc
export PATH=/usr/local/bin:$PATH
alias python=python3source ~/.bashrcsudo apt-get install --reinstall build-essential
sudo yum install gcc gcc-c++ python3-devel cyrus-sasl-devel
pip3 install cchardet==1.0.0Check Python and PIP
$ python -V
Python 3.5.1
$ pip -V
pip 9.0.1 from /usr/local/lib/python3.5/site-packages (python 3.5)
Install superset
sudo pip3 install supersetCreate an admin user (you will be prompted to set username, first and last name before setting a password)
fabmanager create-admin --app supersetInitialize the database
superset db upgradeLoad some data to play with
superset load_examplesCreate default roles and permissions
superset initStart the web server on port 8088, use -p to bind to another port
superset runserver -p 8080Adjust security group to allow http port
http://<EC2 Public DNS>:8080/
References:
@aseem-poloniex run
sudo pip3 install apache-superset- this will install recent apache version.