elk之x-pack插件安装

一、在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…

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

东城绝神

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值