In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Deploying YUM repositories and NFS shared services
YUM Overview:
YUM (yellow dog updater modified), software update mechanism based on RPM package, which can automatically resolve dependencies and all software packages are provided by centralized YUM software repository
How to provide software warehouse
1. FTP service: ftp://......
2. HTTP Service: http://...
3. Local directory: file://......
Source of RPM package
1. Centos RPM package collection
2. Collection of RPM packages published by third party organizations
3. User-defined RPM package collection
Steps to Build Centos7 Remote Software Repository
1. Mount the image file to the/mnt directory
2. Install ftp service
yum install vsftpd -y
3./ var/directory next appears an ftp directory, ftp directory in the new folder centos7
4. Copy all the contents under mount point and mnt to the newly created folder centos7
[root@localhost ftp]# cp -rf /mnt/* centos7 &
5. Create an extension directory other
6. Create extended directories
[root@localhost ftp]# createrepo -g /mnt/repodata/repomd.xml /other
7. opening service
[root@localhost ~]# systemctl start vsftpd
8. turn off the firewall
[root@localhost ~]# systemctl stop firewalld.service
[root@localhost ~]# setenforce 0
9. Enter client virtual machine and install ftp service
yum install ftp -y
10. Go to/etc/yum.repos.d directory
cd /etc/yum.repos.d/
11. Create a new folder bak and move all files in the current directory to the bak folder as backups
mkdir bak
mv *.repo bak
12. Clear yum cache
yum clean all
13. Create a new repo file
[root@promote yum.repos.d]# vim centos7.repo
14. Loading yum repository
Yum list
15. Try installing packages with yum
Successful installation means that our remote software repository is established
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.