一、Docker上安装部署Superset
官方安装文档http://superset.apache.org/installation.html
If you know docker, then you’re lucky, we have shortcut road for you to initialize development environment:
git clone https://github.com/apache/incubator-superset/
cd incubator-superset
# you can run this command everytime you need to start superset now:
docker-compose up
使用docker部署起来就非常方便
部署docker以及docker compose部署安装
docker部署可参考前面的博客,这里简单讲下docker compose的安装
[root@hadoop001 soft]# curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 638 100 638 0 0 663 0 --:--:-- --:--:-- --:--:-- 663
100 15.4M 100 15.4M 0 0 16879 0 0:15:57 0:15:57 --:--:-- 22592
[root@hadoop001 ~]# cd /usr/local/bin/
[root@hadoop001 bin]# ll
total 15792
-rw-r--r-- 1 root root 16168192 Apr 20 21:44 docker-compose
[root@hadoop001 bin]#
[root@hadoop001 bin]# chmod +x /usr/local/bin/docker-compose
[root@hadoop001 bin]# which docker-compose
/usr/local/bin/docker-compose
[root@hadoop001 bin]#
superset部署安装
这时候执行官网的那几个命令
git clone https://github.com/apache/incubator-superset/
cd incubator-superset
docker-compose up
docker-compose命令不熟悉的小伙伴可以直接使用docker
具体参考https://blog.csdn.net/SparkOnYarn/article/details/105895168或者https://yq.aliyun.com/articles/633436