Ubuntu 16 Installation Elasticsearch

Source: Internet
Author: User

First install Java, see Blog: http://www.cnblogs.com/1zhk/p/6056406.html

Download Elasticsearch installation package

Curl-l-O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.0.0.tar.gz

Copy the installation package to the destination directory

Installation

Run

Note that the root user cannot run Elasticsearch and needs to switch to a normal user.

Give normal users the appropriate permissions

Run Elasticsearch

Stop running

Default: Elasticsearch binds to 127.0.0.1. Can be set by binding to host IP

Frequently asked questions resolved:

vm.max_map_count=524288 write directly to/etc/sysctl.conf, then execute sysctl-p

Ubuntu 16 Installation Elasticsearch

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.