springboot連接redis單機版

1 首先redis要開啓 cd redis-3.0.0 cd /usr/local/redis19 cd bin/ ./redis-server redis.conf ps -aux | grep redis 看到端口號出來就證明啓動了 2 pom.xml中 加入 <!-- 加入redis起步依賴 --> <dependency> <groupId>org.springframework.boot
相關文章
相關標籤/搜索