设置AirFlow根路径:vi /etc/profile => export AIRFLOW_HOME=/opt/airflow
安装: pip install airflow
初始化数据库:airflow initdb
设置Mysql为数据库:vi airflow.cfg => sql_alchemy_conn = mysql://root:521125@192.168.1.4:3306/airflowdb
设置AirFlow根路径:vi /etc/profile => export AIRFLOW_HOME=/opt/airflow
安装: pip install airflow
初始化数据库:airflow initdb
设置Mysql为数据库:vi airflow.cfg => sql_alchemy_conn = mysql://root:521125@192.168.1.4:3306/airflowdb