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工作在无互联网的环境下,需要在离线环境下安装一些组件,这次实现的是模拟在离线环境下安...
首先参照https://www.cnblogs.com/wdw984/p/13330074.html,来进行如何安装Centos和离线下载rpm包。 离...
有两个.NET CORE3.1网站部署在CentOS7上(内网IP是192.168.2.32),现在想实现访问http://192.168.2.32...
1、yum -y install vsftpd 安装vsftpd 2、配置vsftpd的配置文件(/etc/vsftpd/vsftpd.conf)主要修改以...
首先去mysql官网下载mysql的离线rpm安装包(https://downloads.mysql.com/archives/community/) Mysql...
第一步下载erlang环境并安装: wget https://packages.erlang-solutions.com/erlang/rpm/centos/7/x86_...