airflow安装

1、安装mysql,如果存在可以跳过

http://www.cnblogs.com/starof/p/4680083.html

https://www.cnblogs.com/luohanguo/p/9045391.html

2、安装redis,如果存在可以跳过

https://www.cnblogs.com/rslai/p/8249812.html

3、新建目录 /mnt/airflow

4、新建文件 /mnt/airflow/airflow.cfg,并修改对应的参数

5、编辑vim /etc/bashrc 末尾添加 export AIRFLOW_HOME=/mnt/airflow

6、sudo yum -y install python-pip

7、sudo pip install --upgrade pip

8、sudo pip install --upgrade setuptools

9、server:      sudo SLUGIFY_USES_TEXT_UNIDECODE=yes pip install apache-airflow[all]==1.10.1 --ignore-installed pyparsing

10、worker  :   sudo SLUGIFY_USES_TEXT_UNIDECODE=yes pip install apache-airflow[mysql,redis,celery,worker]==1.10.1 --ignore-installed pyparsing

7、sudo yum install mysql-devel



https://blog.csdn.net/Crazy__Hope/article/details/83688986

https://blog.csdn.net/Crazy__Hope/article/details/83410340

你可能感兴趣的:(airflow安装)