Skip to content

Instantly share code, notes, and snippets.

View amolkokje's full-sized avatar

Amol Kokje amolkokje

View GitHub Profile
@amolkokje
amolkokje / centos_python_env_setup
Last active October 17, 2017 16:16 — forked from floer32/centos_python_env_setup
CentOS 6: Install Python 2.7.4, pip, virtualenv, and virtualenvwrapper on CentOS (plus some bonus items at the end if you want). You should probably run with `sudo`.
# INSTRUCTIONS TO RUN:
# 1 --> copy this script to centos machine
# 2 --> chmod 775 script_name.sh
# 3 --> ./script_name.sh
function log() {
echo "$( date '+[%F_%T]' )" "${HOSTNAME}:" "${LOG_PREFIX}:" "$@"
}