Ubuntu: Configure network proxy and terminal agent

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.