redis 5 单节点安装

浪尽此生 提交于 2019-11-29 15:07:13

[root@localhost redis-5.0.5]# tar -zxvf redis-5.0.5.tar.gz 

 

[root@localhost redis-5.0.5]# cd redis-5.0.5/

 

[root@localhost redis-5.0.5]# yum install gcc

 

[root@localhost redis-5.0.5]# make MALLOC=libc & make install

 

[root@localhost redis-5.0.5]# src/redis-server redis.conf

 

[root@localhost redis-5.0.5]# ps -ef | grep redis 

 

[root@localhost redis-5.0.5]# vi redis.conf 

1、bind ip

2、关闭保护模式 

 

[root@localhost bin]# ./redis-cli -h 192.168.92.128 -p 6379

 

 

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!