![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
redis
Eddie-Wang
I DO WHAT I DO.
展开
-
redis-cli相关操作
1、设置数据时,报noauth authentication required,可以通过auth password进行授权127.0.0.1:6379> set mykey 1(error) NOAUTH Authentication required.127.0.0.1:6379> auth redispasswordOK127.0.0.1:6379> set m...原创 2019-11-22 09:41:08 · 974 阅读 · 0 评论 -
windows下安装Redis并部署成服务
Redis 是一个开源(BSD许可)的,内存中的数据结构存储系统,它可以用作数据库、缓存和消息中间件。一:下载下载地址:windows版本: https://github.com/MSOpenTech/redis/releasesLinux版本: 官网下载: http://www.redis.cn/ git下载 https:/...原创 2019-02-18 11:21:56 · 129 阅读 · 0 评论 -
springboot整合redis实例
1.添加依赖<!-- springboot整合 redis --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-redis</a...原创 2019-06-06 14:12:09 · 1120 阅读 · 0 评论 -
Bean method 'redisTemplate' in 'RedisAutoConfiguration.RedisConfiguration' not loaded
项目开发过程中,需要整合redis,在整合过程中,出现了如下的错误:Parameter 0 of method cacheManager in org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration required a bean of type 'org.springframework.data.redis....原创 2019-07-04 18:33:08 · 15565 阅读 · 4 评论 -
RedisTemplate实例
@Componentpublic class RedisUtils{ /** * 日志 */ private static final Logger LOGGER = LoggerFactory.getLogger(RedisUtils.class); @Autowired private RedisTemplate redisTempl...原创 2019-08-11 10:19:41 · 1137 阅读 · 0 评论