一、启动 redis 服务

[root@MyLinux bin]# ./redis-server redis.conf

二、使用客户端连接服务

[root@MyLinux bin]# ./redis-cli -h 192.168.25.128 -p 6379

三、如何关闭服务端

[root@MyLinux bin]# ./redis-cli shutdown

四、如何退出客户端的连接

192.168.25.128:6379> exit

五、helloworld

192.168.25.128:6379> set str helloworld

 六、取值

192.168.25.128:6379> get str

七、返回值

"helloworld"

最新文章

  1. Bzoj3894 文理分科
  2. 使用wait()与notify()实现线程间协作
  3. HDU 2896 病毒侵袭
  4. (C# File) 文件操作
  5. 双栈排序 noip2008
  6. [原创]-IIS7.5优化,支持同时10万个请求
  7. 第一个php网页
  8. Qt 学习之路:Graphics View Framework
  9. CSS——inline-block属性
  10. MySQL实现全关联 full outer join
  11. emWin收音机,含uCOS-III和FreeRTOS两个版本
  12. 福州大学软件工程1916|W班 第2次作业成绩排名
  13. 如何安装破解Unity, 以5.6.1为例
  14. TYVJ.1864.[Poetize I]守卫者的挑战(概率DP)
  15. why big data
  16. protobuf Protocol Buffers 简介 案例 MD
  17. C++设计模式 之 “状态变化” 模式:State、Memento
  18. Android-XML格式描述
  19. 解决Win10系统backgroundTaskHost占用cpu大
  20. Java笔记 #01# 最近遇到的几个Throwable

热门文章

  1. UVA10862 - Connect the Cable Wires(递推 + java的大数)
  2. Project Euler:Problem 77 Prime summations
  3. 编程算法 - 数组中的逆序对 代码(C)
  4. Linux 端口 为什么要有端口
  5. Date and time types
  6. The Unique MST--hdoj
  7. Java访问HTTPS时证书验证问题
  8. Comparable与Comparator源码分析
  9. CentOS6.5下nginx-1.8.1.tar.gz的单节点搭建(图文详解)
  10. ShowDialog函数与Form的Activated函数同时使用的陷阱