In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how Ubuntu17.10 modifies software sources. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
After installing ubuntu 17.10, we found that it was very slow to install the software using apt-get, so we needed to change the software source.
Methods:
1. Backup built-in source
Sudo cp / etc/apt/sources.list ~ / sources.list.bak
two。 Modify the source:
Paste the following into the / etc/apt/sources.list file:
# deb cdrom: [Ubuntu 17.04 _ Zesty Zapus_-Release amd64 (20170412)] / zesty main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.deb http://mirrors.aliyun.com/ubuntu/ artful main restricted# deb-src artful main restricted# deb-src zesty main restricted## Major bug fix updates produced after the final release of the## distribution.deb http://mirrors.aliyun.com/ubuntu/ artful -updates main restricted# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates main restricted## N.B. Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu## team. Also, please note that software in universe WILL NOT receive any## review or updates from the Ubuntu security team.deb http://mirrors.aliyun.com/ubuntu/ artful universe# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty universedeb http://mirrors.aliyun.com/ubuntu/ artful-updates universe# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe## N.B. Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu # # team, and may not be under a free licence. Please satisfy yourself as to # # your rights to use the software. Also, please note that software in # # multiverse WILL NOT receive any review or updates from the Ubuntu## security team.deb http://mirrors.aliyun.com/ubuntu/ artful multiverse# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty multiversedeb http://mirrors.aliyun.com/ubuntu/ artful-updates multiverse# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse## N.B. Software from this repository may not have been tested as## extensively as that contained in the main release Although it includes## newer versions of some applications which may provide useful features.## Also, please note that software in backports WILL NOT receive any review## or updates from the Ubuntu security team.#deb http://mirrors.aliyun.com/ubuntu/ artful-backports main restricted universe multiverse# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse## Uncomment the following two lines to add software from Canonical's## 'partner' repository.## This software is not part of Ubuntu But is offered by Canonical and the## respective vendors as a service to Ubuntu users.# deb http://archive.canonical.com/ubuntu zesty partner# deb-src http://archive.canonical.com/ubuntu zesty partner# deb cdrom: [Ubuntu 17.04 _ Zesty Zapus_-Release amd64 (20170412)] / zesty main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.#deb http://mirrors.aliyun.com/ubuntu/ artful main restricted# Deb-src http://us.archive.ubuntu.com/ubuntu/ zesty main restricted## Major bug fix updates produced after the final release of the## distribution.#deb http://mirrors.aliyun.com/ubuntu/ artful-updates main restricted# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates main restricted## N.B. Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu## team. Also, please note that software in universe WILL NOT receive any## review or updates from the Ubuntu security team.#deb http://mirrors.aliyun.com/ubuntu/ artful universe#deb-src http://us.archive.ubuntu.com/ubuntu/ zesty universe#deb http://mirrors.aliyun.com/ubuntu/ artful-updates universe#deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe## N.B. Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu # # team, and may not be under a free licence. Please satisfy yourself as to # # your rights to use the software. Also, please note that software in # # multiverse WILL NOT receive any review or updates from the Ubuntu## security team.#deb http://mirrors.aliyun.com/ubuntu/ artful multiverse#deb-src http://us.archive.ubuntu.com/ubuntu/ zesty multiverse#deb http://mirrors.aliyun.com/ubuntu/ artful-updates multiverse#deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse## N.B. Software from this repository may not have been tested as## extensively as that contained in the main release Although it includes## newer versions of some applications which may provide useful features.## Also, please note that software in backports WILL NOT receive any review## or updates from the Ubuntu security team.#deb http://mirrors.aliyun.com/ubuntu/ artful-backports main restricted universe multiverse# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse## Uncomment the following two lines to add software from Canonical's## 'partner' repository.## This software is not part of Ubuntu But is offered by Canonical and the## respective vendors as a service to Ubuntu users.# deb http://archive.canonical.com/ubuntu zesty partner# deb-src http://archive.canonical.com/ubuntu zesty partner
3. Update sourc
Sudo apt-get update, thank you for your reading! This is the end of the article on "how to modify the software source of Ubuntu17.10". I hope the above content can be of some help to you, so that 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.
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.