In Ubuntu, the apt-get command is used by agents. many companies now have their own proxy servers to control internet access for employees. There will be some obstacles to update the software when we use a Linux system, such as Ubuntu. In Ubuntu, if you want to access the source on apt-get through a proxy, you can modify it or... in Ubuntu, the apt-get command is used by agents. many companies now have their own proxy servers to control internet access for employees. There will be some obstacles to update the software when we use a Linux system, such as Ubuntu. In Ubuntu, if you want to access the source on apt-get through a proxy, you can modify or add a/etc/apt. conf file Sh code sudo vi/etc/apt. conf then add the following content to the File: Conf code Acquire: http: proxy "http: // 127.0.0.1: 8000/"; Acquire: ftp: proxy "ftp: // 127.0.0.1: 8000/"; Acquire: https: proxy" https: // 127.0.0.1: 8000 /"; in this way, you can use the proxy server to access the source on apt-get. To edit the source list, you can modify Sh code vi/etc/apt/sources. list Config code deb http://cn.archive.ubuntu.com/ubuntu/ raring main restricted deb-src http://cn.archive.ubuntu.com/ubuntu/ raring main restricted
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.