Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Redis master and slave

Shulou Source: shulou.com Published: 2022-06-01 06:41:14 10月03日 Update

redis master:

Two machines:

master(192.168.141.188)

slave (192.168.141.187)

Install and start redis as described above

master machine configuration file does not need to be moved

slave machine configuration file

slaveof 192.168.141.188 6379

masterauth passwd //if the master has set a password, add this line

Start master and slave separately

Tags: Machine file configuration master-slave no password step add Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Shulou Tech Info OPPO Reno Microsoft Shulou Technology