摘要: 在 ​​Anolis OS 8​​ 上配置 ​​LDAP 账户登录(使用 nslcd)​​,以下是 ​​完整步骤​​: ​​1. 安装必要的软件包​​ sudo dnf install -y openldap-clients nss-pam-ldapd authselect authconfig - 阅读全文
posted @ 2025-09-12 10:50 aaahwh 阅读(8) 评论(0) 推荐(0)
摘要: linux实现ldap账户分组登录 仅允许it组的用户访问该机器 vi /etc/pam.d/sshd 在最顶部添加 auth [success=1 default=ignore] pam_succeed_if.so user ingroup it auth requisite pam_deny.s 阅读全文
posted @ 2025-09-10 11:13 aaahwh 阅读(4) 评论(0) 推荐(0)
摘要: 一.LDAP是什么 后期更新,目前只搭建了服务器 二.linux搭建LDAP服务器 以下服务器信息为该文档安装ldap服务环境 服务器信息:CentOS7 内核版本:3.10.0-1160.el7.x86_64 1.使用yum进行安装 yum -y install openldap compat-o 阅读全文
posted @ 2025-09-08 11:16 aaahwh 阅读(33) 评论(0) 推荐(0)
摘要: 在CentOS/RHEL#Ubuntu/Debian上配置 LDAP 账户登录需要完成以下步骤: ​​1. 安装必要的软件包 # CentOS/RHEL ​​ sudo yum install -y openldap-clients nss-pam-ldapd authconfig # Ubuntu 阅读全文
posted @ 2025-09-05 13:29 aaahwh 阅读(47) 评论(0) 推荐(0)
摘要: KVM存储虚拟化是通过存储池(Storage Pool)和卷(Volume)来管理的。Storage Pool 是宿主机上可以看到的一片存储空间,可以是多种类型,Volume 是在 Storage Pool 中划分出的一块空间,宿主机将 Volume 分配给虚拟机,Volume 在虚拟机中看到的就是 阅读全文
posted @ 2025-08-05 15:08 aaahwh 阅读(10) 评论(0) 推荐(0)
摘要: Linux查看PCIe版本及速率 PCIE有四种不同的规格,通过下图来了解下PCIE的其中2种规格 查看主板上的PCI插槽 # dmidecode | grep --color "PCI" 不同PCIe版本对应的传输速率如下: 传输速率为每秒传输量GT/s,而不是每秒位数Gbps,因为传输量包括不提 阅读全文
posted @ 2025-07-28 12:20 aaahwh 阅读(308) 评论(0) 推荐(0)
摘要: 请根据具体错误信息选择对应的修复步骤。如果问题仍然存在,建议提供 journalctl -u openstack-cinder-volume -b的完整输出。 [root@controller ~]# systemctl list-units --all | grep cinder openstac 阅读全文
posted @ 2025-07-18 14:48 aaahwh 阅读(8) 评论(0) 推荐(0)
摘要: 创建一个flavor openstack flavor create\ --vcpus 2\ --ram 4096\ --disk 40\ --public\ m1.custom 方法 1:通过 cloud-init 自动注入密码(推荐)​​ 适用于支持 cloud-init 的镜像(如 Ubunt 阅读全文
posted @ 2025-06-16 11:17 aaahwh 阅读(20) 评论(0) 推荐(0)
摘要: sudo parted /dev/mapper/mpatha print Model: Linux device-mapper (multipath) Disk /dev/mapper/mpatha: 14.5TB Sector size (logical/physical): 512B/512B 阅读全文
posted @ 2025-06-12 17:47 aaahwh 阅读(12) 评论(0) 推荐(0)
摘要: openstack导入qcow2镜像 openstack image create "centos7" \ --file CentOS-7-x86_64-GenericCloud.qcow2 \ --disk-format qcow2--container-format bare \ --publi 阅读全文
posted @ 2025-06-12 14:53 aaahwh 阅读(59) 评论(0) 推荐(0)