Elasticsearch learning one, installation and configuration

Source: Internet
Author: User

Original link: http://jingyan.baidu.com/article/48206aead42b53216bd6b372.html

Elasticsearch is a Lucene-based search server. It provides a distributed multi-user-capable full-text search engine, based on a restful web interface.

Recently work needed, and then studied the next es. By the way, the process of learning is recorded, it is also convenient for a long time to review again, or other environment to configure the reference.

Tools/Materials
    • JDK, ES installation package
Installing Elasticsearch
  1. 1

    First look at the effect 194, 1962 machine cluster, install head plugin browse access

    2

    ES relies on Java, so make sure you install the JDK first

    elastic.co official website downloads Download the required Elasticsearch package, the historical version can be found under downloads/past-releases, I chose the 1.7.2 package here

    TAR-ZXVF elasticsearch-1.7.2.tar.gz

    3

    Execution start

    ./bin/elasticsearch-d

    You can view the boot ES information directly via the browser or terminal.

    Curl ' Http://localhost:9200/?pretty '

    This time ES has actually been installed successfully

    Installing Elasticsearch-servicewrapper
      1. 1

        Elasticsearchservicewrapper is a packaging service that executes commands on Elasticsearch

        After the installation, convenient elasticsearch start, stop and so on a series of operations

        Find elasticsearch-servicewrapper Download Zip package on GitHub

        2

        Configuring the JVM's memory

        Modify the/bin/service/elasticsearch.conf,set.default.es_heap_size=1024, which can be customized according to the machine's configuration.

        3

        Install Startup services

        ./bin/service/elasticsearch Install

        Start/stop/Restart service

        ./bin/service/elasticsearch Restart

        Start/stop/restart

        Installing the Es-head Plugin

        1. 1

          ./bin/plugin-install Mobz/elasticsearch-head

          Browser access to head interface for viewing effects

          Installing the Bigdesk Plugin

          1. 1

            ./bin/plugin-install Lukas-vlcek/bigdesk

            Look at the effect, the environment is almost. Back to continue.

Elasticsearch learning one, installation and configuration

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.