# 安装eple源
yum -y install epel-release
# 安装依赖
yum install gcc gcc-c++ libffi-devel python3 python3-devel python-pip python-wheel openssl-devel cyrus-sasl-devel openldap-devel
# 安装python虚拟环境
python3 -m venv venv
# 激活虚拟机环境
. venv/bin/activate
# 升级pip
pip install --upgrade pip
# 安装superset
pip install apache-superset
# 安装依赖
pip install dataclasses -i https://pypi.tuna.tsinghua.edu.cn/simple
# 更新
superset db upgrade
# 创建用户
superset fab create-admin
# 初始化
superset init
# 启动
superset run -h 192.100.3.205 -p 8088 --with-threads --reload --debugger
访问:http://192.100.3.205:8088