プロキシ環境でやる場合。ユーザ認証付きで。他にもあるので今度足す。
■Yum vi /etc/yum.conf proxy = http://000.000.000.000:8080 proxy_username = hogeuser proxy_password = fugapass ■Git git config --global http.proxy http://hogeuser:fugapass@000.000.000.000:8080 git config --global https.proxy http://hogeuser:fugapass@000.000.000.000:8080 git config --global url."https://".insteadOf git:// 確認 git config --list ■Wget vi /etc/wgetrc http_proxy=http.proxy http://hogeuser:fugapass@000.000.000.000:8080 https_proxy=http.proxy http://hogeuser:fugapass@000.000.000.000:8080 ftp_proxy=http.proxy http://hogeuser:fugapass@000.000.000.000:8080 ■Curl curl -U hogeuser:fugapass -x 000.000.000.000:8080 -L http://mirrorlist.centos.org