Skip to content

Instantly share code, notes, and snippets.

@philihp
Created June 15, 2021 19:58
Show Gist options
  • Save philihp/21e58cb56a8f975d97f5fae70c9bdbec to your computer and use it in GitHub Desktop.
Save philihp/21e58cb56a8f975d97f5fae70c9bdbec to your computer and use it in GitHub Desktop.
Setting up Apache Superset on an AWS Amazon Linux AMI in 2021
sudo yum update -y
# install Docker
# RE: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-basics.html
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user
# install docker-compose
# RE: https://docs.docker.com/compose/install/
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
# optional
sudo curl \
-L https://raw.githubusercontent.com/docker/compose/1.29.2/contrib/completion/bash/docker-compose \
-o /etc/bash_completion.d/docker-compose
# get Superset
sudo yum install git
git clone https://github.com/apache/superset.git
cd superset
# start it up
docker-compose -f docker-compose-non-dev.yml up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment