In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install and configure node-zk-browser in Zookeeper. It is very detailed and has a certain reference value. Friends who are interested must read it!
As a standardized distributed coordination component, Zookeeper has been more and more used in various big data platforms. In Zookeeper, some state information is often saved in a tree structure similar to the Linux file system, and node-zk-browser is an open source tool that can view Zookeeper tree state information graphically. Here are two main ways to record how to install node-zk-browser.
Installation of nodejs
Download nodejs,wget https://github.com/joyent/node/archive/v0.8.14.zip
Decompression, unzip v0.8.14.zip
Compile nodejs
Cd node-0.8.14
. / configure-- prefix=/usr/local/nodejs/nodejs-0.8.14
Make
Sudo make install
Set the .bash _ profile environment variable
Export PATH=$PATH:/usr/local/nodejs/nodejs-0.8.14/binexport NODE_PATH=/usr/local/nodejs/nodejs-0.8.14:/usr/local/nodejs/nodejs-0.8.14/lib/node_modules
Verify nodejs installation
Edit hello.js file, write to
Var http = require ("http"); http.createServer (function (request, response) {response.writeHead (200,{ "Content-Type": "text/plain"}); response.write ("Hello, nodejs!"); response.end ();}) .customers (5000)
Run hello.js,node hello.js
In the browser, observe $IP:5000 for output
Node-zk-browser
Download node-zk-browser,git clone https://github.com/killme2008/node-zk-browser.git
Install dependency packages
Install ejs,npm install-d ejs
Install express,npm install-d express@3.0.5
Install express-namespace,npm install-d express-namespace
Install zookeeper,npm-d zookeeper
Modify the zookeeper setting to change the ZK_HOST in start.sh to the actual zk address
Verify that, in the browser, observe $IP:3000 for output
These are all the contents of the article "how to install and configure node-zk-browser in Zookeeper". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.