Skip to content

Instantly share code, notes, and snippets.

@toast38coza
Last active August 29, 2015 14:08
Show Gist options
  • Save toast38coza/4e90f55d63ed01f632d5 to your computer and use it in GitHub Desktop.
Save toast38coza/4e90f55d63ed01f632d5 to your computer and use it in GitHub Desktop.
yum, easy_install, pip and github through a proxy
## 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