Skip to content

Instantly share code, notes, and snippets.

@ejhayes
Created July 13, 2011 05:10
Show Gist options
  • Select an option

  • Save ejhayes/1079756 to your computer and use it in GitHub Desktop.

Select an option

Save ejhayes/1079756 to your computer and use it in GitHub Desktop.
Sets up apache config for local development
#!/bin/sh
echo setting up directories and other stuff
sudo mkdir -p /var/www && sudo mkdir -p /etc/apache2/sites-available && sudo mkdir -p /etc/apache2/sites-enabled && echo Include /etc/apache2/sites-enabled | sudo tee -a /etc/apache2/httpd.conf
echo 127.0.0.1 web0.local.fbprotege.sears.fluid.com | sudo tee -a /etc/hosts
echo 127.0.0.1 local.fbprotege.sears.fluid.com | sudo tee -a /etc/hosts
echo done!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment