目录
目标
环境
步骤
注意事项
目标
下载并安装Kibana。
环境 Kibana 8.2.2CentOS Linux release 7.8.2003 (Core)
步骤
第一步:去官网下载Linux版本的Kibana。
Past Releaseshttps://www.elastic.co/cn/downloads/past-releases#kibana第二步:上传到Linux服务器,我这里上传的位置是/opt目录。
第三步:解压该Kibana压缩包。
tar -zxvf kibana-8.2.2-linux-x86_64.tar.gz第四步:配置相关参数。
server.port: 5601 server.host: "0.0.0.0" i18n.locale: "zh-CN"第五步:启动Kibana。
#root账号启动 ./kibana --allow-root #root账号后台启动 nohup ./kibana --allow-root & #其他账号启动 ./kibana #其他账号后台启动 nohup ./kibana &第六步:访问Kibana
http://192.168.120.157:5601/第七步:访问Elasticsearch地址。
注意事项
事项一
kibana.yml文件可以配置elasticsearch连接地址,配置以后可以省去上述的第七步操作。
事项二
如果Elasticsearch没有受到基本身份验证的保护,即elasticsearch.yml配置xpack.security.enabled: false,则不需要输入密码验证;否则需要在kibana.yml配置文件中配置登录elasticsearch的账号密码,且账号不能为elastic,因为kibana不允许配置超级用户帐户。
elasticsearch.username: zhangsan elasticsearch.password: 1YKEUXktQTEbiC6ApGHX事项三
如果出现以下错误,则需要在kibana.yml配置登录elasticsearch的账号密码,或者去elasticsearch.yml设置xpack.security.enabled: false关闭身份验证。
Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: missing authentication credentials for REST request [/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip]
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,会注明原创字样,如未注明都非原创,如有侵权请联系删除!;3.作者投稿可能会经我们编辑修改或补充;4.本站不提供任何储存功能只提供收集或者投稿人的网盘链接。 |
标签: #linux安装kibana #kibana #822CentOS #Linux #release #782003 #Core