1.使用rpm安装mon(忽略依赖关系安装)


  查询是否已安装  
  卸载mon
  查询所有已安装软件


  查询date命令所在软件包


  查询未安装的mon的文件信息


2.yum本地源配置 


  yum网络源配置

安装httpd软件

[root@Gur yum.repos.d]# yum install httpd
Updating Subscription Management repositories.
Unable to read consumer identityThis system is not registered with an entitlement server. You can use subscription-manager to register.Last metadata expiration check: 8:39:31 ago on 2022年04月11日 星期一 23时44分35秒.
Dependencies resolved.
========================================================================================Package             Arch    Version                                   Repository  Size
========================================================================================
Installing:httpd               x86_64  2.4.37-41.module+el8.5.0+11772+c8e0c271   AppStream  1.4 M
Installing dependencies:apr                 x86_64  1.6.3-12.el8                              AppStream  130 kapr-util            x86_64  1.6.1-6.el8                               AppStream  105 khttpd-filesystem    noarch  2.4.37-41.module+el8.5.0+11772+c8e0c271   AppStream   39 khttpd-tools         x86_64  2.4.37-41.module+el8.5.0+11772+c8e0c271   AppStream  106 kmod_http2           x86_64  1.15.7-3.module+el8.4.0+8625+d397f3da     AppStream  154 kredhat-logos-httpd  noarch  84.5-1.el8                                BaseOS      29 k
Installing weak dependencies:apr-util-bdb        x86_64  1.6.1-6.el8                               AppStream   25 kapr-util-openssl    x86_64  1.6.1-6.el8                               AppStream   27 k
Enabling module streams:httpd                       2.4                                                       Transaction Summary
========================================================================================
Install  9 PackagesTotal size: 2.0 M
Installed size: 5.4 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transactionPreparing        :                                                                1/1 Installing       : apr-1.6.3-12.el8.x86_64                                        1/9 Running scriptlet: apr-1.6.3-12.el8.x86_64                                        1/9 Installing       : apr-util-bdb-1.6.1-6.el8.x86_64                                2/9 Installing       : apr-util-openssl-1.6.1-6.el8.x86_64                            3/9 Installing       : apr-util-1.6.1-6.el8.x86_64                                    4/9 Running scriptlet: apr-util-1.6.1-6.el8.x86_64                                    4/9 Installing       : httpd-tools-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64     5/9 Running scriptlet: httpd-filesystem-2.4.37-41.module+el8.5.0+11772+c8e0c271.noa   6/9 Installing       : httpd-filesystem-2.4.37-41.module+el8.5.0+11772+c8e0c271.noa   6/9 Installing       : redhat-logos-httpd-84.5-1.el8.noarch                           7/9 Installing       : mod_http2-1.15.7-3.module+el8.4.0+8625+d397f3da.x86_64         8/9 Installing       : httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64           9/9 Running scriptlet: httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64           9/9 Verifying        : redhat-logos-httpd-84.5-1.el8.noarch                           1/9 Verifying        : apr-1.6.3-12.el8.x86_64                                        2/9 Verifying        : apr-util-1.6.1-6.el8.x86_64                                    3/9 Verifying        : apr-util-bdb-1.6.1-6.el8.x86_64                                4/9 Verifying        : apr-util-openssl-1.6.1-6.el8.x86_64                            5/9 Verifying        : httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64           6/9 Verifying        : httpd-filesystem-2.4.37-41.module+el8.5.0+11772+c8e0c271.noa   7/9 Verifying        : httpd-tools-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64     8/9 Verifying        : mod_http2-1.15.7-3.module+el8.4.0+8625+d397f3da.x86_64         9/9
Installed products updated.Installed:apr-1.6.3-12.el8.x86_64                                                               apr-util-1.6.1-6.el8.x86_64                                                           apr-util-bdb-1.6.1-6.el8.x86_64                                                       apr-util-openssl-1.6.1-6.el8.x86_64                                                   httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64                                  httpd-filesystem-2.4.37-41.module+el8.5.0+11772+c8e0c271.noarch                       httpd-tools-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64                            mod_http2-1.15.7-3.module+el8.4.0+8625+d397f3da.x86_64                                redhat-logos-httpd-84.5-1.el8.noarch                                                  Complete!

查看vim命令属于哪个软件包


  yum卸载httpd

Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transactionPreparing        :                                                                1/1 Running scriptlet: httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64           1/1 Running scriptlet: httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64           1/9 Erasing          : httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64           1/9 Running scriptlet: httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64           1/9 Erasing          : httpd-filesystem-2.4.37-41.module+el8.5.0+11772+c8e0c271.noa   2/9 Running scriptlet: httpd-filesystem-2.4.37-41.module+el8.5.0+11772+c8e0c271.noa   2/9 Erasing          : redhat-logos-httpd-84.5-1.el8.noarch                           3/9 Erasing          : httpd-tools-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64     4/9 Erasing          : apr-util-1.6.1-6.el8.x86_64                                    5/9 Running scriptlet: apr-util-1.6.1-6.el8.x86_64                                    5/9 Erasing          : apr-1.6.3-12.el8.x86_64                                        6/9 Running scriptlet: apr-1.6.3-12.el8.x86_64                                        6/9 Erasing          : apr-util-bdb-1.6.1-6.el8.x86_64                                7/9 Erasing          : apr-util-openssl-1.6.1-6.el8.x86_64                            8/9 Erasing          : mod_http2-1.15.7-3.module+el8.4.0+8625+d397f3da.x86_64         9/9 Running scriptlet: mod_http2-1.15.7-3.module+el8.4.0+8625+d397f3da.x86_64         9/9 Verifying        : apr-1.6.3-12.el8.x86_64                                        1/9 Verifying        : apr-util-1.6.1-6.el8.x86_64                                    2/9 Verifying        : apr-util-bdb-1.6.1-6.el8.x86_64                                3/9 Verifying        : apr-util-openssl-1.6.1-6.el8.x86_64                            4/9 Verifying        : httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64           5/9 Verifying        : httpd-filesystem-2.4.37-41.module+el8.5.0+11772+c8e0c271.noa   6/9 Verifying        : httpd-tools-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64     7/9 Verifying        : mod_http2-1.15.7-3.module+el8.4.0+8625+d397f3da.x86_64         8/9 Verifying        : redhat-logos-httpd-84.5-1.el8.noarch                           9/9
Installed products updated.Removed:apr-1.6.3-12.el8.x86_64                                                               apr-util-1.6.1-6.el8.x86_64                                                           apr-util-bdb-1.6.1-6.el8.x86_64                                                       apr-util-openssl-1.6.1-6.el8.x86_64                                                   httpd-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64                                  httpd-filesystem-2.4.37-41.module+el8.5.0+11772+c8e0c271.noarch                       httpd-tools-2.4.37-41.module+el8.5.0+11772+c8e0c271.x86_64                            mod_http2-1.15.7-3.module+el8.4.0+8625+d397f3da.x86_64                                redhat-logos-httpd-84.5-1.el8.noarch                                                  Complete!

清理缓存


  重新创建缓存

Linux之管理工具相关推荐

  1. ​Linux进程管理工具

    Linux进程管理工具 一.pstree:查看进程树结构 二.ps命令使用 1.命令说明 ps:显示进程状态的命令,快照式.一次性 2.常用组合参数 aux: -ef: 例如: 3.各选项代表意义: ...

  2. 用户管理 之 Linux 用户管理工具介绍

    作者:北南南北 赞助: 来自:LinuxSir.Org 摘要: 本文主要介绍Linux系统的用户和用户组的查询.添加.修改及删除等管理工具: 目录索引 一.与用户管理相关的配置文件: 1./etc/p ...

  3. Linux进程管理工具 Supervisor详解

    介绍 Supervisor安装与配置(linux/unix进程管理工具) Supervisor(http://supervisord.org)是用Python开发的一个client/server服务, ...

  4. linux日志管理工具logrotate配置

    linux日志管理工具logrotate配置 logrotate介绍 logrotate配置讲解 主配置文件解释(/etc/logrotate.conf) logrotete 命令参数 添加配置 以添 ...

  5. Linux 进程管理工具:supervisor

    Linux 进程管理工具:supervisor supervisor简介 在Linux服务器中,有时候我们需要一个进程需要可靠的在后台运行,并且能够监控进程状态,在意外结束时能够自动重启等.此时就可以 ...

  6. Linux 用户管理工具介绍

    目录索引 一.与用户管理相关的配置文件: 1./etc/passwd 和/etc/groups 2.超级权限控制 sudo 的配置文件/etc/sudoers : 3.添加用户规则文件 /etc/lo ...

  7. linux远程管理工具之tabby

    linux远程管理工具之tabby Tabby简介 Tabby下载及安装 PowerShell 快捷键 Tabby简介 tabby是一款开源且免费的终端连接工具,可以使用于多平台,例如:windows ...

  8. Linux 进程管理工具

    Linux进程管理命令:     pstree.ps.top.pidof.htop.glances.pmap.vmstat.dstat.kill.pkill.job.bg.fg.nohup.pgrep ...

  9. linux 修改权限 anyone,linux 进程管理工具

    狭义定义:进程是正在运行的程序的实例. 广义定义:进程是一个具有一定独立功能的程序关于某个数据集合的一次运行活动.它是操作系统动态执行的基本单元,在传统的操作系统中,进程既是基本的分配单元,也是基本的 ...

  10. Linux远程管理工具(PuTTY和SecureCRT)

    通过<Linux远程管理协议>一节可以知道,Linux远程管理服务器多基于 SSH 协议.本节给大家介绍 2 种常见的基于 SSH 协议的远程管理工具,分别是 PuTTY 和 Secure ...

最新文章

  1. keras-yolo3:python库之keras-yolo3的简介、安装、使用方法详细攻略
  2. 从3个科技公司里学到的57条经验(转)
  3. Linux vim使用心得--一些高级话题
  4. OpenUDID 是否足够替代 UDID 使用?有何不同?
  5. Newbe.Claptrap 0.9.4 发布,全新构建
  6. 谈谈阿里所谓的——要性
  7. python理论知识选择题_python基础知识练习题(二)
  8. 详解微软 ALUM:当语言模型遇到对抗训练
  9. linux gdb 寄存器,x86 调试寄存器
  10. 电脑前面耳机插孔没声音,后面有声音
  11. 【Heydrones】飞手百科第一篇:一定要看的无人机原理总结
  12. spine 导出纹理_Spine 的纹理打包器(texture packer)详解
  13. 我收集的CS地图mod制作网址
  14. 嵌入式分享合集126
  15. 论文阅读:(NIPS 2021)NeRV: Neural Representations for Videos
  16. js中几种对数值取整数和小数部分的方法
  17. LaTeX:求和,积分,(上、下)极限,收敛符号,上下确界等
  18. 榕树贷款利用AI人工智能技术发送非常迅速(榕树贷款)
  19. 正则表达式在IE7浏览器出现校验结果不正确
  20. 使用Java实现矩形 平行四边形 等腰三角形 菱形 倒三角

热门文章

  1. arm linux s文件夹,armv7对应的CACHE操作相关文件解析
  2. 安溪二中高考2021成绩查询,2021年安溪县高考状元名单资料,今年安溪县高考状元多少分...
  3. 递归求斐波那契数列第n个数
  4. 带哨兵的环形双向链表
  5. 【CCF认证 201612-2 】工资计算
  6. fts:路径 XXX 已在工作区 XXX;XXX 中映射
  7. SpringBoot进入debug模式
  8. 【软考软件评测师】2015综合知识历年真题
  9. Cisco认证考试教材题库合集(20套)
  10. 2020-09-16