当前位置:网站首页>Installation management program
Installation management program
2022-07-20 10:24:00 【1701y】
The directory structure of a typical application
file type | Save the directory |
---|---|
Common executable program files | /usr/bin |
Server program 、 Manage program files | /usr/sbin |
Application configuration files | /etc |
Log files | /var/log |
Common types of software packaging 
rpm
rpm command
rpm -q The software name # Query whether the specified software is installed
rpm -qc The software name # List the configuration files of the installed software
rpm -qd The software name # List the location of the documentation for the installed software
rpm -qa # Show all systems with rpm List of all software installed by ( Use with caution )
Used in combination with filtration, such as rpm -qa | grep -i “httpd”
rpm -qpi file name # View the details of uninstalled packages
rpm -ivh Installation package install
rpm -evh Name of service Do not use the full name of the installation package uninstall
yum
yum -y install The software name Install package Detect updates Connect to the public software package warehouse to download and install Resolvable dependencies ( Have a network )
yum -y remove The software name Uninstall package
yum -y uodate The software name Upgrade package
yum list Query package list
Local source repository
Configure local yum Source warehouse
mount /dev/cdrom /mnt/ # Mount the CD to /mnt Under the table of contents
cd /etc/yum.repos.d/
mkdir repos.bak
mv *.repo repos.bak
cd /etc/yum.repos.d/
vim local.repo
[local] # Warehouse category
name=local # 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
Although in actual use ,yum It is often our priority
边栏推荐
猜你喜欢
Working principle and configuration of static routing
关于基础资源信息查询和关键数据的查看
[resource record] as a self-study record of programmers on Chi square distribution / detection, t distribution / detection, F distribution / detection in statistics
论文笔记:Knowing When to Look: Adaptive Attention viaA Visual Sentinel for Image Captioning# Knowing Whe
第二次实验 静态路由的扩展配置
Network Security Learning (XXIII) firewall
Overview of key core technologies of intelligent operation and maintenance aiops worth seeing
Network Security Learning (XVIII) single arm routing, ICMP, layer 3 switching
Nanjing University calculation method (numerical analysis) final review notes
【资源记录】VAE 学习笔记
随机推荐
Build LVM on disk array (RAID)
Network Security Learning (XX) ACL
重载(Overload) 与 重写(Override)的区别
Notes on using GST launch
黑马程序员方式一实现多线程
Overview of key core technologies of intelligent operation and maintenance aiops worth seeing
Network Security Learning (XIX) HSRP protocol
Configuring multiple servers with ZABBIX agent
静态路由工作原理与配置
List、Set、Map、Queue、Deque、Stack遍历方式总结
字符串常见方法总结:
[resource record] the relationship between manifold learning and PCA
【资源记录】流形学习 Manifold learning 和 PCA 的关系
ModuleNotFoundError: No module named 'cv2'
ZABBIX automatically discovers and monitors GPU
单臂路由和VRRP
zabbix agent配置多server
Scala case (companion object)
Nanjing University calculation method (numerical analysis) final review notes
黑马程序员线程通信【了解】