Kubernetes环境搭建

Docker安装 环境:CentOS/RHEL 7.4+ Install prerequisites. 1 yum install -y yum-utils device-mapper-persistent-data lvm2 Add docker repository. 1 2 3 yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo Install docker. 1 yum update && yum install -y docker-ce-18.06.1.ce Create /etc/docker directory. 1 mkdir /etc/docker Setup daemon. 1 2 3 4 5 6 7 8 9

Hello Hugo

新建文章 1 hugo new post/blog-name.md 运行hugo 1 hugo server --watch --buildDrafts 部署到GitHub Pages 1 2 hugo -D hugo --theme=hyde --baseUrl="http://binbean.github.io/" 1 2 3 4 5 6 cd public git init git remote add origin https://github.com/binbean/binbean.github.io.git git add -A git commit -m "first commit" git push -u origin master

IDEA SVN Https证书问题

IDEA SVN https 证书问题 问题: svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted 解决方法 Mac 打开 Terminal(终端),windows 打开cmd( 命令行)执行下面命令

加密算法

对称加密 定义 对称加密(也叫私钥加密)指加密和解密使用相同密钥的加密算法。 优点 计算量小、加密速度快、加密效率高 缺点 交易双方都使用同样钥匙,安全

https证书生成

生成CA证书 1 2 # 1 生成 CA 私钥 openssl genrsa -out ca.key 1024 1 2 # 2 X.509 Certificate Signing Request (CSR) Management. openssl req -new -key ca.key -out ca.csr ➜ keys openssl req -new -key ca.key -out ca.csr You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is