1环境IPHostnameOSVersionElasticsearchVersion192.168.7.41es-node1Ubuntu18.04.37.6.1192.168.7.42es-node2Ubuntu18.04.37.6.1192.168.7.43es-node3Ubuntu18.04.37.6.1关闭swap,同步时间。2安装步骤2.1安装elasticsearch安装包下载路径:h
分类:
其他好文 时间:
2020-05-09 10:32:59
阅读次数:
75
突然有个想法,如果能把一些用到不同的知识点放到同一个界面上,并且放到一个盒子里,这样我如果要看什么东西就可以很直接显示出来,而且这个盒子一定要能打开。我用HT实现了我的想法,代码一百多行,这么少的代码能实现这种效果我觉得还是牛的。 demo地址: http://www.hightopo.com/de ...
分类:
Web程序 时间:
2020-05-08 22:39:35
阅读次数:
79
Invalid prop: custom validator check failed for prop "pagination". this.pagination = { ...this.pagination, total: res.data.totalCount } 错误原因: res.data ...
分类:
其他好文 时间:
2020-05-08 17:57:08
阅读次数:
134
使用mongodb-exporter实现mongodb在prometheus+grafana监控
分类:
数据库 时间:
2020-05-08 09:24:48
阅读次数:
292
简单区分下,他们在功能上是一致的:写在启动类的上,开启服务注册发现功能。 不同的是,当注册中心不一样时,像:eureka、consul、zookeeper,使用是也有了区别。 EnableDiscoveryClient注解在common包中,通过项目的classpath来决定使用哪种实现,而Enab ...
分类:
其他好文 时间:
2020-05-07 23:09:02
阅读次数:
85
参考 https://www.jianshu.com/p/5d67fb720ece pom引入 <dependency> <groupId>cn.afterturn</groupId> <artifactId>easypoi-base</artifactId> <version>3.0.3</ver ...
分类:
其他好文 时间:
2020-05-07 20:02:00
阅读次数:
78
一般情况下MVC使用 Entity Framework 进行数据查询时Model对应的数据库表名称为model名+s,比如model命名为Product时,对应的数据库表为Products。 如果表名和model名称不存在这种默认的对应关系就需要显示指定表名,如下 using System; usi ...
分类:
数据库 时间:
2020-05-07 00:45:27
阅读次数:
100
题目链接 "CF756A" 题目 Pavel cooks barbecue. There are n skewers, they lay on a brazier in a row, each on one of n positions. Pavel wants each skewer to be ...
分类:
其他好文 时间:
2020-05-06 01:39:11
阅读次数:
56
季春初始,天气返暖,新冠渐去,正值学习好时机。在Android系统中,AIDL一直在Framework和应用层上扮演着很重要的角色,今日且将其原理简单分析。(文2020.03.30) 一、开篇介绍 1.简单介绍 Android系统中对原理的分析基本离不开对源码的阅读,我理解的原理分析: 原理分析 = ...
分类:
其他好文 时间:
2020-05-05 17:34:54
阅读次数:
91
环境搭建 配置ApplicationContext.xml容器文件【半注解实现】 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi=" ...
分类:
编程语言 时间:
2020-05-05 10:52:14
阅读次数:
55