摘要:FROM openjdk:8u332-oraclelinux7 #RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories #RUN apk add --update font-adobe-100 阅读全文
pfx文件导出pem和私钥,更换网站域名证书
2022-11-06 15:31 by 假面Wilson, 阅读(269) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:openssl 路径: C:\Program Files\OpenSSL-Win64\bin -- 导出pem证书openssl pkcs12 -in C:\BackUp\Lightning\cert\2024\UAT\lightning-uat-castrol-com-cn.pfx -nodes 阅读全文
Mysql导出导入操作
2022-11-02 12:52 by 假面Wilson, 阅读(39) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:安装mysql客户端 # 在终端上下载mysql源 wget https://dev.mysql.com/get/mysql80-community-release-el7-7.noarch.rpm rpm -Uvh mysql80-community-release-el7-7.noarch.rp 阅读全文
Mysql查询数据量大小
2022-10-20 11:28 by 假面Wilson, 阅读(214) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:--按实例 SELECT CONCAT(round(sum(DATA_LENGTH/1024/1024/1024),2),"GB") as datazise FROM information_schema.TABLES --按库 SELECT table_schema,CONCAT(round(su 阅读全文
AWS API Gateway IP WhileList
2022-09-28 11:20 by 假面Wilson, 阅读(55) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:首先创建个API,然后进入API配置,点击左边的资源配置,加入以下配置: { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": "*", "Action": "execute-api:Invoke", 阅读全文
解决jenkins Git Publisher自动打tag的问题
2022-09-08 16:33 by 假面Wilson, 阅读(604) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:简单配置一下 然后开始构建,然后报错如下 The recommended git tool is: NONE using credential 647ee613-5032-4894-aaeb-fe071d285ad5 > git tag -l v1.0.5 # timeout=10 > git ta 阅读全文
Docker 部署GitLabs 版本升级 13.9.x -> 15.3.x
2022-09-02 16:18 by 假面Wilson, 阅读(907) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:Gitlabs版本升级大版本不能直接跳级升级, 可以参考官方的升级路径。本人是从13.9.x需要升级到最新的15.3.x。 参考官方路径结合自己的实际情况成功升级。 13.9.0 -> 13.12.15 -> 14.0.12 ->14.1.8 -> 14.3.6 ->14.6.2 -> 14.9.5 阅读全文
Java Springboot javax.net.ssl.SSLException: Connection reset解决方案
2022-08-22 13:53 by 假面Wilson, 阅读(7020) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:接口设置HTTPS TLS1.2后,随机出现SSLException: Connection reset报错: javax.net.ssl.SSLException: Connection reset at sun.security.ssl.Alert.createSSLException(Aler 阅读全文
定义pod的hosts文件(HostAliases)
2022-08-20 12:36 by 假面Wilson, 阅读(337) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:通过HostAliases 向 Pod /etc/hosts 文件添加条目 当 DNS 配置以及其它选项不合理的时候,通过向 Pod 的 /etc/hosts 文件中添加条目, 可以在 Pod 级别覆盖对主机名的解析。你可以通过 PodSpec 的 HostAliases 字段来添加这些自定义条目. 阅读全文
rancher添加用户报错x509: certificate has expired Internal error occurred: failed calling webhook "rancherauth.cattle.io":
2022-08-19 17:13 by 假面Wilson, 阅读(732) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:错误信息: Internal error occurred: failed calling webhook "rancherauth.cattle.io": Post https://rancher-webhook.cattle-system.svc:443/v1/webhook/validatio 阅读全文