elasticsearch5.1.1搭建环境
来源:互联网 发布:淘宝店铺页头怎么添加 编辑:程序博客网 时间:2024/05/22 04:51
版本:
elasticsearch5.1.1
kibana5.1.1
下载地址 :https://www.elastic.co/downloads
现在Marvel的功能已经集成在x-pack里面,安装非常方便。下载指定环境的安装包后,
bin/elasticsearch-plugin install x-pack
bin/kibana-plugin install x-pack
kibana.yml中指定elasticsearche的地址elasticsearch.url: "http://localhost:9200"
启动即可
bin/elasticsearch
bin/kibana-plugin
浏览器上输入:
http://localhost:5601
x-pack是Elastic Stack的扩展,将安全、警报、监视、报告和图形功能包含在一个。5.0之前的版本,需要单独安装Marvel、Watcher、Shield.
此外x-pack可以个性化定制这些功能,列表如下:
Setting Description
xpack.security.enabled
Set to false
to disable X-Pack security. Configure in
bothelasticsearch.yml
and kibana.yml
.
xpack.monitoring.enabled
Set to false
to disable X-Pack monitoring. Configure in
bothelasticsearch.yml
and kibana.yml
.
xpack.graph.enabled
Set to false
to disable X-Pack graph. Configure in
bothelasticsearch.yml
and kibana.yml
.
xpack.watcher.enabled
Set to false
to disable Watcher. Configure in elasticsearch.yml
only.
xpack.reporting.enabled
Set to false
to disable X-Pack reporting. Configure in kibana.yml
only.
PS:注意事项
1)安装时会弹出需要允许额外的授权,输入Y即可。
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: plugin requires additional permissions @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@* 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 setHostnameVerifierSee http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.htmlfor descriptions of what these permissions allow and the associated risks.Continue with installation? [y/N]y
2 如果关闭了允许自动创建动态索引的话,需要给x-pack提供一下权限
action.auto_create_index: .security,.monitoring*,.watches,.triggered_watches,.watcher-history*
3 增加验证用户机制,访问需要用户名和密码,默认为elastic和changeme
对elasticsearch的curl访问,也需要在http header上增加授权,Authorization: Basic XXXXX
XXXX= name:password base64加密。例如上述的elastic:changeme 加密后为ZWxhc3RpYzpjaGFuZ2VtZQ==
- elasticsearch5.1.1搭建环境
- elasticsearch5.2.1 环境搭建
- ElasticSearch5.6.1环境搭建与运行
- ElasticSearch5.4.3 环境搭建 2017 (2-集群搭建)
- ElasticSearch5.4.3 环境搭建 2017 (1.1-单节点模式/开发模式-添加到服务)
- centos7下Elasticsearch5.2.2和head 插件环境搭建
- elasticsearch5.3.0+kibana5.3.0+logstash5.3.0搜索windows环境搭建
- 安装Elasticsearch5.2.2和head 插件环境搭建
- ElasticSearch5.4.3 环境搭建 2017 (3-可视化分析工具Kibana)
- ElasticSearch5.4.3 环境搭建 2017 (6-IK中文分词插件)
- ElasticSearch5.4.3 环境搭建 2017 (7-elasticsearch-license)
- centos7下Elasticsearch5.5.2和head 插件环境搭建
- Elasticsearch5 centos 中文搜索搭建
- ElasticSearch5.4搭建
- elasticsearch5.x服务器搭建
- Elasticsearch5.2.2集群搭建
- centos7搭建elasticsearch5.5.1
- ElasticSearch5.4集群搭建
- Leetcode——36. Valid Sudoku
- Mysql事务以及加锁机制事务的特征ACID
- 类成员函数作为线程函数使用
- iPhone之为UIView设置阴影(CALayer的shadowColor,shadowOffset,shadowOpacity,shadowRadius,shadowPath属性)
- 移动端开发基础之适配
- elasticsearch5.1.1搭建环境
- 12.安卓Handler处理消息
- jquery trigger()事件报错,Uncaught RangeError: Maximum call stack size exceeded。
- faster rcnn windows 下c++版本
- Tomcat服务启动限制日志过大的方法、使用管理员启动
- JSP学习(一)JSP运行环境的搭建,其他动态网页技术
- 内存泄漏检测和处理
- 对java中面向对象思想的理解
- 无题