> redis.conf4, check redis"/> > redis.conf4, check redis">

Home >Database >Redis >How redis implements online encryption

How redis implements online encryption

WBOY
WBOYforward
2023-05-27 10:17:071029browse

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!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete