一佳互联

展开菜单

How to Check vendor of installed RPM packages in Linux

How to Check vendor of installed RPM packages in Linux
This is a quick how-to post on checking the vendor of the installed rpms on a system. In some scenarios, a custom rpm package may not be compatible or supported on the specific system or environment. This post will help you identify th...

How to Check the Size og yum Channels in CentOS/RHEL

How to Check the Size og yum Channels in CentOS/RHEL
Question: How to find out how large a yum channel repository is, to know how much data the channel will sync to a local yum repository? To see the actual size of the repository use either the ‘yum repolist -v‘ or ‘yum repoinfo‘ comman...

How to Check Storage Type in Engine Database (OLVM)

How to Check Storage Type in Engine Database (OLVM)
This is a small how-to post to check the storage type in Engine Database. Table storage_server_connections has all connections information. Run below command on OLVM to get the connection information: $ /usr/share/ovirt-engine/dbscr...

Kubernetes弃用Docker后怎么办?

Kubernetes弃用Docker后怎么办?
Kubernetes弃用Docker后怎么办? 本文转自Rancher Labs 近期,Kubernetes在其最新的Changelog中宣布,自Kubernetes 1.20之后将弃用Docker作为容器运行时。这一消息在云原生领域激起了不小的水花,在Rancher技术社区里许多小伙伴也对此进行了激烈的讨论。 Kubernetes为什么选择弃用Docker呢?我们需要先简单了解Dockershim。它是一个桥接服务,帮助Kubernetes与D...

Linux命令之passwd、chpasswd批量修改密码

Linux命令之passwd、chpasswd批量修改密码
Linux命令之passwd、chpasswd批量修改密码(1).命令passwdpasswd [-k] [-l] [-u [-f]] [-d] [-e] [-n mindays] [-x maxdays] [-w warndays] [-i inactivedays] [-S] [--stdin] [username]  passwd程序用于更新用户的身份验证令牌(口令/密码)。此任务是通过调用Linux-PAM和Libuser API实现的。实际上,它将自身初始化为Lin...

Centos6下rpm升级OpenSSH到openssh-8.4p1版本

Centos6下rpm升级OpenSSH到openssh-8.4p1版本
由于openssh爆出一个特殊漏洞,涉及到8.3p1及以下版本,博客特意编译了一个8.4p1版本进行分享检查环境:[root@test]# ssh -V OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017为保证顺利升级:注意:如果机器做过安全基线整改,建议先自行备份/etc/pam.d/sshd文件,升级后,此文件会被覆盖,如果未修改过,按照文章后续的进行覆盖即可...

CentOS7/RHEL7最小化安装并制作openssh8.4p1的RPM安装包

CentOS7/RHEL7最小化安装并制作openssh8.4p1的RPM安装包
CentOS7/RHEL7最小化安装系统并制作openssh8.4p1的RPM安装包使用rpmbuild将tar包打成rpm包,不喜欢编译升级的,使用RPM升级就方便多了。1,安装依赖环境[root@centos7-31 ~]#  yum install rpm-build zlib-devel openssl-devel gcc perl-devel pam-devel unzip -y[root@centos7-31 ~]#  mkdir -...