In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Head Plugin
The head plug-in is a cluster management tool for elasticsearch, a standalone web application written entirely in html5.
Github:
https://github.com/mobz/elasticsearch-head
git clone https://github.com/mobz/elasticsearch-head.git
installation
./ elasticsearch plugin -install /usr/elasticsearch-head
The new version does not support plugin direct installation
install NodeJS
yum install nodejs -y
There are no nodejs.
Go to the official website next
https://nodejs.org/en/download/package-manager/
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
come back
yum install -y nodejs
yum install -y gcc-c++ make
There you go, 17M.
Verify installation
node -v
npm -v
Use domestic Taobao source to install grunt
cd elasticsearch-head/
npm install -g grunt --registry=https://registry.npm.taobao.org
npm install grunt --save
See if it's installed.
ls -d node_modules/grunt
npm install -g grunt-cli --registry=https://registry.npm.taobao.org
npm install --registry=https://registry.npm.taobao.org
Error bird, connection denied, allow me to fix an error
PhantomJS not found on PATH directory Not found, download time was rejected on github, great wall. What did President Xi say? Wise men build bridges, fools build walls.
The code branched off.
https://www.npmjs.com/package/phantomjs-prebuilt
npm install phantomjs-prebuilt
node ./ install.js
/usr/elasticsearch-6.2.3/plugins/elasticsearch-head
vi Gruntfile.js
hostname: '*', #add this line
vi _site/app.js
Update this sentence.
this.base_uri = this.config.base_uri || this.prefs.get("app-base_uri") || "http://192.168.209.168:9200";
start the service
[root@ELK_001 elasticsearch-head]# grunt server
file header
curl -i localhost:9100
http://192.168.209.168:9100/
But the cluster shows no connection.
vi /usr/elasticsearch-6.2.3/config/elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: "*"
Add two sentences and it will be fine under the activation.
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.