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