Build a distributed search elasticsearch Environment

Source: Internet
Author: User

1. Install elasticsearch

Elasticsearch is easy to install and can be decompressed immediately (you must install the Java environment in advance ).

Download the latest version of elasticsearch running package from the http://www.elasticsearch.org;

Three packages are available after the download is completed:

Bin is a running script,

Config is the setting file,

Lib is a dependent package.

Plug-ins folder, put the plug-in this folder.

Run bin/elasticsearch in Linux;

Run bin/elasticsearch. BAT in windows.

It is also very easy to run elasticsearch clusters in the LAN. As long as the cluster. Name settings in the configuration file are consistent and the machine is in the same network segment, elasticsearch will automatically discover each other and form a cluster.

Run: http: // ip: 9200/in the browser/

Check whether the installation is successful. elasticsearch uses the default port 9200, Which is 1.3.2.


2. install and use the head plug-in

Enter the bin in the installation directory and run the following command: Plugin-install mobz/elasticsearch-head

Test: http: // ip: 9200/_ plugin/head/

This plug-in allows you to view the index information and manage the index.

I have already created two indexes. If no index is created for the first time, it will be empty.


3. install and use the bigdesk plug-in

Enter the bin in the installation directory and run the following command: Plugin-install Lukas-Vlcek/bigdesk

Test: http: // ip: 9200/_ plugin/bigdesk/

This plug-in shows the status of nodes and clusters, threads, memory, CPU consumption, and other system states.


You can explore the use of the head and bigdesk plug-ins.


Build a distributed search elasticsearch Environment

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.