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
  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 November :Wuyi bin
  6. Drwxr-xr-x. 2 root root 4096 November :wuyi config
  7. Drwxr-xr-x. 3 root root 4096 December 4 :data
  8. Drwxr-xr-x. 3 root root 4096 November :
  9. -rw-rw-r--. 1 root root 11358 November :wuyi LICENSE.txt
  10. Drwxr-xr-x. 2 root root 4096 December :logs
  11. -rw-rw-r--. 1 root root November :wuyi NOTICE.txt
  12. Drwxr-xr-x. 4 root root 4096 December :plugins
  13. -rw-rw-r--. 1 root root 8438 November :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
  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:




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




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.

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:



Elasticsearch Introduction to Installation 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.