In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
We know that so far, there have been several distributions of Ubuntu, such as 11.04,11.10, and now the latest 16.*. We usually install software through apt-get. If the version of OS is different, then the configuration of the image source is different, otherwise there will be a series of strange problems such as unable to find the corresponding software, mismatch of software version and so on. Here, I'll talk about how to configure different versions of the mirror source. Here, I will take NetEase's mirror source as an example.
Search for "NetEase apt-get source" and you can basically find the following content. As a writer who just started using Ubuntu, he foolishly thought that this configuration conformed to all versions, and as a result, there was a mismatch between the above version of the installation software and the dependent package.
Deb http://mirrors.163.com/ubuntu/ Codename main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ Codename-security main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ Codename-updates main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ Codename-proposed main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ Codename-backports main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ Codename main restricted universe multiversedeb-src http://mirrors .163.com / ubuntu/ Codename-security main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ Codename-updates main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ Codename-proposed main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ Codename-backports main restricted universe multiverse
In the above configuration, what indicates the version is the keyword "Codename", which is a form of the Ubuntu representation version (Ubuntu calls it Codename), which corresponds to a distribution. The corresponding relationship between the version number and Codename is shown in the following table. Here you just need to replace the above Codename string with the specific Codename below.
Version number: Codename11.04: natty11.10: oneiric12.04: precise12.10: quantal13.04: raring13.10: saucy14.04: trusty14.10: utopic15.04: vivid15.10: wily...
It doesn't matter if you don't know Codename, just enter the command "lsb_release-a" on the Ubuntu command line to display its Codename. As follows, trusty is the Codename of 14.04.
# lsb_release-aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 14.04LTSRelease: 14.04Codename: trusty
Replace the modified configuration into / etc/apt/sources.list, then type apt-get update, and after the index is updated, you can install the software through apt-get install.
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.