【zookeeper安裝】
前言:
最近自己重新搭建了一遍SSM框架,期間溫習了一些軟體的安裝,今天這篇部落格我們們主要來說說zookeeper的安裝,記錄自己的實踐過程.
核心:
第一步:
下載zookeeper-3.4.6.tar.gz(前提虛擬機器上需要安裝jdk)
第二步:
把zookeeper-3.4.6.tar.gz上傳到/usr/local目錄下,並解壓(z:壓縮 x:解壓 v:過程 f:檔案)
第三步
進入zookeeper-3.4.6目錄,建立data資料夾。
第四步
進入到zookeeper-3.4.6/conf中把zoo_sample.cfg改名為zoo.cfg,然後把zoo.cfg裡邊的dataDir改成
dataDir=/usr/local/zookeeper-3.4.6/data 1 # The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=5 # the directory where the snapshot is stored. # do not use /tmp for storage, /tmp here is just # example sakes. dataDir=/usr/local/zookeeper-3.4.6/data # the port at which the clients will connect clientPort=2181 # the maximum number of client connections. # increase this if you need to handle more clients #maxClientCnxns=60 # # Be sure to read the maintenance section of the # administrator guide before turning on autopurge. # # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance # # The number of snapshots to retain in dataDir #autopurge.snapRetainCount=3 # Purge task interval in hours # Set to "0" to disable auto purge feature #autopurge.purgeInterval=1
第五步
進入到zookeeper-3.4.6/bin
執行啟動命令(啟動命令之前,確保2181埠開放)
./zkServer.sh start
執行關閉命令
./zkServer.sh stop
檢視狀態命令
./zkServer.sh status
總結:
今天部落格就寫到這裡,感謝夥伴們的閱讀.
相關文章
- Zookeeper的安裝
- Zookeeper 安裝配置
- docker安裝zookeeperDocker
- 3-ZooKeeper安裝
- kafka和zookeeper安裝Kafka
- Zookeeper單機安裝
- 初識zookeeper和安裝
- ZooKeeper三種安裝模式模式
- zookeeper安裝部署步驟
- zookeeper下載安裝使用
- 【Linux】Centos7.6 安裝ZookeeperLinuxCentOS
- Docker教程之十一安裝 ZookeeperDocker
- 安裝Zookeeper和Kafka叢集Kafka
- ZooKeeper分散式專題(一) -- zookeeper安裝以及介紹分散式
- [Zookeeper-01]什麼是zookeeper?& Linux / Windows Zookeeper安裝和部署(單點)LinuxWindows
- zookeeper安裝和使用 windows環境Windows
- linux安裝zookeeper中各種坑Linux
- Zookeeper(1)-安裝與基礎使用
- Zookeeper-3.4.10 叢集的安裝配置
- CentOS6.5安裝zookeeper-3.4.5(單機)CentOS
- CDH版Hadoop-zookeeper-hbase-spark安裝文件HadoopSpark
- 安裝配置 zookeeper (單機非叢集模式)模式
- Zookeeper 在Linux系統上的安裝,並且啟動zookeeper服務Linux
- Zookeeper入門學習--01介紹及安裝
- 在 CentOS7 上安裝 zookeeper-3.4.9 服務CentOS
- dubbo系列(一):linux安裝dubbo與zookeeper(單節點)Linux
- Zookeeper 在Windows下的安裝過程及測試Windows
- 簡要分析ZooKeeper基本原理及安裝部署
- 構建dubbo分散式平臺-window安裝zookeeper註冊中心分散式
- Zookeeper3.4.14(單叢集)、Kafka_2.12-2.2.2(叢集)安裝Kafka
- ZooKeeper叢集安裝和部署
- Zookeeper介紹與叢集安裝
- centos7下zookeeper叢集安裝部署CentOS
- 安裝npm 解除安裝npm 安裝apidocNPMAPI
- 【圖靈學院】java架構師學習路線-Zookeeper怎麼操作才能安裝成功圖靈Java架構
- BiocManager安裝,devtools安裝dev
- 【zookeeper】zookeeper分散式鎖分散式
- 阿里大資料架構師教你ZooKeeper安裝配置!看了的都轉發和關注了!阿里大資料架構
- Linux安裝解除安裝MySQLLinuxMySql