上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: centos统计服务器当前IP连接数 netstat -tun | awk '{print $5}' | cut -d: -f1 |sort | uniq -c | sort -n 阅读全文
posted @ 2022-01-03 12:07 Binz 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 默认feign服务提供者发生异常后只返回固定几个属性,有些属性是默认关闭的需要配置开启 具体查看org.springframework.boot.web.servlet.error.DefaultErrorAttributes.getErrorAttributes { "timestamp": 16 阅读全文
posted @ 2021-12-17 14:21 Binz 阅读(836) 评论(0) 推荐(0) 编辑
摘要: 拉镜像,版本查看:https://github.com/nacos-group/nacos-docker seata版本对应 https://github.com/alibaba/spring-cloud-alibaba/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4%E6%98% 阅读全文
posted @ 2021-12-13 17:44 Binz 阅读(2156) 评论(0) 推荐(1) 编辑
摘要: 原因:因为boot2.3.x版本可能考虑信息安全问题,把以下两个值默认为 server: error: include-message: never include-exception: false 发生异常是返回 { "timestamp": 1632713940269, "status": 50 阅读全文
posted @ 2021-09-27 11:43 Binz 阅读(382) 评论(1) 推荐(0) 编辑
摘要: 1、拉取镜像 docker pull foxiswho/rocketmq:4.8.0 2、创建数据目录 mkdir -p /home/dockerdata/rocketmq/namesrv/logs mkdir -p /home/dockerdata/rocketmq/broker/storemkd 阅读全文
posted @ 2021-09-10 17:40 Binz 阅读(5773) 评论(0) 推荐(0) 编辑
摘要: 1、拉取镜像 docker pull seafileltd/seafile:latest 2、创建数据目录 mkdir -p /home/dockerdata/seafile 3、运行容器 docker run -d --name seafile \ -e SEAFILE_SERVER_HOSTNA 阅读全文
posted @ 2021-07-29 15:53 Binz 阅读(883) 评论(0) 推荐(0) 编辑
摘要: default Class<T> thisTClass() { Class<?> class1 = getClass(); Class<?> interfaces = class1.getInterfaces()[0]; Type[] genericInterfaces = interfaces.g 阅读全文
posted @ 2021-07-10 10:35 Binz 阅读(642) 评论(0) 推荐(0) 编辑
摘要: mysql GROUP BY无法实现,用的临时变量完成的,经过测试效率极高-- @rownum 用于计算条数-- @clazz_id 用于比较的临时班级id(分组列名)-- 获取每个班级前5名的学生 SELECT * FROM ( SELECT id, student_id, score, claz 阅读全文
posted @ 2021-06-10 11:35 Binz 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 方法1: 直接把需要清空的表改一个名字,然后重新建一个新表命名为之前的表名,然后再把改名后的表删除 方法2: MySQL可以通过optimize table语句释放表空间,重组表数据和索引的物理页,减少所占空间和优化读写性能。如果使用delete语句删除数据库,表空间不会直接回收,您可以用optim 阅读全文
posted @ 2021-04-15 18:03 Binz 阅读(688) 评论(0) 推荐(0) 编辑
摘要: 方式一 1、复制主机localtime到容器 docker cp /etc/localtime 容器id:/etc/localtime 如果报错 Error response from daemon: Error processing tar file(exit status 1): invalid 阅读全文
posted @ 2021-04-09 15:17 Binz 阅读(607) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页