摘要: 在更改系统上任何用户的密码时,要求输入密码三次(或多次)。 [root@server ~]# passwd testuser Changing password for user testuser. New password: Retype new password: Retype new password: passwd: all authentication tokens updated successfully. 阅读全文
posted @ 2020-11-19 17:41 吴诺克 阅读(1818) 评论(0) 推荐(0) 编辑
摘要: 一处复制,处处粘贴。 阅读全文
posted @ 2020-07-15 16:00 吴诺克 阅读(708) 评论(0) 推荐(0) 编辑
摘要: SDelete是一款来自于微软Sysinternals[1]的应用。使用SDelete可以安全的删除现有文件,以及安全地擦除磁盘的未分配部分中存在的数据(包括已经删除或加密的文件)。SDelete使用美国国防部清理标准DOD 5220.22-M,一旦使用SDelete删除,文件数据将永远消失。 —— 阅读全文
posted @ 2020-07-14 09:50 吴诺克 阅读(2065) 评论(0) 推荐(0) 编辑
摘要: 配置流程 配置SNMPV1/V2C 配置端口 admin:/>show snmp port SNMP Listening Port : 161 admin:/>change snmp port port_number=20000 WARNING: You are about to change th 阅读全文
posted @ 2020-07-13 16:22 吴诺克 阅读(1633) 评论(0) 推荐(0) 编辑
摘要: 修改ssh端口 vi /etc/ssh/sshd_config 将Port修改为需要的端口 Port 212 重启ssh服务 service sshd restart 查看ssh端口 netstat -anp |grep 22 netstat -anp |grep ssh lsof -i :22 阅读全文
posted @ 2020-06-23 14:00 吴诺克 阅读(7272) 评论(0) 推荐(0) 编辑
摘要: 有一个需求,新建200个虚拟机,这要是一个一个去建那我可就疯了。想起之前听vmware原厂工程师说过的这个powercli,就着手研究了一下。 将以下文件存储为 *.ps1 #在使用时应使用VMware PowerCLI (32-Bit) $vc='86.12.92.4' #vc地址 Connect 阅读全文
posted @ 2020-06-13 21:00 吴诺克 阅读(788) 评论(0) 推荐(1) 编辑
摘要: Another app is currently holding the yum lock; waiting for it to exit... 可能是系统自动升级正在运行,yum在锁定状态中。 已经有一个yum进程在运行了,使用kill干掉它: # kill -s 9 25960 # ps aux 阅读全文
posted @ 2020-06-12 14:30 吴诺克 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 因为有一块磁盘告警,需要找到这个块磁盘。通过网络搜索就找到了这个shell脚本。 感谢 Jorluis Perales, VxRail TSE 2 shell脚本: # Script to obtain the placement of the physical disk by naa on ESX 阅读全文
posted @ 2020-06-07 10:36 吴诺克 阅读(1314) 评论(0) 推荐(0) 编辑
摘要: 是因为VMware新发布的一个漏洞补丁导致的具体解释可参阅VMware官方kb,有详细解释和版本说明。 可选择屏蔽该问题告警 选中主机>配置>高级系统设置>编辑>修改“UserVars-UserVars.SuppresshyperThreadWarring”的值为1! ​ ​ [1]https:// 阅读全文
posted @ 2020-05-11 12:56 吴诺克 阅读(2586) 评论(0) 推荐(0) 编辑
摘要: 使用直接控制台用户界面 (DCUI)重启管理代理: 连接到您的 ESXi 主机的控制台。 按 F2 自定义系统。 以 root 身份登录。 使用上下箭头导航至故障排除选项>重新启动管理代理。 按 Enter 键。 按 F11 重新启动服务。 服务重新启动时,按 **Enter **键。 按 Esc 阅读全文
posted @ 2020-03-11 21:23 吴诺克 阅读(2232) 评论(0) 推荐(0) 编辑
Copyright © 豆子林克 DOUZI.LINK  版权所有. 除特别申明外,本站原创内容版权遵循 CC-BY-NC-SA 协议规定