会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
libin-linux
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
26
下一页
2023年6月25日
linux系统passwd与usermod锁定和解锁用户
摘要: 锁定用户 passwd -l 用户名 usermod -L 用户名 解锁用户 passwd -u 用户名 usermod -U 用户名 查看账户状态 passwd -S 用户名
阅读全文
posted @ 2023-06-25 09:10 LB_运维技术
阅读(123)
评论(0)
推荐(0)
2023年6月13日
NMI watchdog :BUG:softlockup 解决方案
摘要: 问题现象: 解决方案: 解决办法:设置为30s覆盖到配置文件中echo 30 > /proc/sys/kernel/watchdog_thresh 查看tail -1 /proc/sys/kernel/watchdog_thresh30临时生效sysctl -w kernel.watchdog_th
阅读全文
posted @ 2023-06-13 17:55 LB_运维技术
阅读(2352)
评论(0)
推荐(0)
连接远程服务器提示报错: All avaiable GSSAPI mechanisms failed
摘要: 解决方案: (1)设置PasswordAuthentication为yes [root@VM-4-3-centos libin]# vim /etc/ssh/sshd_config 修改后的配置: PasswordAuthentication yes (2)重启sshd服务 [root@VM-4-3
阅读全文
posted @ 2023-06-13 17:49 LB_运维技术
阅读(368)
评论(0)
推荐(0)
谈谈Linux系统连接数
摘要: 一、系统默认最大连接数 (1).这是由于当前系统连接数量(默认为65536)超出最大限制所导致,该值由内核参数netnetfilter.nf_conntrack_max定义,使用sysctl 命令可以查看该值 (2).意味着默认情况下,最多维持65536个连接数,一旦连接数超出该值,系统就会拒绝后续
阅读全文
posted @ 2023-06-13 17:23 LB_运维技术
阅读(3130)
评论(0)
推荐(1)
2023年6月9日
[Redhat7]Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory报错
摘要: [Redhat7]Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory 报错 解决方案: [root@localhost ~]# modprobe ipmi_wa
阅读全文
posted @ 2023-06-09 11:38 LB_运维技术
阅读(640)
评论(0)
推荐(0)
2023年4月12日
linux 系统巡检脚本
摘要: #!/bin/bash read key echo "警告:本脚本只是一个检查的操作,未对服务器做任何修改,管理员可以根据此报告进行相应的设置。" echo 主机安全检查 echo "系统版本" uname -a echo echo "本机的ip地址是:" ifconfig | grep --col
阅读全文
posted @ 2023-04-12 09:17 LB_运维技术
阅读(254)
评论(0)
推荐(0)
2023年3月31日
Linux 命令行增加VIP
摘要: 例如: # ifconfig eth4:0 10.154.X.X netmask 255.255.255.224 up
阅读全文
posted @ 2023-03-31 16:12 LB_运维技术
阅读(210)
评论(0)
推荐(0)
2023年3月24日
ansible 账号授权
摘要: - name: add libin sudo config hosts: task gather_facts: no tasks: - name: jiesuo shell: pam_tally2 -u libin -r - name: one user: name: "{{ item.user }
阅读全文
posted @ 2023-03-24 17:58 LB_运维技术
阅读(36)
评论(0)
推荐(0)
K8S serviceAccount(服务账号)-安全
摘要: 创建一个命名空间test [root@cka-master ~]# kubectl create ns test 创建pod为web-test并指定命名空间test [root@cka-master ~]# kubectl create deployment web-test --image=ngi
阅读全文
posted @ 2023-03-24 02:06 LB_运维技术
阅读(119)
评论(0)
推荐(0)
2023年3月20日
ansible批量执行输出所有账户
摘要: [root@libin3]# cat libin.yml - hosts: task gather_facts: no tasks: - name: fetch shell: | for i in `awk -F':' '{if( $3>=500 )print $1 }' /etc/passwd |
阅读全文
posted @ 2023-03-20 15:07 LB_运维技术
阅读(45)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
26
下一页
公告