ZooKeeper

(1)下載ZooKeeper註冊中心,依賴JDK

(2)解壓安裝ZooKeeper

(3)在conf配置文件中改名爲 zoo.cfg 並打開

---查看ZooKeeper端口號:2181

---設置ZooKeeper的數據存儲目錄

(3)命令

./zsServerver.sh start  //啓動ZooKeeper
./zsServerver.sh status //查看狀態

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章