Last active
January 15, 2017 18:48
-
-
Save benjiao/31542730e37e99f664d9be2db52b3d67 to your computer and use it in GitHub Desktop.
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
# Basic Stuff | |
apt-get update | |
apt-get dist-upgrade -y | |
apt-get upgrade -y | |
locale-gen en_PH.UTF-8 | |
apt-get install ntp -y | |
apt-get install htop -y | |
apt-get install git -y | |
# Download Miniconda | |
if [ ! -f "miniconda.sh" ]; then | |
echo "Downloading Miniconda Installer..." | |
wget -q -O miniconda.tmp.sh https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh | |
mv miniconda.tmp.sh miniconda.sh | |
chmod +x miniconda.sh | |
else | |
echo "Miniconda installer already exists!" | |
fi | |
# Install Miniconda | |
if [ ! -f "/opt/anaconda" ]; then | |
bash miniconda.sh -b -p /opt/anaconda | |
echo 'export PATH="/opt/anaconda/bin:$PATH"' >> /home/ubuntu/.bashrc | |
else | |
echo "Miniconda is already installed" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment