随笔分类 - linux
linux相关文档
摘要:
[root@ajsh-dev006 systemd]# cat /usr/lib/systemd/system/kafka.service [Unit] Description=kafka [Service] User=root LimitNOFILE=65535 LimitNPROC=65535
阅读全文

摘要:
[root@master deployment]# yum -y install mtr [root@master deployment]# mtr 36.134.8.76 My traceroute [v0.85] master (0.0.0.0) Tue Dec 6 15:46:38 2022
阅读全文

摘要:
普通用户被锁定 查看所有用户的尝试失败登录次数 [root@mysql-master pam.d]# faillock 只查看admin用户 [root@mysql-master pam.d]# faillock --user admin 解锁一个用户账户 [root@mysql-master pa
阅读全文

摘要:
更改普通用户密码过期时间 解决: 先查看密码过期时间,现在是已经过期了 [root@lecode-pro-master ~]# chage -l lecode Last password change : Aug 16, 2022 Password expires : Nov 14, 2022 Pa
阅读全文

摘要:
ifconfig tunl0 down ip link delete tunl0
阅读全文

摘要:
[root@small-node2 ~]# cat check-yuming-time.sh #!/bin/bash ################ Version Info ################## # Create Date: 2022-10-14 # Author: Anshen
阅读全文

摘要:
[root@small-master ~]# kubectl get po -A -o wide |grep Running |awk '{print $5}' 0 0 0 0 0 1 2 0 1 1 1 2 1 0 1 2 [root@small-master ~]# kubectl get po
阅读全文

摘要:
#修改dns: [root@iZap201hv2fcgry1alvbznZ ~]# vim /etc/resolv.conf #添加此格式的dns nameserver 114.114.114.114 不用任何操作立即生效,重启后失效
阅读全文

摘要:
[root@iZap201hv2fcgry1alvbznZ ~]# curl cip.cc IP : xxx.xxx.xx.xx 地址 : 中国 浙江 绍兴 运营商 : 移动 数据二 : 浙江省绍兴市 | 移动 数据三 : 中国浙江省绍兴市 | 移动 URL : http://www.cip.cc/
阅读全文

摘要:
root@master:~# curl -X POST -H "Content-type: application/json" -d "{\"bizCode\": \"SLb6a98\",\"code\": \"330821194812082874\", \"codeType\": \"idCard
阅读全文
