当前位置:网站首页>0720RHCSA
0720RHCSA
2022-07-25 13:18:00 【Psc_ February2】
Use rpm install zsh( Ignore dependency installation )
[[email protected] ~]# rpm --nodeps -hiv zsh-5.5.1-9.el8.x86_64.rpm
warning: zsh-5.5.1-9.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:zsh-5.5.1-9.el8 ################################# [100%]
- Check if... Is installed
[[email protected] ~]# rpm -qi zsh-5.5.1-9.el8.x86_64.rpm zsh-5.5.1-9.el8.x86_64uninstall zsh
[[email protected] ~]# rpm -e zsh-5.5.1-9.el8.x86_64Query all installed software
[[email protected] ~]# rpm -qaInquire about date Command package
[[email protected] ~]# whereis date date: /usr/bin/date /usr/share/man/man1/date.1.gz /usr/share/man/man1p/date.1p.gz [[email protected] ~]# cd /usr/bin/ [[email protected] bin]# rpm -qf date coreutils-8.30-12.el8.x86_64Query not installed zsh File information for
[[email protected] bin]# rpm -ql zsh-5.5.1-9.el8.x86_64 package zsh-5.5.1-9.el8.x86_64 is not installedyum Local source configuration
[[email protected] mnt]# mount /dev/sr0 /mnt/ mount: /mnt: /dev/sr0 already mounted on /mnt. [[email protected] mnt]# cd /etc/yum.repos.d/ [[email protected] yum.repos.d]# vim redhat.repo """ [BaseOS] name=BaseOS baseurl=file:///mnt/BaseOS gpgcheck=0 [AppStream] name=AppStream baseurl=file:///mnt/AppStream gpgcheck=0 """ To configure [[email protected] yum.repos.d]# yum clean all [[email protected] yum.repos.d]# yum makecacheyum Network source configuration
sftp> put C:\Users\jameth\Desktop\Centos-vault-8.5.2111.repo /etc/yum.repos.d Uploading C:/Users/jameth/Desktop/Centos-vault-8.5.2111.repo to /etc/yum.repos.d/Centos-vault-8.5.2111.repo C:/Users/jameth/Desktop/Centos-vault-8.5.2111.repo 100% 2519 1.2MB/s 00:00 [[email protected] yum.repos.d]# ls -l total 8 -rw-r--r--. 1 root root 2519 Jul 20 18:57 Centos-vault-8.5.2111.repo -rw-r--r--. 1 root root 487 Jul 20 18:35 redhat.repo [[email protected] yum.repos.d]# yum clean all [[email protected] yum.repos.d]# yum makecacheinstall httpd Software
[[email protected] yum.repos.d]# yum install httpdsee vim Which package does the command belong to
[[email protected] yum.repos.d]# whereis vim vim: /usr/bin/vim /usr/share/vim /usr/share/man/man1/vim.1.gz [[email protected] yum.repos.d]# rpm -qf /usr/bin/vim vim-enhanced-8.0.1763-16.el8.x86_64yum uninstall httpd
[[email protected] yum.repos.d]# yum remove httpdClean cache
[[email protected] yum.repos.d]# yum clean allRecreate cache
[[email protected] yum.repos.d]# yum makecacheinstall postgresql Version in the module 13
[[email protected] yum.repos.d]# yum install @postgresql:13Source code installation : httpd
[[email protected] ~]# tar xf httpd-2.4.12.tar.gz [[email protected] ~]# cd httpd-2.4.12/ [[email protected] ~]# ./configure --prefix=/usr/local/httpd24 --enable-so --enable-rewrite --enable-ssl [[email protected] ~]# make && make installsee root User processes with terminals
[[email protected] ~]# ps -lShow processes without terminals
[[email protected] ~]# ps -xShow all processes
[[email protected] ~]# ps auxsee 1 In minutes CPU Time ago 10 The process of ( Use top command
top |head -;top |grep -v PID|sort -rn -k +|head
边栏推荐
- Vim技巧:永远显示行号
- Shell common script: check whether a domain name and IP address are connected
- The programmer's father made his own AI breast feeding detector to predict that the baby is hungry and not let the crying affect his wife's sleep
- 外围系统调用SAP的WebAPI接口
- Memory layout of program
- IM系统-消息流化一些常见问题
- 如何理解Keras中的指标Metrics
- 为提高效率使用ParallelStream竟出现各种问题
- [machine learning] experimental notes - emotion recognition
- [today in history] July 25: IBM obtained the first patent; Verizon acquires Yahoo; Amazon releases fire phone
猜你喜欢
随机推荐
Convolutional neural network model -- alexnet network structure and code implementation
说说对hashcode和equals方法的理解?
Substance Designer 2021软件安装包下载及安装教程
Django 2 ----- database and admin
牛客论坛项目部署总结
The migration of arm architecture to alsa lib and alsa utils is smooth
The programmer's father made his own AI breast feeding detector to predict that the baby is hungry and not let the crying affect his wife's sleep
Detailed explanation of the training and prediction process of deep learning [taking lenet model and cifar10 data set as examples]
My creation anniversary
并发编程之并发工具集
并发编程 — 内存模型 JMM
如何用因果推断和实验驱动用户增长? | 7月28日TF67
[figure attack and Defense] backdoor attacks to graph neural networks (sacmat '21)
6W+字记录实验全过程 | 探索Alluxio经济化数据存储策略
0717RHCSA
How to use causal inference and experiments to drive user growth| July 28 tf67
Brpc source code analysis (III) -- the mechanism of requesting other servers and writing data to sockets
Docekr学习 - MySQL8主从复制搭建部署
程序的内存布局
简单了解流









