Skip to content

Instantly share code, notes, and snippets.

View zacsketches's full-sized avatar

Zac Staples zacsketches

View GitHub Profile
@zacsketches
zacsketches / setup_julia.sh
Created October 29, 2016 01:06 — forked from jiahao/setup_julia.sh
Setting up Julia on an Amazon EC2 instance
#Set up data partition
sudo mkdir /data
sudo chmod 777 /data
sudo "echo /dev/xvdb /data ext4 rw,user,exec,comment=cloudconfig 0 2 >> /etc/fstab"
sudo mount /data
#Install build environment
sudo sed -i "s/enabled=0/enabled=1" /etc/yum.repos.d/epel.epo
sudo yum -y update
sudo yum -y upgrade