Installing X-Pack

Here are the X-Pack installation steps:

  1. To install X-Pack and automatically grant it the required permissions (recommended), run this command on each Elasticsearch node:

    bin/elasticsearch-plugin install x-pack --batch

    The --batch option bypasses installation prompts for granting permissions to X-Pack.

    The log output details the permissions granted and finishes with Installed x-pack:

    -> Downloading x-pack from elastic
    [=================================================] 100%   
    @     WARNING: plugin requires additional permissions     @
    * \\.\pipe\* read,write
    * java.lang.RuntimePermission
    * java.lang.RuntimePermission getClassLoader
    * java.lang.RuntimePermission setContextClassLoader
    * java.lang.RuntimePermission setFactory
    * * connect,accept,resolve
    * createPolicy.JavaPolicy
    * getPolicy
    * putProviderProperty.BC
    * setPolicy
    * java.util.PropertyPermission * read,write
    for descriptions of what these permissions allow and the associated risks.
    @        WARNING: plugin forks a native controller        @
    This plugin launches a native controller that is not subject to the Java
    security manager nor to system call filters.
    Elasticsearch keystore is required by plugin [x-pack], creating...
    -> Installed x-pack

    See more about the permissions X-Pack needs here.

  2. Make sure Elasticsearch does not allow automatic index creation by verifying this property in your elasticsearch.yml file:

    action.auto_create_index: false

    This property is true by default. Elastic’s documentation describes more automatic index creation details.

  3. Shutdown Liferay DXP and restart Elasticsearch.

Now configure security and/or monitoring, depending on your needs.

« Installing X-Pack (6.1)Installing X-Pack Security (6.1) »
Was this article helpful?
0 out of 0 found this helpful