其他分享
首页 > 其他分享> > RHCSA-----第13天

RHCSA-----第13天

作者:互联网

内容:

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

  查询是否已安装

  查询所有已安装软件

  卸载zsh


[root@rhcsa-ma ~]# rpm -i --nodeps zsh-5.5.1-6.el8_1.2.x86_64.rpm
[root@rhcsa-ma ~]# rpm -aq | grep zsh
zsh-5.5.1-6.el8_1.2.x86_64
[root@rhcsa-ma ~]# rpm -e zsh
[root@rhcsa-ma ~]# rpm -aq

  查询date命令所在软件包

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


2.yum本地源配置

[root@rhcsa-ma /]# cd /etc/yum.repos.d/
[root@rhcsa-ma yum.repos.d]# vim redhat.repo
[root@rhcsa-ma yum.repos.d]# yum repolist


  yum网络源配置


  安装httpd软件


  查看vim命令属于哪个软件包
  yum卸载httpd
  清理缓存 


  重新创建缓存 


3.源码安装: memcached

[root@rhcsa-ma ~]# tar -xzf memcached-1.6.12.tar.gz /usr/local/memcached
./configure  --prefix=/usr/local/memcached
make
make install


 
4.查看root用户带有终端的进程


  显示没有终端的进程


  显示所有进程


  ps -aux和ps aux的区别

 

ps -x
ps -a 
ps -aux 不同于 ps aux 二者针对不同的系统来说
bsd使用的-aux
unix使用的是aux

标签:zsh,13,ma,RHCSA,rhcsa,-----,aux,yum,root
来源: https://blog.csdn.net/weixin_51756171/article/details/121621312