Enter management mode by typing your password and pressing Enter twice. Select Exit to terminal using the arrow keys and then press Enter.
2.Type:
nano /etc/yum.conf
3.Add a line with with information about your proxy. For example:
proxy=http://proxysvr.yourdom.com:3128
4.If the proxy requires username and password, add these settings. For example:
proxy=http://proxysvr.yourdom.com:3128
proxy_username=YourProxyUsername
proxy_password=YourProxyPassword
5.Press Ctrl+X and y to save the changes.
references:
https://www.activestate.com/resources/quick-reads/pip-install-proxy/
No comments:
Post a Comment