001-windows under Elasticsearch installation, Elasticsearch-header installation

Source: Internet
Author: User

First, window installation Elasticsearch installation

The client version of Elasticsearch must be consistent with the main version of the server version.

1, Java Installation "slightly" 2, Elasticsearch download

Address: https://www.elastic.co/downloads/past-releases

Select the appropriate version, use elasticsearch5.4.3 download zip here

3, decompression elasticsearch-5.4.3.zip to need to install the directory, my in D:\developToool\elasticsearch-5.4.3

CMD switch to Elasticsearch bin under run Elasticsearch or elasticsearch-d background run

The following interface is started successfully

4, check whether the success

Browser: http://localhost:9200/

Second, plug-in installation 1, header installation 1.1, the installation of node. js

URL: https://nodejs.org/en/download/Download the Windows version of MSI

Open cmd view version after installationnode -v

1.2, Installation Grunt

Grunt is a handy build tool for packaging compression, testing, execution, and so on, and the head plugin in 5.x is started by grunt. So you need to install grunt.
Note: The path is cut to the Nodejs installation directory, "I am installing in D:\ProgramFiles\nodejs".

Command:npm install -g grunt-cli

-G represents a global installation. The installation path is C:\USERS\{YOURNAME}\APPDATA\ROAMING\NPM and the path variable is automatically added.

View version number: Grunt-version

1.3. Download Elasticsearch-head
git clone git://github.com/mobz/elasticsearch-head.git

Modify one, in the code download directory Elasticsearch-head find gruntfile.js, add hostname property, set to *

        Connect: {            server: {                options: {                    9100,                    ' * ',                    '. ' ,                     true                 }            }        }

Modification of the address link

Catalog: _site/app.js

To modify the connection address of the head:

This.base_uri = This.config.base_uri | | This.prefs.get ("App-base_uri") | | "Http://localhost:9200";

Change localhost to the server address of your ES, such as:

This.base_uri = This.config.base_uri | | This.prefs.get ("App-base_uri") | | "Http://10.10.10.10:9200";

Modify the three, ES cross-domain access

Modify the parameters used by ES. Edit c:/elasticsearch-5.4.3/config/elasticsearch.yml:

# Cluster Name
Cluster.name:es-5.2-test
# node Name
Node.name:node-es-101
# Modify the listener address of ES so that other machines can also access
Network. host:0. 0. 0. 0
# port number
HTTP. port:9200
# Add new parameters so that the head plugin can access es truehttp.cors.allow-origin: "*"
1.4. Installation

In fact, when downloading Elasticsearch-head, the GitHub link is described in the installation method, as follows:

git clone git://github.com/mobz/elasticsearch-head.gitcd elasticsearch-headnpm installnpm Run Startopen http://localhost:9100/

Go to our downloaded Elasticsearch-head package and executenpm install

After the installation is complete npm run start orgrunt server

Browser Access Http://localhost:9100/

By this, Elasticsearch and Elasticsearch-head have been installed.

Third, install the plug-in

The following is the official installation of plug-ins, individual plug-ins need to be configured to use, can delete plugins directory-independent plug-ins as necessary, restart Elasticsearch effective.

Bin/elasticsearch-plugin Install Discovery-multicastbin/elasticsearch-plugin Install analysis-icubin/ Elasticsearch-plugin Install Analysis-kuromojibin/elasticsearch-plugin Install analysis-phoneticbin/ Elasticsearch-plugin Install Analysis-smartcnbin/elasticsearch-plugin Install analysis-stempelbin/ Elasticsearch-plugin Install Analysis-ukrainianbin/elasticsearch-plugin Install discovery-filebin/ Elasticsearch-plugin Install Ingest-attachmentbin/elasticsearch-plugin Install ingest-geoipbin/ Elasticsearch-plugin Install Ingest-user-agentbin/elasticsearch-plugin Install mapper-attachmentsbin/ Elasticsearch-plugin Install Mapper-sizebin/elasticsearch-plugin Install Mapper-murmur3bin/elasticsearch-plugin Install Lang-javascriptbin/elasticsearch-plugin install Lang-pythonbin/elasticsearch-plugin Install Repository-hdfsbin/elasticsearch-plugin Install Repository-s3bin/elasticsearch-plugin Install repository-azurebin/ Elasticsearch-plugin Install Repository-gcsbin/elasticsearch-plugin Install store-smbbin/elasticsearch-plugin Install Discovery-ec2bin/elasticsearch-plugin Install discovery-azure-classicbin/ Elasticsearch-plugin Install DISCOVERY-GCE
View Code

001-windows under Elasticsearch installation, Elasticsearch-header installation

Related Article

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.