Created
July 16, 2010 11:17
-
-
Save mariusv/478242 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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