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--
one。 Deploy YUM software repository
To successfully use the YUM mechanism to update systems and software, you need a software repository (Repository) that contains various rpm installation package files, and the server that provides the software repository is also known as the "source" server. As long as the information such as the address of the software repository is correctly specified in the client, the software can be installed or updated through the corresponding "source" server.
YUM software repositories are usually released with the help of HTTP or FTP protocols, so that software source services can be provided to all clients in the network. In order to facilitate the client to query the software package and obtain the dependency information, it is necessary to provide warehouse data (repodata) in the software repository, in which the header information of all rpm packages under the directory is collected.
Experimental environment preparation
Computer environment preparation tool server installs vsftpd image client installs ftp
The deployment steps are as follows
Server side:
1. Install vsftpd, turn on services, set boot, turn off firewall, turn off enhanced security features
Yum-y install vsftpd
Systemctl start vsftpd
Systemctl enable vsftpd
Systemctl stop firewalled
Setenforce 0
two。 Prepare the software repository directory
Create two directories, centos and other, under / var/ftp/
3. Copy the equipped image to / var/ftp/centos
4. Create repodata data files using createrepo tools
Client
1. Move the reason file in the / etc/yum.repos.d/ directory to another directory for backup
two。 Create a file ending with .repo in the etc/yum.repos.d/ directory as follows
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.