2.4 linux下建立redis叢集(適合window)
阿新 • • 發佈:2021-09-15
參考 https://www.cnblogs.com/wuxl360/p/5920330.html
1.在user/local/下新建redis資料夾,拷入redis安裝包redis-5.0.8.tar.gz,解壓 zxvf redis-5.0.8.tar.gz 2.cd redis-5.0.8 make && make install redis下會生成bin目錄 3.在解壓包中的src中將edis-trib.rb放入reids/bin目錄。 4.建立redis-cluster目錄,裡面新建6個節點資料夾,每個資料夾裡新建一個redis.conf,內容見下方 --redis節點啟動 至少配6個節點