Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Parsing linux package Management and system updates

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1.rpm is an open package management system that provides a way to quickly install software packages

2.rpm can not solve the package dependency very well, so yum.

Rpm command

3. Software package correlation

Rpm-ivh is commonly used to install rpm packages.

Rpm-Uvh is commonly used to upgrade the package.

Rpm-V verification package

The role of the 4.yum installation package

(1) provides a good way to solve the problem of dependency between software packages.

(2) yum is convenient to manage the update problems of a large number of systems

(3) multiple warehouses can be configured.

(4) concise configuration file

(5) easy to use

5. Configure the yum client update source

(1) there is a CentOS- Base.repo file in the / etc/yum.repos.d directory to set up the remote warehouse CentOS-Media.repo to set the local warehouse

(2) in the .repos file, repositoryid: specify a warehouse, name specify the warehouse name, baseurl: specify the URL of the warehouse, mirrorlist specify the image site of the warehouse, enable whether to enable this warehouse, gpgcheck check the GPG signature of the software package, gpgkey: specify the URL of the GPG signature file

Commands for the yum package

6. Speed up yum download

(1)

Vim / etc/yum.conf

(2)

Proxy= proxy ip: user name of the port proxy_username= proxy server proxy_password= proxy server password

7. Configure yum to let yum automatically select the fastest mirror server

Yum install yum-fastestmirror

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report