In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to use the domestic software source for Ubuntu apt-get speed-up method, the article introduces in great detail, has a certain reference value, interested friends must read it!
By default, apt-get connects to http://us.archive.ubuntu.com/. If you look at the domain name, you can see that this is an American server. Of course, it is very slow to connect to the servers in the United States in our great Chinese LAN.
This software source can be modified through / etc/apt/sources.list, and the good software source found can be put into this file to install the software from the new software source. I used to use it before I looked everywhere, but today I found that it is not so troublesome to replace us.archive with cn.archive to use Chinese software sources.
The replacement method for using vi:
Vi / etc/apt/sources.list
After opening, enter the following commands in turn:
:% s/us.archive/cn.archive/g
Enter
: wq
Enter (exit vi)
Then type apt-get update to update the configuration file you just modified. It will be very fast to install the software later.
The source of http://cn.archive.ubuntu.com/ is maintained by SOHU. Sohu has another domain name (mirrors.sohu.com). In addition, NetEase also provides mirroring service (mirrors.163.com). The modification method is the same, but it is not as easy as this to change us to cn directly.
The above is all the contents of this article entitled "how to use domestic software sources to speed up apt-get for Ubuntu". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.