Win7 under elasticsearch5.0 install head plugin

Source: Internet
Author: User

The project development uses the es,5.x version, however the network many installs the material to be unable to use, all is the previous old version, today got a morning finally finished, summarizes installs the step.

1. Installing Nodejs

To the official website https://nodejs.org/en/download Nodejs, and then directly installed on the computer, and then configure the environment variables, user variables added Node_path, the value of the installation path under the Node_modules folder path,

Add Node_home to the system variable, with a value of Nodejs's installation path,

Add the Node_home to the path path.

Whether the test was successful in CMD:

2. Installing grunt

Head plugin to start with this, start cmd under node installation path, enter

NPM install-g GRUNT-CLI

-G represents a global installation. The installation path is C:\USERS\YOURNAME\APPDATA\ROAMING\NPM and is added to the system variable path. After the installation is complete, check it and enter it in CMD:

3. Installing PHANTOMJS

PHANTOMJS is a non-interface, scriptable WebKit browser engine. It natively supports a variety of Web standards: DOM manipulation, CSS selectors, Json,canvas, and SVG.

After downloading the website phantomjs.exe , add the directory to the system variables PATH .

4.elasticsearch configuration allows cross-domain access to modify the Elasticsearch configuration file elasticsearch.yml
true http.cors.allow-origin: "*"
5. Start es 6. Download Head Plugin

If you have git, you can download it directly from git:

git clone git://github.com/mobz/elasticsearch-head.git

If not, download the zip format in the link below

HTTPS://github.com/mobz/elasticsearch-head

Start cmd in file directory after decompression

NPM Install

Start the installation, and then enter it in CMD after success

Grunt Server

Success, visit 9100 on the line!

Win7 under elasticsearch5.0 install head plugin

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.