linux 安装docker和mysql
摘要:1.安装linux VMware-workstation-full-15.0.4-12990004.exe CentOS-7-x86_64-DVD-1810.iso 2.安装SecureCRT 连接linux工具 3.安装docker及mysql 安装教程:Docker 教程 | 菜鸟教程 (run
阅读全文
posted @
2021-12-25 12:54
biind
阅读(176)
推荐(0) 编辑
Springboot 整和/集成 ElasticSearch
摘要:1.依赖 2.properties配置 3.使用 一 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
阅读全文
posted @
2021-12-24 22:59
biind
阅读(47)
推荐(0) 编辑
ElasticSearch 基本操作
摘要:1.创建索引put:http://localhost:9201/test1{ "mappings": { "properties": { "id": { "type": "long", "store": true }, "name": { "type": "text", "store": true
阅读全文
posted @
2021-12-24 22:14
biind
阅读(42)
推荐(0) 编辑
ElasticSearch 安装及配置 搭建集群
摘要:1.ElasticSearch 2.ElasticSearch-Head-Master 3.搭建集群(至少启动2个节点,否则集群连接不了) 1.下载ElasticSearchhttps://www.elastic.co/cn/start启动命令:bin/elasticsearch.bat 访问:ht
阅读全文
posted @
2021-12-22 23:14
biind
阅读(91)
推荐(0) 编辑
springboot 整合/集成 jpa
摘要:1.依赖 2.新增model 3.新增接口 4.测试 一 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId></depend
阅读全文
posted @
2021-12-19 09:04
biind
阅读(81)
推荐(0) 编辑
springboot 整合/集成 mybatis+redis+junit
摘要:1.快速创建springboot项目 2.下载启动redis的windows版本 3.整合mybatis+redis+junit 一 快速创建springboot项目 访问地址:https://start.spring.io 或者idea,new 项目,选择 spring initializr 快速
阅读全文
posted @
2021-12-19 08:13
biind
阅读(72)
推荐(0) 编辑
HarmonyOS 多线程
摘要:1.异步 2.同步 3.任务组 一 异步 /** * 异步 */ private void click1() { HiLog.info(hiLogLabel, "click1:start"); TaskDispatcher dispatcher = getGlobalTaskDispatcher(T
阅读全文
posted @
2021-12-06 21:26
biind
阅读(87)
推荐(0) 编辑
HarmonyOS 对象数据库
摘要:1.配置 2.使用 一 配置 参考配置: HarmonyOS 基础数据库 - biind - 博客园 (cnblogs.com) 跟基础数据库配置一样 二 使用 1.新建entiry类,继承OrmObject 2.新建store类,继承OrmDatabase 3.新增、更新、删除、查询单条,查询集合
阅读全文
posted @
2021-12-05 08:48
biind
阅读(134)
推荐(0) 编辑
HarmonyOS 基础数据库
摘要:1.配置 2.使用 一 配置 javapoet_java.jar orm_annotations_java.jar orm_annotations_processor_java.jar 这三个包拷贝到项目libs目录后配置2个地方。 compileOptions { annotationEnable
阅读全文
posted @
2021-12-04 09:18
biind
阅读(409)
推荐(0) 编辑