-1

On my Ubuntu 14.04 where I installed Redis.

I want to configure Master-Slave replication. To do this, in redis.conf file, I should put this command =>

slaveof <masterip> <masterport> 

But, how I can detect what is my master ip and and master password?

Seydazimov Nurbol
  • 1,404
  • 3
  • 10
  • 25

1 Answers1

1

If the master and slave are on same machine. You can use localhost in .

If Master and Slave are on different machines, get the IP of machine where master of redis setup is running by executing : ifconfig command in terminal.

Master password is from your redis.conf of master redis serverusing (if you setup). Check requirepass in redis.conf.

Nitin
  • 11
  • 2