How to install Elasticsearch X-Pack?
- Java JRE, reasonably new, 64bit preferred
- A new System variable must be created after Java JRE has been installed, JAVA_HOME, it must point to the JRE installation folder.
1. Create the Elasticsearch installation folders, for example:
2. Start the Elasticsearch installation using the MSI and select the previously created folders to be used by the installer.
Most of the time the defaults presented in the second screen are alright. This will install Elasticsearch as a service running under the Local System account and start the service at system boot and once the installation finishes.
3. Third installation screen allows users to customize the basic installation settings.
The most important are:a) Cluster name, it is used id a single instance is installed. Can be any unique string, should not be the same as other Elasticsearch cluster names unless this node is wanted to be added to that cluster
4. The next installation screen can be left unchanged, most of the time. Select here the extra plugins needed.
5. Select the Basic option and click on the install button to go with the free version of Elasticsearch, or select Trial as the license type and customize some X-Pack installation options.
6. Selecting the Trial license allows the selection of X-Pack non free security settings. It is recommended to set the passwords for the built-in users now, those users are elastic, kibana and logstash.
7. Click on Install.
8. A security prompt may come up, click on Yes and start the installation process, it should finish in a couple of minutes. When the installer finishes, the screen below will be shown:
9. Click on “Open Elasticsearch in the browser” and Exit.
10. A browser window will open and the authentication to Elasticsearch is needed. Use the username elastic and the password set up earlier.
11. Depending on the browser used, there is a possibility to be asked to open or save a file( Internet Explorer), or the following screen will be shown:
This means the installation finished successfully and Elasticsearch is now running.