在Centos7上安装Airflow2.0
Airflow支持MYSQL、POSTGRESQL及sqllite元数据库,默认使用sqllite。2.0版本支持mysql,不支持mariadb。
本文主要记录基于mysql安装AIRFLOW2.0版本。
安装环境:
python3以上版本、
mysql5.7
pip20.3.3
安装步骤:
- 安装系统包
yum install python、wget、gcc、python-devel.x86_64 - 安装pip
wget https://bootstrap.pypa.io/get-pip.py [root@localhost software]# python get-pip.py DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Collecting pip Downloading pip-20.3.3-py2.py3-none-any.whl (1.5 MB) |████████████████████████████████| 1.5 MB 14 kB/s

本文详述了在Centos7系统中如何安装配置Airflow2.0,重点是基于MySQL作为元数据库的安装过程。环境要求包括Python3、MySQL5.7和pip20.3.3。安装步骤涵盖安装系统依赖、升级Python、安装MySQL以及最后安装Airflow。
最低0.47元/天 解锁文章
5846

被折叠的 条评论
为什么被折叠?



