Redis https://redis.io/download

yum install make gcc gcc-c++ openssl-devel zlib-devel -y;

wget  
tar -xvf
make
make install
make test

find /  | grep -v xl_ | grep redis

[root@hadoop3 ~]# /usr/bin/redis-server  /etc/redis.conf

[root@hadoop3 ~]# ps -aux | grep redis
root 12368 0.0 0.0 142916 5788 pts/2 Sl+ 17:53 0:00 /usr/bin/redis-server 127.0.0.1:6379
root 12424 0.0 0.0 112680 976 pts/3 S+ 17:53 0:00 grep --color=auto redis
[root@hadoop3 ~]#

[root@hadoop3 ~]# /usr/bin/redis-cli
127.0.0.1:6379> set key "xl_bin"
OK
127.0.0.1:6379> get key
"xl_bin"
127.0.0.1:6379> CONFIG get requirepass
1) "requirepass"
2) ""
127.0.0.1:6379> CONFIG set requirepass "mypwd"
OK
127.0.0.1:6379> CONFIG get requirepass
(error) NOAUTH Authentication required.
127.0.0.1:6379> AUTH mypwd
OK
127.0.0.1:6379> CONFIG get requirepass
1) "requirepass"
2) "mypwd"
127.0.0.1:6379> AUTH requirepass
(error) ERR invalid password
127.0.0.1:6379> AUTH mypwd
OK
127.0.0.1:6379>

[root@hadoop3 ~]# ps -aux | grep redis
root 12368 0.0 0.0 142916 5788 pts/2 Sl+ 17:53 0:00 /usr/bin/redis-server 127.0.0.1:6379
root 12500 0.0 0.0 22088 5184 pts/4 S+ 17:54 0:00 /usr/bin/redis-cli
root 13225 0.0 0.0 112684 972 pts/3 S+ 18:01 0:00 grep --color=auto redis
[root@hadoop3 ~]#

CentOS下Redis的安装 - 才鱼 - 博客园 https://www.cnblogs.com/renzhicai/p/7773080.html

最新文章

  1. 解决motools和jquery之间的冲突
  2. 使用系统自带的GCD的timer倒计时模板语句遇到的小坑。。
  3. Linux快速入门03-系统管理
  4. FIFO深度
  5. redis的相关知识
  6. Swift游戏实战-跑酷熊猫 08 产生源源不断的移动平台
  7. Centos移除图形界面
  8. A debugger is already attached
  9. 【转】eclipse中egit插件使用
  10. 启动tomcat时报classpath not found
  11. web —— jsp笔记
  12. CPLD和FPGA的区别(转)
  13. win7(32 bit) 环境下点击打印预览报错解决办法
  14. 【技术分享】BurpSuite 代理设置的小技巧
  15. Flask web开发之路一
  16. 团队作业——Alpha冲刺 3/12
  17. 为控件动态添加Style
  18. Git 代码管理命令
  19. pycharm设置连接
  20. Csharp:user WebControl Read Adobe PDF Files In Your Web Browser

热门文章

  1. 笔试算法题(05):转换BST为双向链表 & 查找栈中的最小元素
  2. [Python3网络爬虫开发实战] 2.2-网页基础
  3. laravel学习笔记2--表单
  4. Java 读取linux上的文件
  5. Python接口测试中通过登录接口获取实时token
  6. (九)python3 列表生成式
  7. 版本控制git之一 仓库管理 安装 基础
  8. json pickle shelve hashlib collections time
  9. BNUOJ 7697 Information Disturbing
  10. [NOIP2008] 提高组 洛谷P1125 笨小猴