[PYTHON] Quick reference table under Proxy environment

Introduction

Summary of proxy settings to check how to use each time If you come up with something else, add it immediately

environment

It will be Redhat, CentOS main.

Setting

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 module--proxy=http://proxyserver:port

Recommended Posts

Quick reference table under Proxy environment
Docker under proxy environment
Pip install (Windows) under Proxy environment
When pip fails under proxy environment
python datetime format quick reference table
Quick reference table: Linux disk related commands
How to use pip3 under proxy environment Note
Use AWS SDK for Python (boto) under Proxy environment
Pip install in proxy environment
Python environment construction under Windows7 environment