ElasticSearch全文检索__ElasticSearch 安装部署
【摘要】 ElasticSearch 安装部署
ElasticSearch 全文检索— ElasticSearch 安装部署
ElasticSearch 规划-集群规划
ElasticSearch 规划-用户规划
ElasticSearch 规划-目录规划
ElasticSearch 集群环境检查-时钟同步
1.设置本地时间
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
2.集群时间日期同步NTP
yum install ntp
ntpdate pool.ntp.org
ElasticSearch 集群环境检查-hosts文件检查
配置ElasticSearch集群ip与hostname之间的对应关系
vi /etc/hosts
192.168.20.215 master
192.168.20.216 slave1
192.168.20.217 slave2
ElasticSearch 集群环境检查-禁用防火墙
查看防火墙状态
service iptables status
关闭防火墙
chkconfig iptables off //永久关闭防火墙
service iptables stop //临时关闭防火墙
ElasticSearch jdk安装
下载解压
配置环境变量
ElasticSearch 集群安装
下载
解压
修改config/elasticsearch.yml配置文件
ElasticSearch 插件安装
安装marvel插件(所有节点都需要安装)
bin/plugin install license
bin/plugin install marvel-agent
安装head插件(选择一个节点安装即可)
bin/plugin install mobz/elasticsearch-head
Kibana 安装
下载
解压
修改kibana.yml配置文件
安装marvel插件
bin/kibana plugin --install elasticsearch/marvel/latest
ElasticSearch、Kibana 启动
1.前台启动
bin/elasticsearch
bin/kibana
2.后台启动
bin/elasticsearch -d -p /home/hadoop/data/es/pid
nohup /home/ybxiang/kibana/kibana-4.5.1-linux-x64/bin/kibana & exit
ElasticSearch、Kibana Web管理
ElasticSearch
http://localhost:9200/
http://localhost:9200/_cluster/health?pretty
http://localhost:9200/_plugin/head/
Kibana
http://localhost:5601/app/marvel
ElasticSearch、Kibana Web管理
ElasticSearch 集群常见问题
http://www.xxxxxxxxxx.com/community/18136.do
【声明】本内容来自华为云开发者社区博主,不代表华为云及华为云开发者社区的观点和立场。转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息,否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)