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.
X-pack安裝