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 python specific software | |
# for scientific applications on OSX 10.11 | |
# | |
# Install gcc (includes fortran) | |
brew install gcc | |
# Install scientific packages |
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 rstudio on OSX 10.11 | |
# | |
brew install homebrew/science/r | |
brew install Caskroom/cask/rstudio |
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 OSX 10.11 | |
# 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/bash | |
# Sets up Arma 3 server. | |
# Requires exports STEAM_USERNAME + STEAM_PASSWORD. | |
# Install dependencies for SteamCMD | |
sudo apt-get -y install lib32gcc1 lib32stdc++6 git | |
# Create new user for steam | |
sudo useradd -m -s /bin/bash steam |
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 |
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 Couchbase on Ubuntu 14.04 | |
wget -L http://packages.couchbase.com/releases/3.0.3/couchbase-server-enterprise_3.0.3-ubuntu12.04_amd64.deb | |
sudo dpkg -i couchbase-server-enterprise_3.0.3-ubuntu12.04_amd64.deb | |
rm -f couchbase-server-enterprise_3.0.3-ubuntu12.04_amd64.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/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 | |
# | |
# 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/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 | |
# 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 |
NewerOlder