How does Ubuntu use apt-get to update the Internet through proxy?

Source: Internet
Author: User

If your company's network architecture is accessed through a proxy server, UBUNTU may encounter problems when using apt-Get updates. Even if you have configured a system-wide proxy server (system wide proxy server ). When executing commands such as apt-Get update, the following error occurs:

407 proxy authentication required

You only need to change the configuration file of APT-Get. modify the content of/etc/APT/apt. conf:

$ CAT/etc/APT/apt. conf
Acquire: http: proxy "http: // username: passowrd @ Proxy: 80 /";
Acquire: ftp: proxy "ftp: // username: password @ Proxy: 80 /";
Acquire: https: proxy "https: // username: password @ Proxy: 80 /";

Username, password, proxy, and port must be modified according to the actual conditions.

In this way, you can update the system.

Reference: http://askubuntu.com/questions/88976/407-proxy-authentication-required

Related Article

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.