redis helloworld
2024-09-08 16:03:28
一、启动 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"
最新文章
- Bzoj3894 文理分科
- 使用wait()与notify()实现线程间协作
- HDU 2896 病毒侵袭
- (C# File) 文件操作
- 双栈排序 noip2008
- [原创]-IIS7.5优化,支持同时10万个请求
- 第一个php网页
- Qt 学习之路:Graphics View Framework
- CSS——inline-block属性
- MySQL实现全关联 full outer join
- emWin收音机,含uCOS-III和FreeRTOS两个版本
- 福州大学软件工程1916|W班 第2次作业成绩排名
- 如何安装破解Unity, 以5.6.1为例
- TYVJ.1864.[Poetize I]守卫者的挑战(概率DP)
- why big data
- protobuf Protocol Buffers 简介 案例 MD
- C++设计模式 之 “状态变化” 模式:State、Memento
- Android-XML格式描述
- 解决Win10系统backgroundTaskHost占用cpu大
- Java笔记 #01# 最近遇到的几个Throwable
热门文章
- UVA10862 - Connect the Cable Wires(递推 + java的大数)
- Project Euler:Problem 77 Prime summations
- 编程算法 - 数组中的逆序对 代码(C)
- Linux 端口 为什么要有端口
- Date and time types
- The Unique MST--hdoj
- Java访问HTTPS时证书验证问题
- Comparable与Comparator源码分析
- CentOS6.5下nginx-1.8.1.tar.gz的单节点搭建(图文详解)
- ShowDialog函数与Form的Activated函数同时使用的陷阱