Home > Database > Redis > body text

How redis implements online encryption

WBOY
Release: 2023-05-27 10:17:07
forward
1017 people have browsed it

1. Change the password of redis: Note that both must be modified
>>config set requirepass password

>>auth password
>>config get masterauth
2. Change the password of redis sentinel
>>info
>>sentinel set master-name auth-pass password
Check whether the sentinel configuration information password is written


echo "masterauth password" >> redis.conf
4. Check the redis status
redis-cli -p redis-port -a password info replication Check the master-slave replication of redis

The above is the detailed content of How redis implements online encryption. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template