centos6.7安装redis3.2.3

前端之家收集整理的这篇文章主要介绍了centos6.7安装redis3.2.3前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

下载安装包

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!

猜你在找的CentOS相关文章