Insert picture description here

Build a YUM software warehouse based on file (local), ftp service and http service_weixin_45116657’s blog

class=”markdown_views prism-atom-one-dark”> 1. Introduction to yum (1) Introduction to yum Yum can automatically download and install RPM packages from a specified server, automatically resolve dependencies, and install all dependent software packages at one time, without the need to download and install tediously again and again. Yum provides commands to find, install, and delete a certain, a group or even all software packages, and the commands are concise and easy to remember. (2) yum software warehouse configuration file (/etc/yum.reops.d/rhel-source.repo) All information of yum is stored in a configuration file called yum.reops.d directory, usually located in /etc/yum.reops.d directory, the rhel-source.repo file in this directory is The configuration file of the yum software warehouse; the following experiments are based on the modification of this configuration file; Where: name=Red Hat Enterprise Linux —–>specific yum source name baseurl —–>mirror server address, you can only write a specific address; enabled=1 —–>Enable warehouse, 1 is enabled, 0 is disabled; gpgcheck=1—->use the public key to verify the correctness of rpm, 0 is disabled; gpgcheck—->If it is 1, the downloaded rpm will be verified by gpg, and the verification key is gpgkey. Generally, your own yum source does not need to be checked. 2. Build a YUM software warehouse…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索