会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
neoQVQ
博客园
首页
新随笔
联系
订阅
管理
2021年12月2日
centos6安装mysql5.7
摘要: 转载 原文链接:https://blog.csdn.net/weixin_39732226/article/details/81984773 1. cd /usr/local wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.22-l
阅读全文
posted @ 2021-12-02 10:35 neoQVQ
阅读(187)
评论(0)
推荐(0)
2021年11月26日
Centos 6无法使用yum的解决方法_提示Error: Cannot find a valid baseurl for repo: base
摘要: https://www.liuzhanwu.cn/29909.html 原文链接 1、首先把fastestmirrors关了 #编辑 vi /etc/yum/pluginconf.d/fastestmirror.conf #修改 enable=0 2、先把之前的repo挪到备份,然后下面两个二选一
阅读全文
posted @ 2021-11-26 10:29 neoQVQ
阅读(161)
评论(0)
推荐(0)
2021年7月28日
redis 构建主从复制架构
摘要: 主从复制架构仅仅用来解决数据的冗余备份,从节点仅仅用来同步数据 准备一个主服务器,N个备份服务器 方法一:修改备份服务器配置文件 redis.conf 中 #slaveof <masterip> <masterport> 去掉注释, slaveof 你的主redis服务器ip地址 主redis服务器
阅读全文
posted @ 2021-07-28 20:11 neoQVQ
阅读(37)
评论(0)
推荐(0)
redis 结合 mybatis 缓存
摘要: package com.wbb.cache; import com.wbb.util.ApplicationContextUtils; import org.apache.ibatis.cache.Cache; import org.springframework.data.redis.core.R
阅读全文
posted @ 2021-07-28 16:06 neoQVQ
阅读(180)
评论(0)
推荐(0)
2021年7月26日
redis 配置远程连接
摘要: 修改 redis.conf 1、开放防火墙端口 2、 # 允许任何主机连接、访问 bind 127.0.0.1 改为 bind 0.0.0.0 # 关闭保护模式 protected-mode yes 改为 protected-mode no # 允许后台运行 daemonize no 改为 daem
阅读全文
posted @ 2021-07-26 19:39 neoQVQ
阅读(87)
评论(0)
推荐(0)
redis持久化AOF
摘要: 开启AOF持久化 修改redis.conf文件 - a.修改 appendonly yes 开启持久化- b.修改 appendfilename "appendonly.aof" 指定生成文件名称 如果没有生成 appendonly.aof文件,执行下面命令 redis-cli config set
阅读全文
posted @ 2021-07-26 14:48 neoQVQ
阅读(32)
评论(0)
推荐(0)
2021年7月20日
基于注解的切面开发方式
摘要: springboot基于注解的切面开发方式,不用within和execution表达式方式 首先自定义一个注解 @Retention(RetentionPolicy.RUNTIME) //运行时生效 @Target(ElementType.METHOD) //作用在方法上 public @inter
阅读全文
posted @ 2021-07-20 16:42 neoQVQ
阅读(143)
评论(0)
推荐(0)
easycode使用--根据数据库表自动生成 controller,service,,entity等样板化代码,
摘要: mark一下别人的地址,备忘: https://www.jianshu.com/p/e4192d7c6844
阅读全文
posted @ 2021-07-20 15:10 neoQVQ
阅读(104)
评论(0)
推荐(0)
log support 2使用
摘要: 1、idea里安装 log support2 插件后重启 2、设置settings -other settings 点开logsupport,framework选择slf4j 3、editor-live Templates 里 勾除 andirodLog,因为 有的话,使用时会出现andirod的用
阅读全文
posted @ 2021-07-20 15:08 neoQVQ
阅读(654)
评论(1)
推荐(0)
2021年7月19日
yml属性注入
摘要: 1、定义对象 package com.wbb.entity; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Compo
阅读全文
posted @ 2021-07-19 16:15 neoQVQ
阅读(325)
评论(0)
推荐(0)
下一页
公告