Skip to content

Instantly share code, notes, and snippets.

@mariusv
Created July 16, 2010 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariusv/478242 to your computer and use it in GitHub Desktop.
Save mariusv/478242 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
# after.sh
# Author: Marius Voila
# Created: 06/25/2010
# Updated: 07/19/2010
#
# This script is more specific to my needs. I run it after server.sh.
# To get the pg gem to install, I generally have to restart my shell so
# the path to pg_config works.
#
useradd deploy -g nginx
mkdir -p /var/www
chown -R deploy /var/www
chgrp -R nginx /var/www
chmod -R 775 /var/www
yum install sqlite-devel
gem install pg --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment