上一页 1 ··· 5 6 7 8 9 10 11 12 下一页
摘要: 配置类 package top.yalong; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.spri 阅读全文
posted @ 2020-12-09 15:37 rm-rf* 阅读(76) 评论(0) 推荐(0) 编辑
摘要: springboot整合redis配置类 package com.yalong.config; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.Proper 阅读全文
posted @ 2020-12-09 15:35 rm-rf* 阅读(305) 评论(0) 推荐(0) 编辑
摘要: springboot的项目中,如果基础模块引入了数据库相关依赖,当前模块又不需要数据库的相关东西, 需要在启动类上加上 @SpringBootApplication(exclude={DateSourceAutoConfiguration.clsss}) 阅读全文
posted @ 2020-12-09 15:34 rm-rf* 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 网络问题 拉取镜像时,如果出现网络问题,,需要修改dns vi /etc/resolv.conf 添加nameserver 8.8.8.8 用docker-compose安装单机版 git clone https://github.com/deviantony/docker-elk.git dock 阅读全文
posted @ 2020-12-09 15:33 rm-rf* 阅读(91) 评论(0) 推荐(0) 编辑
摘要: OpenResty&Canal OpenResty 提供缓存功能 封装了Nginx,并且提供了Lua扩展,大大提升了Nginx的并发处理能力10k~1000k Nginx限流 1.控制速率 2.控制并发数 Canal 用来监控数据库中数据的变化,从而获得新增数据,或者修改数据 监听到变化后,就可以对 阅读全文
posted @ 2020-12-09 15:31 rm-rf* 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 创建用户语法格式 >use admin >db.createUser( { user:'user', pwd :'123', customData:{"desc":"This user is for administrators"}, roles:[ { role:'userAdminAnyData 阅读全文
posted @ 2020-12-09 15:28 rm-rf* 阅读(446) 评论(0) 推荐(0) 编辑
摘要: # Docker 安装 Redis 需要注意的地方 ### 拉取镜像 > docker pull redis - 可以使用redis:xxx xxx为版本号,不写默认是latest ### 启动容器 > 无配置文件无密码: docker run -itd --name redis63790 -p 6 阅读全文
posted @ 2020-12-09 15:25 rm-rf* 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 安装mysql5.7,并开启binlog 安装mysql 开启binlog find / -name my.cnf 找到这个文件 添加几行 [mysqld] log-bin=mysql-bin # 开启 binlog binlog-format=ROW # 选择 ROW 模式 server_id=1 阅读全文
posted @ 2020-12-09 15:19 rm-rf* 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 安装Mysql 拉取镜像 docker pull mysql:latest 运行容器 docker run -itd --name mysql -p 33061:3306 -v D:/mysql/log:/var/log/mysql -v D:/mysql/conf:/etc/mysql/conf. 阅读全文
posted @ 2020-12-09 15:07 rm-rf* 阅读(83) 评论(0) 推荐(0) 编辑
摘要: # java文件操作 ![](https://img2020.cnblogs.com/blog/2241824/202012/2241824-20201215105204641-1218024601.png) public class Something { public static void m 阅读全文
posted @ 2020-12-09 15:02 rm-rf* 阅读(94) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 下一页