Skip to content

Instantly share code, notes, and snippets.

@conanr
conanr / blah.rb
Created May 16, 2012 15:13
Test Gist
begin
rescue
end
@conanr
conanr / notes.txt
Created June 5, 2012 14:25
Plausible steps to install nginx on vagrant & serve index.html
vagrant box add precise32 http://files.vagrantup.com/precise32.box
vagrant init precise32
vagrant up
vagrant ssh
in vagrant shell:
sudo apt-get update
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:nginx/stable
sudo apt-get -y install nginx
@conanr
conanr / 01_setup_vagrant.sh
Created June 6, 2012 16:46
How to stand up a Vagrant box instance and host JSBlogger using Nginx|Passenger
vagrant box add precise32 http://files.vagrantup.com/precise32.box
vagrant init precise32
# update Vagrantfile to port forward: ln 32 => "config.vm.forward_port 80, 8080"
vagrant up
vagrant ssh
@conanr
conanr / 01_setup_vagrant.sh
Created June 6, 2012 20:00
Vagrant set up using Nginx, Mysql, & God
vagrant box add precise32 http://files.vagrantup.com/precise32.box
vagrant init precise32
# update Vagrantfile to port forward: ln 32 => "config.vm.forward_port 80, 8080"
vagrant up
vagrant ssh