摘要: 1.Jedis连接Redis 1.1 在pom.xml文件中,引入maven依赖 1 <dependencies> 2 <!--1、Jedis依赖包--> 3 <!-- https://mvnrepository.com/artifact/redis.clients/jedis --> 4 <dep 阅读全文
posted @ 2021-02-02 17:17 Sempron2800+ 阅读(114) 评论(0) 推荐(0)
摘要: redis的安装,在ubuntu系统中,可以使用如下命令安装redis sudo apt-get install redis-server 安装完毕后,会自动启动redis的服务端。使用ps命令可以查看redis服务运行情况 ps -aux|grep redis 设置redis客户端从远程访问,并设 阅读全文
posted @ 2021-02-02 16:29 Sempron2800+ 阅读(121) 评论(0) 推荐(0)