1. # 安装eple源
    2. yum -y install epel-release
    3. # 安装依赖
    4. yum install gcc gcc-c++ libffi-devel python3 python3-devel python-pip python-wheel openssl-devel cyrus-sasl-devel openldap-devel
    5. # 安装python虚拟环境
    6. python3 -m venv venv
    7. # 激活虚拟机环境
    8. . venv/bin/activate
    9. # 升级pip
    10. pip install --upgrade pip
    11. # 安装superset
    12. pip install apache-superset
    13. # 安装依赖
    14. pip install dataclasses -i https://pypi.tuna.tsinghua.edu.cn/simple
    15. # 更新
    16. superset db upgrade
    17. # 创建用户
    18. superset fab create-admin
    19. # 初始化
    20. superset init
    21. # 启动
    22. superset run -h 192.100.3.205 -p 8088 --with-threads --reload --debugger

    访问:http://192.100.3.205:8088