In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the "Elasticsearch visualization plug-in ES-HEAD installation startup detailed steps" related knowledge, in the actual case of the operation process, many people will encounter such a dilemma, then let the editor lead you to learn how to deal with these situations! I hope you can read it carefully and be able to achieve something!
1. Download the head plug-in
Wget https://github.com/mobz/elasticsearch-head/archive/master.zip
two。 Install node.js
# # download
Wget https://npm.taobao.org/mirrors/node/latest-v4.x/node-v4.4.7-linux-x64.tar.gz
# # decompressing the package
Tar-zxvf node-v4.4.7-linux-x64.tar.gz
# # configuring Environment variables
`vim / etc/profile
Export NODE_HOME=/opt/elasticsearch-6.5.4/es-head/node-v4.4.7-linux-x64export PATH=$PATH:$NODE_HOME/binexport NODE_PATH=$NODE_HOME/lib/node_ modules`
# # make the configuration effective
Source / etc/profile
Install grunt
Grunt is a Node.js-based project build tool that can be packaged, compressed, tested, executed, and so on. The head plug-in is launched through grunt.
`# # go to the plug-in directory
Cd / opt/elasticsearch-6.5.4/es-head/elasticsearch-head-master # # download and install grunt
Npm install-g grunt-cli
# # check whether the installation is successful. If the version number appears after the command is executed, it is successful.
Grunt-version
# # modify the source code Gruntfile.js, add host regular match connect: {server: {options: {port: 7200, base:'.', keepalive: true, host:'*'} _ site/app.js, modify the link address of es var ui = app.ns ("ui"); var services = app.ns ("services")
App.App = ui.AbstractWidget.extend ({defaults: {base_uri: null}, init: function (parent) {this._super (); this.prefs = services.Preferences.instance () This.base_uri = this.config.base_uri | | this.prefs.get ("app-base_uri") | | "http://localhost:9200";"
`# # install the service of npm, and then start the plug-in under the head directory
Npm install
Grunt server
The following is the effect of starting under windows
This is the end of the detailed steps for the installation and startup of the Elasticsearch visualization plug-in ES-HEAD. Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.