Work with HTTP Proxies
For Swisscom RHEL VMs, no predefined proxy configuration is in place. Configuring the Operating System to use HTTP proxies can be done by setting standard environment variables. These are the NO_PROXY
, HTTP_PROXY
and HTTPS_PROXY
environment variables. You can configure both an HTTP and HTTPS proxy for his purpose. Domains for which no proxying should be performed must be specified via the NO_PROXY
environment variable.
Example Proxy Configuration:
HTTP_PROXY=http://<ip_addr>:<port>/
HTTPS_PROXY=https://<ip_addr>:<port>/
NO_PROXY=.sccloudinfra.net
No proxy configuration in /etc/yum.conf
Do not set any proxy configuration in /etc/yum.conf
. Otherwise, you will not be able to connect to the configured Red Hat repositories from Red Hat Satellite. Instead, place your proxy in your alternative repository file under /etc/yum.repos.d/
.