Elasticsearch Introduction to Installation and Deployment (II)

Source: Internet
Author: User
Tags solr

Scattered cents, in the previous article on the overall introduction of Elasticsearch, then this article we look at how to install, deploy ES, and how to install ES several more commonly used plug-ins.

ES installation and deployment, is very simple and convenient, at least this point between ES and SOLR, can be clearly reflected, SOLR installation is to rely on the servlet container, such as jetty, or Tomcat, after downloading, You need to copy SOLR's installation section into the Web container, then configure it to start the access, provide the retrieval service, and of course, SOLR is very easy to learn.


ES is currently the latest version is 1.4.2, the use of the version is 1.4.1, this version of ES are encapsulated based on the latest version of the Lucene4.10.2 based on, of course, Lucene and SOLR version is more closely, because they are released at the same time the new version.

Below to get to the chase:


(a) We need to go to the ES official website to download a new version of ES, and then extract to our Linux (the centos6.5 is here)

(ii) Enter the root directory of the extracted ES

Java code 650) this.width=650; "class=" star "src=" Http://qindongliang.iteye.com/images/icon_star.png "alt=" Favorites Code "style= "border:0px;"/>

  1. [Root@ph1 elasticsearch-1.4. 1] # pwd

  2. /root/elasticsearch-1.4. 1

  3. [Root@ph1 elasticsearch-1.4. 1] # LL

  4. Total dosage

  5. Drwxr-xr-x. 2 root root 4096 Month: Wuyi Bin

  6. Drwxr-xr-x. 2 root root 4096 Month: Wuyi Config

  7. drwxr-xr-x. 3  root root  4096  12 Month   4  01 : 33  data  

  8. Drwxr-xr-x. 3 root root 4096 Month:

  9. -rw-rw-r--. 1 root root 11358 Month: Wuyi LICENSE.txt

  10. drwxr-xr-x. 2  root root  4096  12 Month  30  05 : 12  logs  

  11. -rw-rw-r--.  1  root root   150  11 Month  26  12 : 51  notice.txt  

  12. drwxr-xr-x. 4  root root  4096  12 Month  26  01 : 49  plugins  

  13. -rw-rw-r--. 1 root root 8438 Month: readme.textile

  14. [Root@ph1 elasticsearch-1.4. 1] #



Then execute, bin/elasticsearch command, launch our ES service, es boot, main two port number, 9200 (restful external port) and 9300 (external port of Java API), Then we can enter http://192.168.46.23:9200/in the browser on our windows, access our ES, and get the following information:


Java code 650) this.width=650; "class=" star "src=" Http://qindongliang.iteye.com/images/icon_star.png "alt=" Favorites Code "style= "border:0px;"/>

  1. {

  2. "Status" :

  3. "Name" : "Skin",

  4. " cluster_name" : "Elasticsearch",

  5. "Version" : {

  6. "Number " : "1.4.1",

  7. " Build_hash" : "89d3241d670db65f994242c8e8383b169779e2d4",

  8. " build_timestamp" : "2014-11-26t15:49:29z",

  9. "Build_snapshot" : false,

  10. " lucene_version" : "4.10.2 "

  11. },

  12. " tagline" : "Know, for Search"

  13. }




Below, the two is almost es necessary plug-in, and very powerful:

1,head Plugin: You can view the index situation, search the index, view the cluster status and shard distribution, etc.
2,bigdesk plug-in: Can view the JVM information of the cluster, disk IO, index creation Delete information, etc., suitable to find system bottleneck, monitor cluster status, etc.


How they are installed:
First, offline installation, we can download the Tar package decompression method, download the address of the plugin click


Second, the online installation, directly under the root directory of Elasticsearch, respectively, enter:
Bin/plugin--install Mobz/elasticsearch-head Installation head
Bin/plugin--install Lukas-vlcek/bigdesk Installation Bigdesk
Once the installation is complete, we can individually access their corresponding HTTP addresses to verify that the installation was successful:

HTTP access address for head: http://192.168.46.23:9200/_plugin/head/
As follows:


650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0104/7504/ F36f42c4-5d28-31c1-a6a7-5e93c3fdbb97.jpg "title=" click to view original size picture "class=" Magplus "width=" "height=" 305 "style=" border : 0px; "alt=" f36f42c4-5d28-31c1-a6a7-5e93c3fdbb97.jpg "/>

Bigdesk HTTP access address: http://192.168.46.23:9200/_plugin/bigdesk/, as follows:

650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0104/7506/ Cbfa5f7a-51f1-3a9a-95f7-27162662a0b5.jpg "title=" click to view original size picture "class=" Magplus "width=" "height=" 419 "style=" border : 0px; "alt=" cbfa5f7a-51f1-3a9a-95f7-27162662a0b5.jpg "/>


from the look to see, these two plug-ins are very useful, can help us better and faster, see the index, cluster, machine io,cpu, the load and usage of the disk. Learning how to use these two plugins is very helpful for our better clustering.

    • View Picture Attachments


you are welcome to pay attention to the public number: I am an engineer (Woshigcs), more closely related to the siege division of content, here.
Two-dimensional code scanning:



650) this.width=650; "src=" http://static.oschina.net/uploads/img/201412/29215111_GUmT.jpg "style=" padding:5px; margin:10px 0px;border:1px solid RGB (221,221,221); Background:rgb (244,247,249); "alt=" 29215111_gumt.jpg "/> 



This article is from the "7936494" blog, please be sure to keep this source http://7946494.blog.51cto.com/7936494/1597510

Elasticsearch Introduction to Installation and Deployment (II)

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.