当前位置:网站首页>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服务
方法:先关闭,再重启即可
边栏推荐
- Hello C (IV) -- pointer and function
- 信号完整性(SI)电源完整性(PI)学习笔记(二十五)差分对与差分阻抗(五)
- 抖音實戰~項目關聯UniCloud
- U.S. House of Representatives: digital dollar will support the U.S. dollar as the global reserve currency
- How does VR panorama make money? Based on the objective analysis of the market from two aspects
- Tongji and Ali won the CVPR best student thesis, lifeifei won the Huang xutao award, and nearly 6000 people attended the offline conference
- Reservoir dam safety monitoring
- Canvas spiral style animation JS special effect
- canvas线条的动态效果
- ArcGIS loads free online historical images as the base map (no plug-ins are required)
猜你喜欢

Morris traverse

抖音实战~项目关联UniCloud

颜色渐变梯度颜色集合

Hibernate学习3 - 自定义SQL

Reservoir dam safety monitoring

Hello C (IV) -- pointer and function

Understanding openstack network

为什么越来越多的实体商铺用VR全景?优势有哪些?

Hello C (V) -- pointer and array

Hibernate learning 2 - lazy loading (delayed loading), dynamic SQL parameters, caching
随机推荐
JS listens for page or element scroll events, scrolling to the bottom or top
Hello C (VII) - structure
【面试题】instancof和getClass()的区别
抖音实战~项目关联UniCloud
Understanding openstack network
时间统一系统
Analysis report on the development trend and Prospect of cetamide industry in the world and China from 2022 to 2028
ArcGIS loads free online historical images as the base map (no plug-ins are required)
抖音實戰~項目關聯UniCloud
Current situation analysis and development trend prediction report of hesperidase industry in the world and China from 2022 to 2028
Hello C (VI) -- pointer and string
canvas线条的动态效果
创意SVG环形时钟js特效
信号完整性(SI)电源完整性(PI)学习笔记(二十五)差分对与差分阻抗(五)
First person singular reading notes
QT display RGB data
同济、阿里获CVPR最佳学生论文,李飞飞获黄煦涛奖,近6000人线下参会
Ansible及playbook的相关操作
Approaching harvest moon:moonbeam DFI Carnival
JPA学习1 - 概述、JPA、JPA核心注解、JPA核心对象