Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save skt-bford/4962350 to your computer and use it in GitHub Desktop.
Save skt-bford/4962350 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# requirements
yum -y install wget
# init / install ruby, passenger, and nginx
cd /usr/local/src
wget https://gist.github.com/skt-bford/4961980/raw/centos.nginx-passenger-ruby_1-9-3.init.sh
sh centos.nginx-passenger-ruby_1-9-3.init.sh
rm -f centos.nginx-passenger-ruby_1-9-3.init.sh
# install postgres & pg
cd /usr/local/src
wget https://gist.github.com/skt-bford/4962304/raw/postgres_9-2-3.pg.setup.sh
sh postgres_9-2-3.pg.setup.sh
rm -f postgres_9-2-3.pg.setup.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment