EP.2 install Airflow on Virtual machines | Azure

K Ratchaphon
Apr 24, 2022

--

สำหรับการติดตั้ง airflow สามารถทำได้ง่ายทั้ง 2วิธีได้แก่ locally, Docker

Step 1: ติดตั้ง python-env

sudo apt-get update
sudo apt install python3.8-venv

Step 2: สร้าง venv

sudo apt install python3-pip
sudo pip3 install --upgrade pip
python3 -m venv venv

Step 3: การใช้ screen ของ ubuntu

screen -S airflow
screen -ls

Step 4: ติดตั้ง airflow

Step 5: Forword Port

Access: http://pubic_ip:8080

Step 6: สร้าง users

control + a + d
screen -S airflow-ops
screen -ls

Let’s Connect

I would love to connect and talk more about this project! Shoot me a message on Linkedin or email me at ratchaphonboss@gmail.com!

Reference

  1. How to install airflow on virtual maching | Azure: https://medium.com/@62010240/how-to-install-airflow-on-virtual-maching-azure-b08fcb6c63d
  2. วิธีการติดตั้ง Airflow บน Azure vm: https://medium.com/%4062010023/%E0%B8%A7%E0%B8%B4%E0%B8%98%E0%B8%B5%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%95%E0%B8%B4%E0%B8%94%E0%B8%95%E0%B8%B1%E0%B9%89%E0%B8%87-airflow-%E0%B8%9A%E0%B8%99-azure-vm-773be0c95817

--

--