X-pack安装

Install X-Pack

install 文档https://www.elastic.co/cn/downloads/x-pack

Install X-Pack into Elasticsearch

执行命令(需要找到elasticsearch的bin目录)/usr/share/elasticsearch

bin/elasticsearch-plugin install x-pack

To install X-Pack on a DEB/RPM installation of the Elastic Stack, see DEB/RPM installation instructions. If you are using the Windows MSI Installer package, you will have the option to install X-Pack during the plugins installation step.

 

REStart or Start Elasticsearch

bin/elasticsearch

 

Generate default passwords(这些密码全部保留下面用的到)

bin/x-pack/setup-passwords auto

Note the passwords for elastic and kibana users

 

Install X-Pack into Kibana

执行命令(需要找到kibana的bin目录)/usr/share/kibana

bin/kibana-plugin install x-pack

 

Add credentials to the kibana.yml file

elasticsearch.username: "kibana"
elasticsearch.password:  "<pwd>"

<pwd> is the password for the kibana user auto generated in step 3. If you set up TLS in step 2, also add your certificates to the kibana.yml file.


Start or Restart Kibana

bin/kibana
  • Navigate to Kibana at http://localhost:5601/

  • Log in as the built-in elastic user with the auto-generated password from step 3

 

Dive into the getting started guide.


猜你喜欢

转载自blog.51cto.com/dellinger/2126029