In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
How to update RedHat6.5 to Cent
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.