Skip to content

Instantly share code, notes, and snippets.

View cronosnull's full-sized avatar

Christian Ariza cronosnull

View GitHub Profile
@cronosnull
cronosnull / airflowPostgresqlInstall.sh
Last active December 22, 2021 06:13
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
@cronosnull
cronosnull / AirflowMaster.sh
Last active June 26, 2018 22:10
Airflow Celery Install
#!/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
@cronosnull
cronosnull / installKafkaStandalone.sh
Created May 29, 2019 09:40
Install kafka statndalone.
#!/bin/bash
# This script install kafka 2.2.0
# on a centos 7 machine
## RUN AS SUDO
if [[ $EUID -gt 0 ]]
then
echo "Please run as root/sudo"
exit 1
fi