Record es on virtual machine opening steps

Source: Internet
Author: User

Recently began to contact the Elasticserach database, so want to install a practice practiced hand in the virtual machine, installed time but a lot of time, Baidu has a lot of tutorials, but the tutorial too much too messy, afraid of their easy to forget, so record, but my main record is to install the ES database how to open, As for the others, I would like to recommend the tutorial I read.

First of all must be installed ES database, elasticsearch6.1.1 Single example of the first experience (virtual machine under installation). In addition, this blog introduces some of the installation to open the error solution, I was based on the successful installation of this tutorial opened the ES database, the process is very difficult ah.

After the fashion to learn how to use the ES database, do not bother to look at the official documents, so go to mu-net to find a course, here does not introduce which course, there is an interest to find their own. In that course, I learned how to install multiple ES databases and configure the cluster. At that time also learned a plug-in: Elasticsearch-head plug-in.

Since all know this plug-in, it is definitely to install learning under, here still recommend a blog: Elasticsearch-head plug-in installation and use.

Here should be the installation is installed, the next is to open the operation, I would like to record a little detail here, after all, long time the brain will not remember.

Here is my post-installation file: (the box is the directory after installation)

First, start the primary node first:

Enter the bin directory input command: (-D, this is the background boot meaning)

1 ./elasticsearch-d

Then turn on the two secondary nodes: (the start command is the same)

Finally, we go to start the Elasticsearch-head plugin:

Enter the command directly in the plugin directory:

1 npm run start

Here should all start, we open in the native browser, the effect is as follows: (IP for virtual machine virtual IP, if the virtual machine's browser access, direct localhost on the line)

Record es on virtual machine opening steps

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.