Skip to content

Instantly share code, notes, and snippets.

@lopesivan
Created March 17, 2014 19:44
Show Gist options
  • Save lopesivan/9606804 to your computer and use it in GitHub Desktop.
Save lopesivan/9606804 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
echo "Install Apache and setting it UP"
apt-get update
apt-get install -y apache2
sudo sh -c 'echo "ServerName localhost" >> /etc/apache2/conf.d/name' && sudo service apache2 restart
rm -rf /var/www
ln -fs /vagrant /var/www
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment