Suppose we want to set the proxy to Ip:port
1. Web surfing
Web Settings agent is very simple, in the Firefox browser under Edit-->>preferences-->>advanced-->>network
Under Connection Click Settings, inside the manual proxy configuration set IP and port can be
2. Yum proxy settings
Edit file as:/etc/yum.conf
Add this line inside: Proxy=ip:port
The IP here is the IP you want to set, port is the one you want to set
3, wget proxy settings
Edit file as:/etc/wgetrc
Add the following two lines:
Http_proxy = Ip:port
Ftp_proxy = Ip:port
4, System environment proxy settings
Edit the file as/etc/profile, if you want to set your own account only, then edit ~/.BASHRC to
Add three rows:
# Add proxy for Network
Export http_proxy= "http://child-prc.intel.com:913"
Export https_proxy= "http://child-prc.intel.com:913"
Export ftp_proxy= $http _proxy
Then source/etc/profile or source ~/.BASHRC can
Virtual machine CentOS Setup Proxy online