摘要: 阅读全文
posted @ 2019-12-19 23:28 红尘年少 阅读(1024) 评论(0) 推荐(0)
摘要: 在最小化安装的CentOS7中,ifconfig是不能使用的,查看网卡信息的命令是ip addr 其中“ens33”为网卡名称,修改IP地址等信息 vi /etc/sysconfig/network-scripts/ifcfg-ens33 修改好后保存退出,并重启网络,测试网络是否连接正常: 安装i 阅读全文
posted @ 2019-12-19 22:22 红尘年少 阅读(768) 评论(0) 推荐(0)
摘要: 本教程安装的版本号如下 下载地址 链接:https://pan.baidu.com/s/1yMFQ-any_lmXvOJWBi1MIw 提取码:oher 复制这段内容后打开百度网盘手机App,操作更方便哦 其他版本可以到官网上进行对应的下载 https://www.rabbitmq.com/ ※※特 阅读全文
posted @ 2019-12-19 21:49 红尘年少 阅读(3148) 评论(0) 推荐(0)
摘要: 本篇随笔基于https://www.cnblogs.com/my-program-life/p/12067789.html实现 自定义RedisTemplate 一、创建自定义配置类RedisConfig package com.uos.cache.config; import com.faster 阅读全文
posted @ 2019-12-19 17:33 红尘年少 阅读(691) 评论(0) 推荐(0)
摘要: 本篇随笔基于https://www.cnblogs.com/my-program-life/p/12067656.html 实现 一、使用Redis API进行业务数据缓存管理 在service下新建ApiCommentService,删除原有的CommentService package com. 阅读全文
posted @ 2019-12-19 16:35 红尘年少 阅读(714) 评论(0) 推荐(0)
摘要: 一、添加Spring Data Redis依赖启动器 <!--Spring Data Redis 依赖启动器--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-dat 阅读全文
posted @ 2019-12-19 14:36 红尘年少 阅读(3264) 评论(0) 推荐(0)