当前位置:网站首页>Construction of Yum warehouse
Construction of Yum warehouse
2022-07-28 07:07:00 【Peanut flavored peanuts】
Catalog
One . Applications and directories
Two .yum Installation of local source
3、 ... and . Installation package installation method
5、 ... and . Manual compilation and installation
Preface
Yum(Yellowdog Updater,Modified For short ), At first, by yellow dog The developer of the distribution Terra Soft Research and development , use Python To write , Later, it was improved by Duke University development team , Hence the name .Yum It's a shell Front end package manager , be based on RPM Package management , Can be automatically downloaded from the specified server RPM Pack and install , You can automatically handle dependencies , And install all the dependent packages at once .
One . Applications and directories
file type Save the directory
Common execution program file /usr/bin
Server executor files and hypervisor files /usr/sbin
Application configuration files /etc
Log files /var/log
Application reference documentation /usr/share/doc
Application man page file /usr/local/share/m
Two .yum Installation of local source
1. First, you need to load the image
Permanently mount : vi /etc/fstab
/dev/sr0 /mnt iso9660 defaults 0 0
mount -a Enable
2.mount /dev/cdrom /mnt/ Mount the CD to /mnt Under the table of contents
![]()
3.cd /etc/yum.repos.d/ Get into yum Source

4.mkdir * repos.bak Create local source
![]()
5.mv * .repos repos.bak Do not read network source
![]()
6.vim local.repo Write local yum Source
[a] Warehouse category
name=a Warehouse name
baseurl=file:///mnt Appoint URL The access path is the CD mount directory
enabled=1 Open this yum Source , This is the default item , Omission
gpgcheck=0 Do not verify the signature of the package

yum clean all && yum makecache Delete yum Cache and update

3、 ... and . Installation package installation method
rpm install
cd /mnt/Packages View all rpm Installation package
rpm -ivh xxx Installation services
rpm -q xxx Look at an installation package
rpm -qc xxx View the configuration file to install the software
rpm -qd xxx List the installed package document locations
rpm -qa xxx Check out all to rpm How to install software
yum install
yum -y install xxx Installation services
yum -y install xxx --nogpgcheck The secret key value is not detected during installation
yum update xxx -y Upgrade software
yum list View the list of installed and installable
yum remove -y xxx Uninstall software
yum clean all eliminate yum cache
yum makecache establish yum New cache
yum info xxx View software information
Four .rpm Management tools
Red-Hat Package Manager
from Red Hat The company proposed , Be numerous Linux The release adopts the establishment of a unified database file
RPM Package management tools
Red-Hat Package Manager
from Red Hat The company proposed , Be numerous Linux The release adopts the establishment of a unified database file
Detailed record package installation 、 Uninstall and other change information to automatically analyze package dependencies
RPM software package
Software material reference : https://rpm.org/
5、 ... and . Manual compilation and installation
yum -y install gcc gcc-c++ make pcre-devel expat-devel perl pcre-devel.x86_64 apr-util-devel.x86_64
边栏推荐
- 登录进oracle10g的oem,想管理监听程序却总是弹出帐号密码输入页面
- [learning notes] VIM editor
- Firewall - iptables firewall (four tables and five links, firewall configuration method, detailed explanation of matching rules)
- MOOC翁恺C语言 第四周:进一步的判断与循环:1.逻辑类型与运算2.级联和嵌套的判断
- easypoi导出隔行样式设置
- joern运行后.joernindex数据库无内容
- Neo4j running error occurred during initialization of VM incompatible minimum and maximum heap sizes spec
- The.Joernindex database has no content after Joern runs
- Esxi community network card driver updated again
- Custom components -- slots
猜你喜欢

MOOC翁恺 C语言 第三周:判断与循环:2.循环

DOM Foundation

bond模式配置

MOOC Weng Kai C language fourth week: further judgment and circulation: 1. Logical types and operations 2. Judgment of cascading and nesting

Use powercli to create a custom esxi ISO image

Custom component -- data listener

Wangeditor (@4.7.15) - lightweight rich text editor

JSON notes

Group management and permission management

shell脚本——正则表达式
随机推荐
Custom component -- pure data field & component life cycle
Esxi community network card driver updated in March 2022
Canvas drawing 2
Esxi community network card driver updated again
Canvas drawing 1
PXE unattended installation management
Multiprocessing (multiprocessing)
多进程(多核运算)Multiprocessing
小甲鱼C(第六章数组1、2)
VNC Timed out waiting for a response from the computer
Shell script - sort, uniq, TR, array sort, cut, Eval command configuration
MOOC翁恺C语言 第六周:数组与函数:1.数组2.函数的定义与使用3.函数的参数和变量4.二维数组
Understanding of C language EOF
About gcc:multiple definition of
NAT-网络地址转换
起点中文网 字体反爬技术 网页可以显示数字字母 网页代码是乱码或空格
Differences and relationships among NPM, Yran and NPX
ES6 add -- > object
Results fill in the blanks carelessly (violent solution)
Shell script -- program conditional statements (conditional tests, if statements, case branch statements, echo usage, for loops, while loops)