How to Install Apache-Airflow (workflow management platform) on ubuntu

Опубликовано: 24 Июль 2026
на канале: Quickloss3
2,318
like

Update Server:
apt update && apt upgrade -y

Install the required packages:
apt install software-properties-common
apt-add-repository universe
apt update

Install the python3-pip:
apt install python-setuptools
apt install python3-pip

Install the required dependencies :
apt install libmysqlclient-dev libssl-dev libkrb5-dev

Install the Apache-Airflow:
apt install python3-virtualenv
virtualenv airflow_example
cd airflow_example/bin/
source activate
export AIRFLOW_HOME=~/airflow
pip3 install apache-airflow
pip3 install typing_extensions
airflow db init

Set the Apache-Airflow login credentials:
airflow users create --username admin --firstname admin --lastname testing --role Admin --email [email protected]

Start the Apache-Airflow:
airflow webserver -p 8080

Access UI:
http://server_ip:8080