From the course: Apache Airflow Essential Training
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Installing PostgreSQL on WSL - Apache Airflow Tutorial
From the course: Apache Airflow Essential Training
Installing PostgreSQL on WSL
- [Instructor] Since Airflow only works on Linux-based devices, you can run Airflow on a MacOS device, a Linux distribution, or on Windows systems for Linux. I'm running WSL2 on my Windows machine, and I'm going to go to my Ubuntu distribution. The first thing I'm going to do here is run sudo apt update to make sure that my package management tool is up to date. Once this is done, I'm going to run sudo apt upgrade to ensure that I have the latest components, which I can then install on my Linux distribution. Installing PostgreSQL on any Linux distribution is super straightforward. I call sudo apt install PostgreSQL, and this will download and install the latest version of Postgres on my machine. Once PostgreSQL has been installed, let's check the status of the PostgreSQL service. Run sudo service PostgreSQL status. You can see that the service is down. Let's bring the service up and for that, you run a simple command sudo…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Installing PostgreSQL on macOS2m 28s
-
(Locked)
Installing PostgreSQL on WSL2m 27s
-
(Locked)
Connecting to PostgreSQL4m 19s
-
(Locked)
Using the PostgreSQL operator3m 55s
-
(Locked)
Performing PostgreSQL insert operations2m 44s
-
(Locked)
Performing PostgreSQL join operations3m 2s
-
(Locked)
A complete end-to-end pipeline with PostgreSQL3m 48s
-
(Locked)
Configuring PostgreSQL as a metadata database and using the LocalExecutor6m 6s
-
-
-
-