centos6.7安装redis3.2.3

来源:互联网 发布:mac快速进入屏保 编辑:程序博客网 时间:2024/05/16 18:48

下载安装包

到http://download.redis.io/releases 下载需要的版本

解压到/usr目录并安装

cd /usr/redis-3.2.3/srcmake 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.conf3674: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!

0 0
原创粉丝点击