当前位置:网站首页>0720RHCSA
0720RHCSA
2022-07-25 12:59:00 【Psc_February2】
使用rpm安装zsh(忽略依赖关系安装)
[[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%]
- 查询是否已安装
[[email protected] ~]# rpm -qi zsh-5.5.1-9.el8.x86_64.rpm zsh-5.5.1-9.el8.x86_64卸载zsh
[[email protected] ~]# rpm -e zsh-5.5.1-9.el8.x86_64查询所有已安装软件
[[email protected] ~]# rpm -qa查询date命令所在软件包
[[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_64查询未安装的zsh的文件信息
[[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本地源配置
[[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 """配置 [[email protected] yum.repos.d]# yum clean all [[email protected] yum.repos.d]# yum makecacheyum网络源配置
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 makecache安装httpd软件
[[email protected] yum.repos.d]# yum install httpd查看vim命令属于哪个软件包
[[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卸载httpd
[[email protected] yum.repos.d]# yum remove httpd清理缓存
[[email protected] yum.repos.d]# yum clean all重新创建缓存
[[email protected] yum.repos.d]# yum makecache安装postgresql模块中的版本13
[[email protected] yum.repos.d]# yum install @postgresql:13源码安装: 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 install查看root用户带有终端的进程
[[email protected] ~]# ps -l显示没有终端的进程
[[email protected] ~]# ps -x显示所有进程
[[email protected] ~]# ps aux查看1分钟内占用CPU时间前10的进程(使用top命令
top |head -;top |grep -v PID|sort -rn -k +|head
边栏推荐
- 零基础学习CANoe Panel(14)——二极管( LED Control )和液晶屏(LCD Control)
- Substance Designer 2021软件安装包下载及安装教程
- 【AI4Code】《InferCode: Self-Supervised Learning of Code Representations by Predicting Subtrees》ICSE‘21
- Detailed explanation of switch link aggregation [Huawei ENSP]
- [review SSM framework series] 15 - Summary of SSM series blog posts [SSM kill]
- 卷积神经网络模型之——VGG-16网络结构与代码实现
- [Video] visual interpretation of Markov chain principle and Mrs example of R language region conversion | data sharing
- Atcoder beginer contest 261e / / bitwise thinking + DP
- [机器学习] 实验笔记 – 表情识别(emotion recognition)
- A turbulent life
猜你喜欢

clickhouse笔记03-- Grafana 接入ClickHouse

Convolutional neural network model -- googlenet network structure and code implementation

Clickhouse notes 03-- grafana accesses Clickhouse

程序员奶爸自制AI喂奶检测仪,预判宝宝饿点,不让哭声影响老婆睡眠

Shell常用脚本:获取网卡IP地址

Selenium use -- installation and testing

卷积核越大性能越强?一文解读RepLKNet模型

Shell common script: judge whether the file of the remote host exists

【AI4Code】《Pythia: AI-assisted Code Completion System》(KDD 2019)

B tree and b+ tree
随机推荐
如何用因果推断和实验驱动用户增长? | 7月28日TF67
Docekr学习 - MySQL8主从复制搭建部署
并发编程 — 内存模型 JMM
【CSDN 年终总结】结束与开始,一直在路上—— “1+1=王”的2021总结
The world is exploding, and the Google server has collapsed
Masscode is an excellent open source code fragment manager
【GCN】《Adaptive Propagation Graph Convolutional Network》(TNNLS 2020)
7行代码让B站崩溃3小时,竟因“一个诡计多端的0”
Date and time function of MySQL function summary
Convolutional neural network model -- lenet network structure and code implementation
Shell common script: get the IP address of the network card
Azure Devops(十四) 使用Azure的私有Nuget仓库
【AI4Code】《GraphCodeBERT: Pre-Training Code Representations With DataFlow》 ICLR 2021
[Video] Markov chain Monte Carlo method MCMC principle and R language implementation | data sharing
Machine learning strong foundation program 0-4: popular understanding of Occam razor and no free lunch theorem
Shell Basics (exit control, input and output, etc.)
JS 中根据数组内元素的属性进行排序
Simple understanding of flow
B tree and b+ tree
一味地做大元宇宙的规模,已经背离了元宇宙本该有的发展逻辑