Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Start Standalone ZooKeeper Server
How to start standalone ZooKeeper Server?
✍: FYIcenter.com
If you want to start a standalone ZooKeeper Server on Linux or Mac computer,
you can follow these steps:
1. Download a binary package of Apache ZooKeeper like apache-zookeeper-3.7.0-bin.tar.gz.
2. Unzip and untar the package file. You see all files extracted in /fyicenter/apache-zookeeper-3.7.0-bin folder.
3. Create a configuration file.
fyicenter$ cd apache-zookeeper-3.7.0-bin fyicenter$ cp conf/zoo_sample.cfg conf/zoo.cfg fyicenter$ vi conf/zoo_sample.cfg ... dataDir=/var/zookeeper clientPort=2181
4. Create the data directory specified in the configuration.
fyicenter$ sudo mkdir /var/zookeeper fyicenter$ sudo chmod 777 /var/zookeeper
5. Start the ZooKeeper server.
fyicenter$ bin/zkServer.sh start /usr/bin/java ZooKeeper JMX enabled by default Using config: conf/zoo.cfg Starting zookeeper ... STARTED
6. Confirm that ZooKeeper server is running.
fyicenter$ bin/zkServer.sh status /usr/bin/java ZooKeeper JMX enabled by default Using config: conf/zoo.cfg Client port found: 2181. Client address: localhost. Client SSL: false. Mode: standalone
2022-03-29, 1078🔥, 0💬
Popular Posts:
What Is commons-codec-1.4.jar? commons-codec-1.4.jar is the JAR file for Apache Commons Codec 1.4, w...
The Apache FontBox library is an open source Java tool to obtain low level information from font fil...
JDK 11 jdk.aot.jmod is the JMOD file for JDK 11 Ahead-of-Time (AOT) Compiler module. JDK 11 AOT Comp...
What Is wstx-asl-3.2.8.jar? wstx-asl-3.2.8.jar is JAR file for the ASL component of Woodstox 3.2.8. ...
JDK 11 jdk.internal.le.jmod is the JMOD file for JDK 11 Internal Line Editing module. JDK 11 Interna...