Last active
November 8, 2015 13:28
-
-
Save chadmoone/4113463 to your computer and use it in GitHub Desktop.
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
echo "" | |
echo "--Uninstalling pow..." | |
curl get.pow.cx/uninstall.sh | sh #if you have pow installed | |
echo "" | |
echo "--Modifying pow configuration..." | |
echo 'export POW_DST_PORT=88' >> ~/.powconfig | |
echo "" | |
echo "--Modifying Apache configuration..." | |
sudo sh -c "echo '\nInclude /Applications/XAMPP/etc/extra/zzz_pow.conf' >> /Applications/XAMPP/xamppfiles/etc/httpd.conf" | |
echo "" | |
echo "--Adding pow Apache file..." | |
sudo curl https://gist.github.com/soupmatt/1058580/raw/zzz_pow.conf -o /Applications/XAMPP/etc/extra/zzz_pow.conf | |
echo "" | |
echo "--Installing pow..." | |
curl get.pow.cx | sh | |
echo"" | |
echo "--Stopping system Apache..." | |
sudo apachectl stop | |
echo "" | |
echo "--...done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment