In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
When you install xxpackage, the NO package bind available appears as follows:
[root@host /] # yum-y install bind
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Setting up Install Process
No package bind available.
I'm used to installing software with yum. I feel like I broke which configuration file I downloaded. So look up the information on the Internet and finally find the reason: there is a configuration file in Centos to store all kinds of software download information, and you will find the software image site automatically when you install it with yum. I hear there are thousands. Enter the following path to see:
Ls / etc/yum.repos.d/
We'll see a file.
CentOS-Base.repo
Enter the command line
Cat CentOS-Base.repo
The result is empty.
Backup / etc/yum.repos.d/CentOS-Base.repo first
Mv / etc/yum.repos.d/CentOS-Base.repo / etc/yum.repos.d/CentOS-Base.repo.backup
Download the corresponding version of repo file and put it in / etc/yum.repos.d/ (please make a backup before operation)
Run yum makecache to generate the cache.
=
CentOS 6
Wget-O / etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
CentOS 5
Wget-O / etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo============================================================
From: http://blog.csdn.net/liangliangdetianxia/article/details/35796709
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.