摘要: # 安装 Corosync以及pacemaker 部署 yum install -y pacemaker pcs psmisc policycoreutils-python corosync fence-agents-all systemctl start pcsd.service systemct 阅读全文
posted @ 2018-06-12 15:05 Python学习之路 阅读(486) 评论(0) 推荐(0) 编辑
摘要: # 备份etcd数据 etcdctl backup --data-dir /var/lib/etcd/default.etcd --backup-dir /root/etcd71 etcd备份 使用etcd自带命令etcdctl进行etc备份,脚本如下: #!/bin/bash date_time= 阅读全文
posted @ 2018-06-12 15:04 Python学习之路 阅读(3584) 评论(0) 推荐(0) 编辑
摘要: 转换格式方式也有很多种,最为简单直接的办法直接用Linux自带的OpenSSL软件直接转换。常用格式转换(Certificates Formats)方式。 我们在准备转换格式之前,需要找一台Linux VPS,且已经安装OpenSSL软件的,如果没有安装,自行安装。 第一、PEM 转 PKCS7 o 阅读全文
posted @ 2018-06-12 15:03 Python学习之路 阅读(9493) 评论(0) 推荐(0) 编辑
摘要: 1.下载 IUS 这个社区yum源 yum y install https://centos7.iuscommunity.org/ius release.rpm 2.添加 IUS 之后,先创建缓存元数据,再进行安装即可 yum makecache yum install python36u pyth 阅读全文
posted @ 2018-06-12 15:02 Python学习之路 阅读(841) 评论(0) 推荐(0) 编辑
摘要: 1.首先,进入webconsole目录删除/opt/webconsole/src/golang.org/x/目录下 crypto文件夹 2.然后,在/opt/webconsole/src/golang.org/x/ 在执行 git clone https://github.com/golang/cr 阅读全文
posted @ 2018-06-12 15:00 Python学习之路 阅读(239) 评论(0) 推荐(0) 编辑