上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 35 下一页
摘要: 先给答案:要关闭 官方文档:https://docs.oracle.com/javase/tutorial/jdbc/basics/sqldatasources.html#pooled_connection 我们以 HikariDataSource 为例子 @Autowired DataSource 阅读全文
posted @ 2021-09-11 17:13 翠微 阅读(1813) 评论(0) 推荐(0) 编辑
摘要: 1、LOADING Redis is loading the dataset in memory 编辑 redis.conf maxmemory 6GB maxmemory-policy allkeys-lru appendonly no 2、MISCONF Redis is configured 阅读全文
posted @ 2021-09-11 12:18 翠微 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 节点:一个运行中的 Elasticsearch 实例称为一个节点。 集群:由一个或者多个拥有相同 cluster.name 配置的节点组成共同承担数据和负载的压力的集群。 索引:保存相关数据的地方,是指向一个或者多个物理分片的逻辑命名空间。 分片:一个分片是一个底层的工作单元,它仅保存了全部数据中的 阅读全文
posted @ 2021-08-15 22:30 翠微 阅读(471) 评论(0) 推荐(0) 编辑
摘要: systemctl 是CentOS7的服务管理工具中主要的工具,它融合之前 service 和 chkconfig 的功能于一体。service 管理服务,chkconfig 管理启动项 http://t.zoukankan.com/liuyansheng-p-6113646.html system 阅读全文
posted @ 2021-08-14 10:34 翠微 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 注意:先配置好防火墙,或者试验阶段直接停用防火墙 # 停用防火墙systemctl status firewalld 状态 systemctl stop firewalld 停止systemctl start firewalld 启动systemctl enable firewalld 开机启动sy 阅读全文
posted @ 2021-08-12 23:52 翠微 阅读(588) 评论(0) 推荐(0) 编辑
摘要: #此命令也适用于所有的Linux发行版 cat /etc/issue cat /etc/system-release cat /etc/os-release cat /proc/version uname -a uname -r #只适合Redhat系 cat /etc/redhat-release 阅读全文
posted @ 2021-08-10 09:32 翠微 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 【Spring Cloud】spring-cloud2020和spring-cloud-alibaba2021问题记录 下面是使用的版本信息 <!-- spring-boot 版本号 --> <spring-boot.version>2.5.2</spring-boot.version> <!-- 阅读全文
posted @ 2021-07-21 23:02 翠微 阅读(1857) 评论(0) 推荐(0) 编辑
摘要: SPI的全名为Service Provider Interface.大多数开发人员可能不熟悉,因为这个是针对厂商或者插件的。在java.util.ServiceLoader的文档里有比较详细的介绍。Spring Boot中的SPI机制,它在META-INF/spring.factories文件中配置 阅读全文
posted @ 2021-07-17 21:57 翠微 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 1、查看详细的使用 docker system df -v 2、查看docker目录大小 du -hs /var/lib/docker/ 3、清理磁盘,删除关闭的容器、无用的数据卷和网络 docker system prune docker system prune -a 清理的更彻底 阅读全文
posted @ 2021-05-25 16:03 翠微 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 【ElasticSearch】索引:添加、更新、删除 1、创建 2、更新 3、删除 4、关闭打开 索引 1、创建 设置、映射、别名 PUT /myindex { "settings": { "index": { "number_of_shards": 3, "number_of_replicas": 阅读全文
posted @ 2021-02-21 15:08 翠微 阅读(426) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 35 下一页