会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
安东尼漂流记
博客园
首页
新随笔
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
39
下一页
2019年12月13日
centos7 为使用su命令的用户添加pam授权认证
摘要: # 查看用户所属哪个组 groups 用户名 #查看当前有哪些用户运行程序 ps -aux|awk '{print $1}'|sort -rn|uniq -c|sort -rn # 清理不再使用的用户、组 userdel -r 用户名 groupdel 用户组 # 开启pam权限认证: echo "
阅读全文
posted @ 2019-12-13 14:44 Done、
阅读(836)
评论(0)
推荐(0)
2019年12月12日
k8s 证书反解
摘要: k8s证书反解 1、将k8s配置文件(kubelet.kubeconfig)中client-certificate-data:内容拷贝 2、echo "client-certificate-data:内容"|base64 -d > 123.pem 3、展示证书内容:cfssl-certinfo -c
阅读全文
posted @ 2019-12-12 18:01 Done、
阅读(808)
评论(0)
推荐(0)
2019年12月10日
使用keepalived实现kubenetes apiserver高可用
摘要: # 安装 nginx yum install nginx -y # 配置nginx4层代理 /etc/nginx/nginx.conf stream { upstream kube-apiserver { server 10.4.7.21:6443 max_fails=3 fail_timeout=
阅读全文
posted @ 2019-12-10 17:16 Done、
阅读(845)
评论(0)
推荐(0)
2019年12月9日
nginx 二级目录高级写法
摘要: nginx二级目录高级配置: location ~ .*\.(html)$ { expires 1m; error_page 404 = /test/index.html; access_log /data/log/test.access.log main; } location ~ .*\.(js
阅读全文
posted @ 2019-12-09 17:13 Done、
阅读(2266)
评论(0)
推荐(0)
如何创建etcd双向通信证书
摘要: # 安装证书生成软件 wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 -O /usr/bin/cfssl wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 -O /usr/bin/cfssl
阅读全文
posted @ 2019-12-09 16:40 Done、
阅读(344)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
39
下一页