LoginSignup
2
4

More than 5 years have passed since last update.

Proxy環境下における早見表

Last updated at Posted at 2017-02-28

はじめに

 毎回毎回ぐぐって使い方を調べるプロキシ設定まとめ
 ほかに思いついたら即追加

環境

 Redhat,CentOSメインになります。

設定

yum

vi /etc/yum.conf

proxy=http://proxyserver:port

wget

vi /etc/wgetrc

http_proxy=http://proxyserver:port/
https_proxy=http://proxyserver:port/
ftp_proxy=http://proxyserver:port/

curl

curl -x proxyserver:port -L https://www.google.com

git

git config --global http.proxy http://proxyserver:port
git config --global https.proxy http://proxyserver:port

pip

pip install モジュール --proxy=http://proxyserver:port
2
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
4