Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to select the fastest update source in ubuntu

2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to choose the fastest update source in ubuntu, the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

1. Open the setup "" software and update, as shown in the following figure

2. Download from: drop-down menu, select another site

3. You can choose the best server, or you can specify the server you are satisfied with. After selection, a password is required.

4. Choose to close, and then automatically execute the update command (sudo apt-get update), and the update is completed.

After installing Ubuntu18.04, it is too slow to use a foreign source, and it will be much faster to change it to a domestic source.

Modify the Ali source to the default source of Ubuntu 18.04

Backup / etc/apt/sources.list

# backup

Cp / etc/apt/sources.list / etc/apt/sources.list.bak

Add the following entry before the / etc/apt/sources.list file

# add Ali source

Deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

Deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

Deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

Deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

Deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

Deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

Deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

Deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

Deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

Deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

Finally, execute the following command to update the source

# # Update

Sudo apt-get update

Sudo apt-get upgrade

Several other domestic sources are as follows:

Chinese science and technology Dayuan

# # Zhongke Dayuan

Deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse

Deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse

Deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse

Deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse

Deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse

Deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse

Deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

Deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

Deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

Deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

163 sourc

# # 163 Source

Deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse

Deb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse

Deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse

Deb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse

Deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse

Deb-src http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse

Deb-src http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse

Deb-src http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse

Deb-src http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse

Deb-src http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse

Tsinghua source

# # Tsinghua Source

Deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse

Deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse

Deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse

Deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse

Deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse

Deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse

Deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

Deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

Deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

Deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

On how to choose the fastest update source in ubuntu to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report