Last active
December 17, 2015 04:38
-
-
Save phumpal/5551456 to your computer and use it in GitHub Desktop.
When pyyaml.org is down my VM builds containing @rvm #fail. I have a VM running a barebones Nginx on 192.168.1.214
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
/private/etc/hosts | |
192.168.1.214 pyyaml.org |
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
Flush DNS Cache OSX 10.6.8 | |
sudo dscacheutil -flushcache |
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
mkdir -p /var/www/download/libyaml | |
wget -P /var/www/download/libyaml http://pkgs.fedoraproject.org/repo/pkgs/libyaml/yaml-0.1.4.tar.gz/36c852831d02cf90508c29852361d01b/yaml-0.1.4.tar.gz |
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
/etc/nginx/sites-enabled/yaml.conf | |
server { | |
listen 80; | |
location / { | |
root /var/www; | |
} | |
} | |
service nginx restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment