In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces Debian how to set the fastest source, the article is very detailed, has a certain reference value, interested friends must read it!
Since there is no apt-spy just installed, find a source to install apt-spy.
1) set temporary source
[1] Log in with root account and back up sources.list
Cp / etc/apt/sources.list / etc/apt/sources_20140501bak.list
[2] modify the system default source
Comment everything in the sources.list file and add a temporary source on the last line
Http://http.us.debian.org/debian stable main
Vi / etc/apt/sources.list
Save and exit after setting up.
2) Update the package list and install apt-spy
[1] apt-get update update package list
Execute apt-get update
See Reading package lists... Done indicates that the update package is complete.
[2] install apt-spy
Install apt-spy and execute apt-get install apt-spy after the update is completed
If you want to continue, select Yes (enter Y)
The above message indicates that apt-spy has been installed.
3) automatically download the list and use apt-spy to test the fastest source
[1] automatically update all source lists
Execute apt-spy update
Seeing the information above indicates that updating all source lists has been completed.
[2] use apt-spy to test the fastest source
Execute apt-spy-d stable-an asia-t 3
See the information above indicating that the fastest source has been written to the / etc/apt/sources.list.d/apt-spy.list file. Take a look at the information in this file.
Execute vi / etc/apt/sources.list.d/apt-spy.list
Sure enough, the source of 163 is the fastest.
4) Delete temporary source
Delete the last temporary source in the / etc/apt/sources.list file
Http://http.us.debian.org/debian stable main (comment or delete this line)
Delete the last line of http://http.us.debian.org/debian stable main, save and exit
5) Update the package list
Execute apt-get update
Now that the update package list is updated directly from the 163 source, rather than a temporary source, the fastest source is set up.
The above is all the content of the article "how to set the fastest source for Debian". 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.