上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页
摘要: 签发证书 自建CA证书以及签发。 CA证书三部曲: 根证书(私钥为key,公钥为certificate)。 中间证书,用于给使用者颁发证书。 用户证书。 openssl.cnf cnf OpenSSL root CA configuration file. Copy to . [ ca ] defa 阅读全文
posted @ 2021-08-08 23:17 咕咚! 阅读(284) 评论(0) 推荐(0)
摘要: BIND9详解 ISC的bind一直以来基本上都是DNS的工业标准,不过BIND一直是漏洞不断,直到出了BIND9,isc的开发人员对bind9进行了重写,才相对好了一点。 BIND9的安装就不用多说了,这里使用最新版本9.2.3,说白了也就是需要named这个可执行文件就可以了,其他的配置文件完全 阅读全文
posted @ 2021-08-08 23:17 咕咚! 阅读(6017) 评论(0) 推荐(1)
摘要: CentOS 自建内网DNS 内网自建DNS服务,使用bind9。 准备和安装 安装 Bind9及工具yum install -y bind bind-utils net-tools 设置主机名hostnamectl set-hostname tty1-13.panda.com 配置 修改/etc/ 阅读全文
posted @ 2021-08-08 23:17 咕咚! 阅读(267) 评论(0) 推荐(0)
摘要: K8S 系统前期配置 要求: 2G内存 2核 关闭Swap 前期系统配置 关闭selinux sed -i 's/enforcing/disabled/' /etc/selinux/config 关闭防火墙 systemctl stop firewalld && systemctl disable 阅读全文
posted @ 2021-08-08 23:15 咕咚! 阅读(152) 评论(0) 推荐(0)
摘要: 官方下载地址:https://gitlab-runner-downloads.s3.amazonaws.com/latest/index.html 官网安装文档:https://docs.gitlab.com/runner/install/linux-manually.html sudo curl 阅读全文
posted @ 2021-07-20 01:07 咕咚! 阅读(220) 评论(0) 推荐(0)
摘要: GitLab CI/CD 新装gitlab玩ci/cd, 测试ci时报错如下: Running with gitlab-runner 14.0.1 (c1edb478) on raspberrypi UmXUDCNM Preparing the "shell" executor 00:00 Usin 阅读全文
posted @ 2021-07-20 01:02 咕咚! 阅读(873) 评论(0) 推荐(0)
摘要: raspberry pi install protobufs protobuf github仓库地址https://github.com/protocolbuffers/protobuf/releases。 没有提供armv7l 32位的版本,下载cpp的tar包,编译安装。 下载c++的tar包, 阅读全文
posted @ 2021-06-04 00:11 咕咚! 阅读(192) 评论(0) 推荐(0)
摘要: Go HTTP Client中的重定向和重定向Cookie的问题 最近在使用HTTP Client中的遇到的问题是在请求时,需要使用重定向中间的Cookie,但是默认自动重定向10次。 获取重定向中的Cookie,有如下两种方法: 禁止重定向,然后获取response的cookie 创建Cookie 阅读全文
posted @ 2021-03-15 11:45 咕咚! 阅读(1681) 评论(0) 推荐(0)
摘要: 参考链接: https://docs.mongodb.com/drivers/go/ https://www.mongodb.com/blog/search/golang%20quickstart 以下为部分代码: package main import ( "context" "fmt" "tim 阅读全文
posted @ 2021-02-25 00:41 咕咚! 阅读(326) 评论(0) 推荐(0)
摘要: pymongo插入多条数据是报错 使用pymongo是发现认证之后 插入数据单条数据是会报错:“认证失败”; 查出多条数据时,无法插入,生产的_id都是一样的,插入报错。 以上两条实在Windows下链接测试环境哭出现的问题。 以下为回家后,在Ubuntu下的测试代码,结果插入多条没有出现过上述情况 阅读全文
posted @ 2021-02-25 00:38 咕咚! 阅读(285) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页