Created
February 27, 2014 16:47
Revisions
-
digilord created this gist
Feb 27, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ #!/bin/bash -x useradd -m NibblesAndBits sudo apt-get install build-essential -y sudo apt-get install software-properties-common sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update -y sudo apt-get install nodejs -y sudo apt-get install mongodb -y sudo apt-get install couchdb -y sudo apt-get install git -y sudo apt-get install nginx -y sudo apt-get install htop -y sudo apt-get install tree -y sudo apt-get install figlet -y sudo apt-get install git-core -y sudo apt-get install munin -y curl https://install.meteor.com | /bin/sh sudo npm install -g meteorite sudo npm install -g pm2 # Do we have swap? grep swap /etc/fstab -q status=$? if [ $status -ne 0 ]; then dd if=/dev/zero of=/swapfile bs=1024 count=1048576 echo "/swapfile none swap sw 0 0" >> /etc/fstab swapon /swapfile fi if [ ! -d /home/meteor ]; then mkdir meteor fi