Last active
August 29, 2015 14:08
-
-
Save toast38coza/4e90f55d63ed01f632d5 to your computer and use it in GitHub Desktop.
yum, easy_install, pip and github through a proxy
This file contains hidden or 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
| ## yum: | |
| ## edit /etc/yum.conf | |
| ## command-line stuff: | |
| export http_proxy=http://user:[email protected]:80 | |
| export https_proxy=https://user:[email protected]:80 | |
| ## Github | |
| git config --global http.proxy user:[email protected]:80 | |
| git config --global https.proxy user:[email protected]:80 | |
| ## NPM: | |
| ## http://stackoverflow.com/a/13138231/243806 | |
| npm config set strict-ssl false | |
| npm config set registry "http://registry.npmjs.org/" | |
| npm --proxy http://"user:passwith@init"@vodaproxy.vodacom.corp:80 install -g phantomjs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment