![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Redis
写代码的渣渣炜
这个作者很懒,什么都没留下…
展开
-
Redis工具类
import org.springframework.beans.factory.annotation.Autowired;import org.springframework.data.redis.core.RedisTemplate;import org.springframework.data.redis.core.ZSetOperations;import org.springframework.stereotype.Component;import org.springframework.原创 2021-02-18 14:57:26 · 62 阅读 · 0 评论 -
Redis:RDM连接阿里云redis服务器(宝塔设置)
redis默认在没有设置密码且 bind在127.0.0.1时开启了保护模式。因此需要手动修改配置文件,将bind 127.0.0.1 改为 #bind 127.0.0.1如果是阿里云安装的redis,需要开启安全组的端口配置,允许6379端口访问在重启redis的时候,带上配置文件 ,使得修改生效 nohup ./redis-server ../redis.conf &...原创 2021-01-14 22:46:43 · 882 阅读 · 0 评论