会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wdgde
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2024年2月4日
kekingcn/file-online-preview服务打包arm架构镜像
摘要: 1.gitte地址 https://gitee.com/kekingcn/file-online-preview?_from=gitee_search 2.基础镜像打包 FROM ubuntu:20.04 MAINTAINER chenjh "842761733@qq.com" # 内置一些常用的中
阅读全文
posted @ 2024-02-04 12:49 wdgde
阅读(384)
评论(0)
推荐(0)
2023年11月17日
使用openjdk17编译时报错:Fatal error compiling: 错误: 不支持发行版本 1.17
摘要: 1.在linux环境下(docker镜像里面)使用如下命令编译打包时报错 mvn clean package -Dmaven.test.skip=true [INFO] Scanning for projects... [INFO] [INFO] < xxx.xxx:pero-xdd > [INFO
阅读全文
posted @ 2023-11-17 19:08 wdgde
阅读(1092)
评论(0)
推荐(0)
2023年10月17日
kafka的异常现象
摘要: 一、问题1 1.k8s集群拉起的kafka集群可以正常启动,使用命令发送消息,消费消息都正常 /opt/kafka/bin/kafka-console-producer.sh --topic pero-test --bootstrap-server localhost:9092 /opt/kafka
阅读全文
posted @ 2023-10-17 15:37 wdgde
阅读(37)
评论(0)
推荐(0)
2023年9月8日
alertmanager,prometheus页面增加认证方案
摘要: 以下方法alertmanager,prometheus,node-exporter都适用 1.加密密码 yum install -y httpd-tools #生成加密密码 htpasswd -nBC 12 '' | tr -d ':\n' New password: # 这里输入密码 Re-typ
阅读全文
posted @ 2023-09-08 20:39 wdgde
阅读(1056)
评论(0)
推荐(0)
2023年8月31日
Runtime.getRuntime().exec()命令注入问题
摘要: 1.原代码 public void execCommand(String command){ List<String> inputStreamList=new LinkedList<>(); List<String> errorStreamList=new LinkedList<>(); try {
阅读全文
posted @ 2023-08-31 10:01 wdgde
阅读(1082)
评论(0)
推荐(0)
2023年8月17日
重新编译ceph-exporter源码,构建镜像
摘要: 1.github https://github.com/digitalocean/ceph_exporter 2.dockerfile FROM golang:1.17ENV GO111MODULE=on \ GOPROXY="https://goproxy.cn,direct"COPY ceph_
阅读全文
posted @ 2023-08-17 17:28 wdgde
阅读(105)
评论(0)
推荐(0)
2023年7月19日
通过io.kubernetes:client-java调用kubernetes的api接口
摘要: 1.引入依赖 <dependency> <groupId>io.kubernetes</groupId> <artifactId>client-java</artifactId> <version>15.0.1</version> </dependency> 2.代码实现 @Service publ
阅读全文
posted @ 2023-07-19 18:34 wdgde
阅读(1685)
评论(0)
推荐(0)
ansible的restful api接口
摘要: 先阅读以下链接 https://iswbm.com/192.html 1.python有一个ansible-api的包,可以提供restful api接口,通过如下命令可以查询 pip search ansible-api#注意pip search可能在某些版本不能使用了,需要安装新的命令#pip
阅读全文
posted @ 2023-07-19 18:11 wdgde
阅读(500)
评论(0)
推荐(0)
2023年7月18日
ansible安装
摘要: 一.在线安装 1.安装依赖的第三方的epel源 yum install epel-release -y 安装第三方的epel源后可能会有如下报错 [root@localhost ansible]# yum list | grep ansible One of the configured repos
阅读全文
posted @ 2023-07-18 16:42 wdgde
阅读(31)
评论(0)
推荐(0)
2023年7月13日
java判断postgres数据库集群的master节点
摘要: 1.引入依赖 <!--postgresql--> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>42.2.2</version> </dependency> 2.
阅读全文
posted @ 2023-07-13 17:08 wdgde
阅读(79)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告