redis主從複製搭建

redis主從複製搭建 準備: 服務器能正常使用redis; /etc/ **目錄下面找到redis.conf cp redis.conf 6380redis.conf *複製一份conf文件並且命名區別開來 vim 6380redis.conf 命令行模式下:%s/6379/6380/g **替換所有6379位6380 重啓之前redis6379的服務 並且 開啓6380服務 redis-cli
相關文章
相關標籤/搜索