Skip to content

Instantly share code, notes, and snippets.

View essjayhch's full-sized avatar

Stuart Harland essjayhch

View GitHub Profile
#!/bin/bash
ssh -l root $1 "echo $2 > /etc/nodename; echo $1 $2 >> /etc/hosts; pkgin -y upgrade; pkgin -y in build-essential; pkgin -y in ruby-2.1.4; gem install chef --no-ri --no-rdoc; init 6"
sleep 10
knife bootstrap $1 -r 'role[chef-client]'
@essjayhch
essjayhch / gist:33782a0a85d3c4ed280e
Created February 4, 2015 18:30
output of passenger-install-nginx-module --prefix=/tmp/nginx --auto
cat ngbuild.txt
Welcome to the Phusion Passenger Nginx module installer, v5.0.0.beta2.
This installer will guide you through the entire installation process. It
shouldn't take more than 5 minutes in total.
Here's what you can expect from the installation process:
1. This installer will compile and install Nginx with Passenger support.
2. You'll learn how to configure Passenger in Nginx.
@essjayhch
essjayhch / gist:0ba22471555b6686ee34
Last active August 29, 2015 14:14
Passenger build failure log
passenger start
--> Downloading a Phusion Passenger agent binary for your platform
Could not download https://oss-binaries.phusionpassenger.com/binaries/passenger/by_release/5.0.0.beta2/agent-x86-solaris2.11.tar.gz: The requested URL returned error: 404 Not Found
Trying next mirror...
Could not download https://s3.amazonaws.com/phusion-passenger/binaries/passenger/by_release/5.0.0.beta2/agent-x86-solaris2.11.tar.gz: The requested URL returned error: 403 Forbidden
------------------------------------------
Sorry, no precompiled agent binary is available for your platform.
---------------------------------------