Skip to content

Instantly share code, notes, and snippets.

View babarzahoor's full-sized avatar

Babar Zahoor babarzahoor

View GitHub Profile
@babarzahoor
babarzahoor / airflowPostgresqlInstall.sh
Created December 24, 2019 09:04 — forked from cronosnull/airflowPostgresqlInstall.sh
Install Airflow on a new Ubuntu server 18.04
#!/bin/bash
USUARIO_SO="$(whoami)"
ANACONDA_URL="https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh"
_DB_PASSWORD="la contraseña"
_IP=$(hostname -I | cut -d' ' -f1)
while getopts "a:p:h" opt; do
case $opt in
a) ANACONDA_URL="$OPTARG";;
p) _DB_PASSWORD="$OPTARG";;
h) cat <<EOF