Skip to content

Instantly share code, notes, and snippets.

@jnyryan
Last active August 29, 2015 14:03
Show Gist options
  • Select an option

  • Save jnyryan/f4495a9d5584ec2762fb to your computer and use it in GitHub Desktop.

Select an option

Save jnyryan/f4495a9d5584ec2762fb to your computer and use it in GitHub Desktop.
Ubuntu set up scripts
#!/bin/bash
####################
# Prerequisites
cd ~
pwd
# add apt-get-repository
apt-get install -y software-properties-common python-software-properties
# add latest nodejs build repo
add-apt-repository ppa:chris-lea/node.js
apt-get update
# other installs
apt-get install -y make curl git
#####################
# Install nginx
echo Installing nginx
apt-get install -y nginx
#####################
# Install nodejs
echo Installing nodejs
apt-get install -y nodejs
echo npm installs
npm install -g forever grunt-cli
#####################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment