![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
redis
天津赫本
高端大气上档次!
展开
-
Redis清空指定前缀键名的缓存-Java
RedisTemplate<Object, Object> redisTemplate = new RedisTemplate<>();String keys = "key*";redisTemplate.delete(keys);原创 2020-06-03 16:06:33 · 2719 阅读 · 1 评论 -
redis二级缓存设置-SpringBoot
1.pom.xml导入依赖<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-pool2</artifactId></dependency><dependency> <groupId>org.springframework.boot</groupId> <arti原创 2020-05-25 18:19:33 · 775 阅读 · 0 评论 -
docker快速安装redis-CentOS7
1.下载镜像docker pull redis:5.0.8-buster2.创建/usr/local/docker/nginx/docker-compose.yml文件version: '3.1'services: redis: image: 'redis:5.0.8-buster' restart: always container_name:...原创 2020-03-28 19:51:44 · 258 阅读 · 0 评论 -
Redis-5.0.5快速安装-CentOS7
一、安装依赖:yum install wget gcc -y二、下载Redis:mkdir -p /usr/local/softwaremkdir -p /usr/local/rediswget -O /usr/local/software/redis-5.0.5.tar.gz http://download.redis.io/releases/redis-5.0.5.ta...原创 2019-08-21 16:06:45 · 290 阅读 · 0 评论