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
#!/bin/sh | |
# Installs python specific software | |
# for scientific applications on Ubuntu 12.04 LTS. | |
# | |
# It is recommended to run this in a virtualenv session. | |
# Install numpy | |
sudo aptitude -y build-dep python-numpy | |
pip install numpy | |
# Install scipy |
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
#!/bin/sh | |
# Installs latest R related software for Ubuntu 12.04 LTS. | |
# Install latest R | |
sudo add-apt-repository ppa:marutter/rrutter | |
sudo aptitude -y update | |
sudo aptitude -y install r-base r-base-dev | |
# Install RStudio | |
sudo aptitude -y install gdebi-core libapparmor1 |
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
#!/bin/bash | |
# Installs python2 specific software | |
# for scientific applications on ArchLinux. | |
# | |
# Requirements: | |
# - packer | |
# - python2 | |
# You must be in a virtualenv session with python2 set as python. | |
# Exit script on any command failure |
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
#!/bin/sh | |
# Installs Apache spark dependences on Ubuntu 14.04 | |
# Install Oracle Java 7 JDK | |
sudo apt-add-repository ppa:webupd8team/java | |
sudo aptitude update | |
sudo aptitude install oracle-java7-installer | |
# Install scala | |
wget www.scala-lang.org/files/archive/scala-2.11.6.deb |
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
#!/bin/bash | |
# Installs Mongo on Ubuntu 14.04 | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list | |
sudo apt-get update | |
sudo apt-get install -y mongodb-org |
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
#!/bin/bash | |
# Installs NodeJS through NVM on Ubuntu 14.04 | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.3/install.sh | bash | |
. ~/.nvm/nvm.sh | |
nvm install v0.10.36 | |
nvm alias default v0.10.36 |
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
#!/bin/bash | |
# Installs Haproxy on Ubuntu 14.04 | |
add-apt-repository -y ppa:vbernat/haproxy-1.5 | |
sudo apt-get update | |
sudo apt-get install -y haproxy |
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
#!/bin/bash | |
# | |
# Bootstraps env-custom for Ubuntu machine 14.04 | |
# additionally with oh-my-zsh. | |
# | |
# Set bash to exit immediately on failure | |
set -e | |
# Set bash statements to return failure if any piped command within it fails |
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
#!/bin/sh | |
# Creates LVM volume from ephemeral disks on EC2. | |
sudo umount /mnt | |
sudo aptitude -y install lvm2 | |
sudo pvcreate /dev/xvdb /dev/xvdc | |
sudo vgcreate vol_eph /dev/xvdb /dev/xvdc | |
sudo lvcreate -l 100%FREE -n log_eph vol_eph | |
sudo mkfs.ext4 /dev/vol_eph/log_eph | |
sudo mount /dev/vol_eph/log_eph /mnt |
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
#!/bin/bash | |
# Installs Cassandra on Ubuntu 14.04 | |
echo 'deb http://www.apache.org/dist/cassandra/debian 21x main' | sudo tee /etc/apt/sources.list.d/cassandra.list | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 749D6EEC0353B12C | |
sudo apt-get update | |
sudo apt-get install -y cassandra cassandra-tools |
OlderNewer