Post

Configure CentOS / RedHat 7 to use a proxy

Global settings stored here:
vi /etc/profile

Add to the end:
MY_PROXY_URL=”https://proxyserver:portnumber/”
HTTP_PROXY=$MY_PROXY_URL
HTTPS_PROXY=$MY_PROXY_URL
FTP_PROXY=$MY_PROXY_URL
https_proxy=$MY_PROXY_URL
https_proxy=$MY_PROXY_URL
ftp_proxy=$MY_PROXY_URL
export HTTP_PROXY HTTPS_PROXY FTP_PROXY https_proxy https_proxy ftp_proxy

For example:
MY_PROXY_URL=”https://proxy.dsc.local:8080/”

This post is licensed under CC BY 4.0 by the author.