Last active
September 22, 2015 21:46
-
-
Save RichardStyles/374289743a11c1e49261 to your computer and use it in GitHub Desktop.
Vagrant bootstrap
This file contains 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
#!/usr/bin/env bash | |
echo "Starting Bootstrap" | |
echo "Running update..." | |
yum update | |
echo "Installing requirements.." | |
yum -y install httpd php | |
echo "setup HTML dir" | |
rm -rf /var/www/html | |
### Vagrant using rsync which creates this folder /home/vagrant/sync | |
ln -fs /home/vagrant/sync /var/www/html | |
echo "Starting services..." | |
systemctl start httpd | |
echo "Bootstrap complete" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment