Skip to Content
Hands-On Industrial Internet of Things
book

Hands-On Industrial Internet of Things

by Giacomo Veneri, Antonio Capasso
November 2018
Intermediate to advanced
556 pages
14h 42m
English
Packt Publishing
Content preview from Hands-On Industrial Internet of Things

Installing Airflow

Installing and running the Apache Airflow single node is quite simple. Follow these steps:

  1. Install Python 3.6+ (https://www.python.org/downloads/)
  2. From the command console with administrative privileges, run the following commands:
$ mkdir airflow$ cd airflow$ mkdir dags$ mkdir plugins$ pip install apache-airflow
  1. Export AIRFLOW_HOME with the following commands based on OS:
    • On Windows, this is done as follows:
$ set AIRFLOW_HOME=<current directory>
    • On macOS or Linux, this is done as follows:
$ export AIRFLOW_HOME=$(pwd)
  1. Initialize the database with the following command:
$ airflow initdb

We are now ready to start Airflow. Follow these steps:

  1. Start the scheduler:
$ airflow scheduler
  1. Start the web ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Internet of Things

Internet of Things

S. Velliangiri, Sathish A.P. Kumar, P. Karthikeyan
Industrial Internet Application Development

Industrial Internet Application Development

Alena Traukina, Jayant Thomas, Prashant Tyagi, Veera Kishore Reddipalli

Publisher Resources

ISBN: 9781789537222Supplemental Content