本机搭建Redis主从哨兵
作者:互联网
本机Redis搭建主从哨兵
搭建主从
-
先下载Redis服务
- 由于我是Mac所以安装命令
brew install redis
Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/services). No changes to formulae. Warning: Treating redis as a formula. For the cask, use homebrew/cask/redis ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/redis-6.2.1.catalina.bottle.tar.gz ######################################################################## 100.0% ==> Pouring redis-6.2.1.catalina.bottle.tar.gz ==> Caveats To have launchd start redis now and restart at login: brew services start redis Or, if you don't want/need a background service you can just run: redis-server /usr/local/etc/redis.conf ==> Summary
标签:mymaster,Redis,redis,哨兵,usr,conf,sentinel,local,主从 来源: https://www.cnblogs.com/jing1208/p/14606929.html
- 由于我是Mac所以安装命令