当前位置:网站首页>redis修改密码,及启动、查看等操作
redis修改密码,及启动、查看等操作
2022-06-22 12:24:00 【hmk1900】
1、修改密码(可以不用改)
vim /etc/redis/redis.conf
找到:requirepass xxxxx 配置自己的密码
2、killall -9 redis
3、后台启动redis:配置文件找到daemonize 设置为yes启动守护进程(这样就可以用下面的命令后台运行了
redis-server redis.conf
4、服务器连接redis可以用redis-cli,选择数据库,查看所有keys可以用keys * 命令

5、redis开启过期事件
在redis.conf中,打开此项notify-keyspace-events Ex,关闭此项notify-keyspace-events "")
重启redis:
关闭:killall -9 redis
后台启动: redis-server redis.conf
边栏推荐
- SAP-ABAP-BAPI_GOODSMVT_CREATE创建物料凭证bapi的各种情况如何赋值
- Fast establishment of tensorflow2 model optimization environment
- What is C language structure byte alignment and why?
- 胡润研究院首发中国元宇宙潜力企业榜,巨杉数据库入选未来之星企业
- SAP-MM-MIGO 311工厂内转移挑拨库存
- Automatically delete the log files in the specified directory and within the specified time
- A2L file analysis based on CAN bus (1)
- Ffmpeg converts AMR format to MP3 format
- Tianyi cloud explores a new idea of cloud native and edge computing integration
- C language itoa() function and atoi() function explanation (integer to character c implementation)
猜你喜欢

SAP-ABAP-BAPI_ GOODSMVT_ How to assign values when creating a material voucher Bapi

SAP-MM-MIGO 311工厂内转移挑拨库存

Flutter——实现网易云音乐的渐进式卡片切换

Sap-abap- how to transfer material master data, supplier master data, work orders, purchase orders and other information to external systems in real time - implicit enhancement.

信创之下:国产数据库群星闪耀时

Arcpy 添加图层到地图文档

SAP fi financial statement version setting

Final of the 12th Blue Bridge Cup embedded design and development project

Final of the 11th Blue Bridge Cup embedded design and development project

帝云CMS升级PHP8注意事项
随机推荐
企业官网如何提高客户转化率
Arcpy 添加图层到地图文档
SAP 客户端中文显示乱码问题
2022-6-21OS复习成组链接法
Wisdom age voice +php
天翼云探索云原生、边缘计算融合新思路
Tis tutorial 02 model
[QT] QT get standard system path
Precautions for wechat official account development
微信支付二维码生成
Getting started with webrtc: 11 In kurento, rtendpoint is used to pull RTP streams for clustering in live broadcast
轻松上手Fluentd,结合 Rainbond 插件市场,日志收集更快捷
SequoiaDB分布式数据库2022.5月刊
Tianyi cloud digital government smart data center has passed the certification
基于can总线的A2L文件解析(1)
Automatically delete the log files in the specified directory and within the specified time
Flutter动画入门: 内外逆向环Loading动画
助力金融信息化创新,巨杉数据库近期持续中标50余家金融客户
Jushan database won two honors of China's information innovation industry in 2022 by AI media consulting
MySQL_ Addition, deletion and modification of data processing