当前位置: 首页 > 工具软件 > X-Pack > 使用案例 >

elk之x-pack插件安装

朱欣荣
2023-12-01

一、在elasticsearch-5.6.0安装x-pack

[elasticsearch@host-47-98-97-124 plugins] cd/usr/local/elasticsearch/plugins/[elasticsearch@host479897124plugins] c d / u s r / l o c a l / e l a s t i c s e a r c h / p l u g i n s / [ e l a s t i c s e a r c h @ h o s t − 47 − 98 − 97 − 124 p l u g i n s ] /usr/local/elasticsearch/bin/elasticsearch-plugin install x-pack
-> Downloading x-pack from elastic
* java.io.FilePermission \.\pipe* read,write
* java.lang.RuntimePermission accessClassInPackage.com.sun.activation.registries
* java.lang.RuntimePermission getClassLoader
* java.lang.RuntimePermission setContextClassLoader
* java.lang.RuntimePermission setFactory
* java.security.SecurityPermission createPolicy.JavaPolicy
* java.security.SecurityPermission getPolicy
* java.security.SecurityPermission putProviderProperty.BC
* java.security.SecurityPermission setPolicy
* java.util.PropertyPermission * read,write
* java.util.PropertyPermission sun.nio.ch.bugLevel write
* javax.net.ssl.SSLPermission setHostnameVerifier
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.

Continue with installation? [y/N]y
@ 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.

Continue with installation? [y/N]y
-> Installed x-pack

注:
1.在elasticsearch用户下安装x-pack插件。
2.安装x-pack需要关闭elasticsearch服务,否则安装会失败。
3.在安装的过程中会看到额外权限要求:确认您要授予X-Pack附加权限。 X-Pack需要这些权限在安装过程中设置威胁上下文加载器,以便Watcher可以发送电子邮件通知。

安装x-pack后内置的账号:elastic密码:changeme

访问url
http://47.98.97.124
http://47.106.141.17

二、在kibana-5.6.0安装x-pack插件

[root@host-47-98-97-124 ~]# cd /usr/share/kibana/plugins/
[root@host-47-98-97-124 plugins]# /usr/share/kibana/bin/kibana-plugin install x-pack
Found previous install attempt. Deleting…
Attempting to transfer from x-pack
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins/x-pack/x-pack-5.6.0.zip
Transferring 119526372 bytes………………..
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

安装x-pack后内置的账号:elastic密码:changeme

三、操作命令

删除x-pack插件
[root@host-47-98-97-124 plugins]# /usr/share/kibana/bin/kibana-plugin remove x-pack
Removing x-pack…

 类似资料: