当前位置:网站首页>1. Install redis in CentOS 7
1. Install redis in CentOS 7
2022-07-27 06:41:00 【Heartbreaking blog】
root The user login
Preparation :
1.gcc verification
# gcc --version2.gcc install
You can verify whether there is , Verifying the displayed version information can skip the preliminary preparation .
# yum -y install gccGet to the point :
1. wget Go to download
# wget http://download.redis.io/redis-stable.tar.gz2. tar xzf decompression
# tar xzf redis-stable.tar.gz3. mv Move the extracted directory
# mv redis-stable /usr/local/redis4. cd Get into redis
# cd /usr/local/redis
5. make install
# make6. make After execution ,redis Of src The directory appears after compilation redis Service program redis-server, Tested client program redis-cil
# cd src
# ls Partial screenshots :
7. start-up redis service
# ./redis-server8. test redis service
Open another terminal
# cd /usr/local/redis/src
# ./redis-cli
6379 > set string hello
ok
6379 > get string
"hello"
6379 > exit
#
exit Exit client
The client can shutdown ( close ) Connect
9. Ctrl + C sign out redis service
10. Delete redis
# cd /usr/local
# rm -rf redis
边栏推荐
- Basic knowledge of English: Rules for using attributives Part 2
- Source code compilation and installation LNMP and discuz Forum
- 网络故障排查:用户VLAN下用户无法收到组播报文故障(IGMP Snooping)
- Programming learning records - Lesson 8 [array and design Gobang, minesweeping game]
- 装饰器函数与类装饰器的使用
- DHCP原理与配置
- C language minesweeping latest recursive expansion super detailed explanation (with source code)
- 远程访问及控制
- PXE高效批量网络装机
- 英语基础知识:定语使用规则下篇
猜你喜欢

Source code compilation and installation lamp and discuz Forum

LVM与磁盘配额

远程访问及控制

logging日志的封装

About the use of TestNG related tags

源码编译安装LNMP和DISCUZ论坛

Shell Function

DNS domain name resolution service

面试常问的问题总结【呕心沥血熬了一个晚上总结的】

Li Kou daily question leetcode 513. find the value in the lower left corner of the tree
随机推荐
bug分类及缺陷和csv文件测试
shell脚本循环
Shell语句判断练习题
Shell programming specification and redirection and pipeline operation
源码编译安装LAMP和DISCUZ论坛
shell常用命令-备忘录
KVM命令集管理虚拟机
Iptables firewall
torch加载自定义模型的问题
Webodm win10 installation tutorial (personal test)
LVM与磁盘配额
DNS故障分析优化
Raid explanation and configuration
Shell -- conditional statements (if statements, case statements)
Li Kou's first week's wrong question set
Cesium tutorial (1) interface introduction -3dfiles loading - change mouse operation settings
FTP服务器的搭建
数据库在终端的基础操作
Markdown文档常用字体及颜色设置
Source code compilation and installation lamp and discuz Forum