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