Airflow 安装环境 : centos7 python3.7.0 mysql-8.0.22
一、安装mysql-8.0.22
参考往日博文:Centos 7 安装 mysql-8.0.22
二、安装python3.7.0
参考往日博文:Centos 7 安装python3.7.0
三、安装配置
[root@hadoop101 python-3.7.0]# yum install gcc
[root@hadoop101 software]# python3 -m pip install --upgrade pip
[root@hadoop101 software]# python3 -m pip --default-timeout=1000 install paramiko
[root@hadoop101 software]# yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
四、安装airflow
[root@hadoop101 software]# python3 -m pip --default-timeout=1000 install -U apache-airflow[all]
安装所有 Airflow 功能,此过程比较漫长,可只安装基本功能
[root@hadoop101 software]# python3 -m pip --default-timeout=1000 install -U apache-airflow