elasticsearch--start

Source: Internet
Author: User

1. Download

Address: Https://www.elastic.co/downloads/elasticsearch

2. Decompression

Unzip Elasticsearch-1.7.0.zip

3. Start

MV elasticsearch-1.7.0 Elasticsearch
CD Elasticsearch
Bin/elasticsearch

The results are as follows:

[[email protected] elasticsearch]# bin/elasticsearch[2015-07-19 15:08:06,513][info][node] [Bras                     S] version[1.7.0], pid[2482], build[929b973/2015-07-16t14:31:07z][2015-07-19 15:08:06,514][info][node ] [Brass] initializing ... [2015-07-19 15:08:06,668] [INFO] [Plugins] [Brass] loaded [], sites [][2015-07-19 15:08:06,802][info][env] [Brass] using [1] data paths, mount s [[/(/dev/sda2]]], net usable_space [12.2GB], net total_space [17.3GB], types [ext4][2015-07-19 15:08:10,858][info][nod E] [Brass] initialized[2015-07-19 15:08:10,858][info][node] [Brass] starting. . [2015-07-19 15:08:11,065] [INFO] [Transport] [Brass] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/192.168.137.2:9300]}[2015-07-19  15:08:11,096][info][discovery] [Brass] elasticsearch/txjyly14sw6yvwajjfp2-g[2015-07-19 15:08:14,904][INFO ][cluster.sErvice] [Brass] new_master [brass][txjyly14sw6yvwajjfp2-g][localhost.localdomain][inet[/192.168.137.2:9300]], re Ason:zen-disco-join (elected_as_master) [2015-07-19 15:08:14,940][info][http] [Brass] Bound_address                     {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/192.168.137.2:9200]}[2015-07-19 15:08:14,940][INFO][node ] [Brass] started[2015-07-19 15:08:15,056][info][gateway] [Brass] recovered [0] indices into Cluster_state

4. Verification

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

The results are as follows:

{  "status": $,  "name": "Brass",  "cluster_name": "Elasticsearch",  "version": {    "number": " 1.7.0 ",    " Build_hash ":" 929b9739cae115e73c346cb5f9a6f24ba735a743 ",    " Build_timestamp ":" 2015-07-16t14 : 31:07z ",    " Build_snapshot ": false,    " lucene_version ":" 4.10.4 "  },  " tagline ":" You Know, for Search "}

5. Close

Curl-xpost ' Http://localhost:9200/_shutdown '

The results are as follows:

[2015-07-19 15:10:38,521] [INFO] [Action.admin.cluster.node.shutdown] [Brass] [Cluster_shutdown]: Requested, shutting down in [1s][2015-07-19 15:10:39,526][info][action.admin.cluster.node.shutdown] [Brass] [Cluster_shutdown]: Done shutting down all nodes Except master, proceeding to master[2015-07-19 15:10:39,536][info][action.admin.cluster.node.shutdown] [Brass] Shutting down in [200ms][2015-07-19 15:10:39,746][info][action.admin.cluster.node.shutdown] [Brass] Initiating Requested shutdown ... [2015-07-19 15:10:39,746] [INFO] [Node                     ] [Brass] stopping ... [2015-07-19 15:10:39,822] [INFO] [Node                     ] [Brass] stopped[2015-07-19 15:10:39,822][info][node                     ] [Brass] closing ... [2015-07-19 15:10:39,835] [INFO] [Node                     ] [Brass] Closed

  

elasticsearch--start

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.