For RPM Based
Create or edit /etc/yum.conf and add the details below, replacing proxy-server, port, username and password with your own login details.
# The proxy server - proxy server:port number
proxy=http://proxy-server:port
# The proxy account details
proxy_username=username
proxy_password=password
For DEBIAN Based
Create or edit /etc/apt/apt.conf and add the details below, replacing proxy-server, port, username and password with your own login details.
ACQUIRE {
http::proxy "http://username:password@proxy-server:port/"
}
No comments:
Post a Comment