In the company using Ubuntu, Internet is a big problem, including: Browser Sisu network and terminal Sisu network download.
One terminal agent configuration (apt-get)
Vim/etc/apt Enter the following two lines, note that username is the proxy user name, password is the password (note the escape character), replace it with your own.
"Http://username:[email protected]:p ort/""https://username:[email protected]proxcyserver :Port/";
eq
" Http://rongyux:[email protected]:8080/ " "https://rongyux:[email protected]:8080/";
Other command principles such as Apt-get
Two browser proxy configuration
Vim/etc/profile Enter the following content, note that username is the proxy user name, password for the password, replace it with their own.
Export http_proxy=http://Username:[email protected]:p ortexport https_proxy=http:// Username:[email protected]:p ortexport ftp_proxy=http://Username:[email protected]:p ort
Source/etc/profile compiled to take effect.
eq
Export http_proxy=http://rongyux:[email protected]:8080export https_proxy=http:// rongyux:abc123@dl-proxy.neusoft.com:8080export ftp_proxy=http://Rongyux :abc123@dl-proxy.neusoft.com:8080
Ubuntu: Configure network proxy and terminal agent