当前位置:网站首页>linux 系统redis常用命令
linux 系统redis常用命令
2022-06-24 19:48:00 【找到快乐的根源】
一、查找redis所在的目录
whereis redis
二、启动redis服务方法
通过cd命令先进入redis所在的目录,进入bin文件夹(我的redis-server程序所在的目录是:/usr/local/redis/bin/),然后直接输入以下命令:
redis-server
二、关闭redis方法
直接执行以下命令:
redis-cli -h 127.0.0.1 -p 6379 shutdown
三、重启redis服务
方法:先关闭,再重启即可
边栏推荐
- 【面试题】instancof和getClass()的区别
- 时间统一系统
- Window system installation Nacos
- throttle-debounce. JS: a small anti shake throttling function library
- STM32CubeIDE SWV功能使用方法
- Is there really something wrong with my behavior?
- 第三代电力电子半导体:SiC MOSFET学习笔记(五)驱动电源调研
- Assessment of public finance of Jilin University in March of the 22nd spring -00091
- Daily calculation (vowel case conversion)
- ArcGIS加载免费在线历史影像作为底图(不需要插件)
猜你喜欢
Tongji and Ali won the CVPR best student thesis, lifeifei won the Huang xutao award, and nearly 6000 people attended the offline conference
有趣的checkbox计数器
【面试题】什么是事务,什么是脏读、不可重复读、幻读,以及MySQL的几种事务隔离级别的应对方法
QT display RGB data
VR全景怎么赚钱?结合市场从两个方面客观分析下
抖音实战~项目关联UniCloud
After 5 years of software testing in didi and ByteDance, it's too real
JPA learning 2 - core annotation, annotation addition, deletion, modification and query, list query result return type, one to many, many to one, many to many
Record a Webflux application memory leak troubleshooting
VR全景制作的优势是什么?为什么能得到青睐?
随机推荐
Hello C (VI) -- pointer and string
Im instant messaging development application keeping alive process anti kill
Hibernate learning 3 - custom SQL
Hibernate学习3 - 自定义SQL
Arbitrary file download of file operation vulnerability (7)
VR全景怎么赚钱?结合市场从两个方面客观分析下
ArcGIS loads free online historical images as the base map (no plug-ins are required)
U.S. House of Representatives: digital dollar will support the U.S. dollar as the global reserve currency
Development status and prospect trend forecast report of humic acid sodium industry in the world and China from 2022 to 2028
Annual salary of millions, 7 years of testing experience: stay at a fairly good track, accumulate slowly, wait for the wind to come
What exactly is Nacos
Phprunner 10.7.0 PHP code generator
人体改造 VS 数字化身
How to resolve the 35 year old crisis? Sharing of 20 years' technical experience of chief architect of Huawei cloud database
颜色渐变梯度颜色集合
It's 2022, and you still don't know what performance testing is?
How does VR panorama make money? Based on the objective analysis of the market from two aspects
Hello C (IV) -- pointer and function
Monotone stack and its application
Scala IO case