How does Ubuntu use apt-get to update the Internet through proxy?
Source: Internet
Author: User
Ubuntu accesses the Internet through proxy, and how to use apt-get to update. if your company's network architecture accesses the Internet through a proxy server, Ubuntu may encounter problems when using apt-get updates. Even if you have configured a system-wide proxy (Systemwideproxyserver ). Usually in...
Ubuntu accesses the Internet through proxy, and how to use apt-get to update. if your company's network architecture accesses the Internet 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 ). Generally, the following error occurs when executing commands such as apt-get update: 407 Proxy Authentication Required is simple. you only need to change the apt-get configuration file, modify/etc/apt. conf content:
$ Cat/etc/apt. conf www.2cto.com 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
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.