This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PYTHON_VERSION=3.4.3 | |
export PYTHON_SHORT_VERSION=3.4 | |
export GEOS_VERSION=3.6.2 | |
export GDAL_VERSION=2.2.2 | |
export PROJ4_VERSION=4.9.3 | |
sudo yum-config-manager --enable epel | |
sudo yum install gdal-python | |
sudo yum -y install make automake gcc gcc-c++ libcurl-devel proj-devel geos-devel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -x -e | |
JUPYTER_PASSWORD=${1:-"myJupyterPassword"} | |
NOTEBOOK_DIR=${2:-"s3://myS3Bucket/notebooks/"} | |
# home backup | |
if [ ! -d /mnt/home_backup ]; then | |
sudo mkdir /mnt/home_backup | |
sudo cp -a /home/* /mnt/home_backup |