In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
1. Configure a local yum source
Mount / iso/ image name / mnt
Vim / etc/yum.repos.d/yum.repo (yum source profile)
[yumsource]
Name=yumsource
Baseurl= file:///mnt
Gpgcheck=0
two。 Configure a network yum source
Echo "/ iso/ image name image mount point iso9660 ro 0" > > / etc/fstab (auto mount on boot) [Note that / etc/fstab file cannot be overwritten]
Execute mount-an after modifying fstab
Vim / etc/yum.repos.d/yum/repo
[yumsource]
Name=yumsource
Baseurl= file:///mnt
Gpgcheck=0
3. Establishment of third-party software library
Move third-party software to / software
Execute createrepo / software in the directory
Generate repodate directory
Write yum source configuration file
4.yum software control
Vim / etc/yum.conf
Exclude=*.x86_64 (ignore 64-bit installation packages)
Exclude=*.i686 (ignore 32-bit installation packages)
5.yum list all lists all installation packages
Yum remove uninstall
Yum search search
Yum whatprovides searches for software packages that contain a file
Yum info query software information
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.