下载安装包
到http://download.redis.io/releases 下载需要的版本
解压到/usr目录并安装
cd /usr/redis-3.2.3/src
make install
启动redis
[root@localhost Desktop]# cd /usr/redis-3.2.3/
[root@localhost redis-3.2.3]# cd src
[root@localhost src]# redis-server
3674:C 05 Sep 11:16:42.432 # Warning: no config file specified,using the default config. In order to specify a config file use redis-server /path/to/redis.conf
3674:M 05 Sep 11:16:42.433 * Increased maximum number of open files to 10032 (it was originally set to 1024).
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 3.2.3 (00000000/0) 64 bit
.-`` .-```. ```\/ _.,_ ''-._
( ',.-` | `,) Running in standalone mode |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | `-._ `._ / _.-' | PID: 3674 `-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | http://redis.io `-._ `-._`-.__.-'_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-'
连接不上虚拟机解决方案
安装完成后,本地连接不上,解决方法参考:http://blog.csdn.net/oxinliang12/article/details/52279143
结束
附加spring boot 整合redis的demo,点我,点我去github看demo have a nice day!
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。