摘要: 启用EPEL6 yum源: 1、RHEL/CentOS/SL Linux 6.x 下安装 EPEL6 yum源: 32位系统选择:rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rp 阅读全文
posted @ 2016-10-09 16:57 Python学习之路 阅读(347) 评论(0) 推荐(0) 编辑
摘要: Linux系统: mkdir ~/.pip cat > ~/.pip/pip.conf << EOF [global] trusted-host=mirrors.aliyun.com index-url=https://mirrors.aliyun.com/pypi/simple/ EOF Wind 阅读全文
posted @ 2016-09-26 15:44 Python学习之路 阅读(32785) 评论(0) 推荐(2) 编辑
摘要: # 安装 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学习之路 阅读(479) 评论(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学习之路 阅读(3577) 评论(0) 推荐(0) 编辑
摘要: 转换格式方式也有很多种,最为简单直接的办法直接用Linux自带的OpenSSL软件直接转换。常用格式转换(Certificates Formats)方式。 我们在准备转换格式之前,需要找一台Linux VPS,且已经安装OpenSSL软件的,如果没有安装,自行安装。 第一、PEM 转 PKCS7 o 阅读全文
posted @ 2018-06-12 15:03 Python学习之路 阅读(9456) 评论(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学习之路 阅读(837) 评论(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学习之路 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 第一步,vim .zshrc 添加 #ZSH_THEME="robbyrussell"#ZSH_THEME="agnoster" #ZSH_THEME="fino"ZSH_THEME="fino-time"#ZSH_THEME="ys"#ZSH_THEME="pygmalion"#ZSH_THEME 阅读全文
posted @ 2018-04-04 19:26 Python学习之路 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 报错提示: -bash: rvm: command not found 解决方案: curl -L https://get.rvm.io | bash -s -- --version latest source ~/.profile 阅读全文
posted @ 2018-04-04 10:25 Python学习之路 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 在桌面上新建一个文件,名字叫 monokai.xcs ,然后我们写入内容: [monokai]text=ffffffcyan(bold)=a6e22etext(bold)=ffffffmagenta=f92672green=80ff80green(bold)=80ff80background=272 阅读全文
posted @ 2018-03-28 02:20 Python学习之路 阅读(664) 评论(0) 推荐(0) 编辑
摘要: /etc/DIR_COLORS 默认值 # Background color codes:# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=whiteNORMAL 00 # global default, altho 阅读全文
posted @ 2018-02-24 21:35 Python学习之路 阅读(238) 评论(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 @ 2017-10-20 14:50 Python学习之路 阅读(461) 评论(0) 推荐(1) 编辑