CentOS 7.3下Elast b9d4 icsearch 2.4.1+Kibana 4.6.6+Logstash 2.4.1及插件安装配置
2017-09-30 15:10
871 查看
Elasticsearch 2.4.1
下载地址
https://www.elastic.co/downloads/past-releases/elasticsearch-2-4-1
https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.4.1/elasticsearch-2.4.1.tar.gz
要求:
1 不能以ROOT身份运行,所以需要新建一个用户
adduser 新用户名
passwd 新用户名
2 因为不能以ROOT身份运行,所以需要更改文件夹权限
sudo chown -R elasticsearch新用户名
3 /elasticsearch/config/elasitcsearch.yml配置
cluster.name: 集群名
node.name: 节点名
network.host: 0.0.0.0 #设置非本机访问
http.port: 9200 #端口号 默认9200
4 运行
./elasticsearch
5 后台运行
./elasticsearch -d
Kibana 4.6.6
https://www.elastic.co/downloads/past-releases/kibana-4-6-6
https://download.elastic.co/kibana/kibana/kibana-4.6.6-linux-x86_64.tar.gz
配置/kibana/config/kibana.yml
elasticsearch.url: "http://localhost:9200" #修改为你的elasticsearch的地址和端口
elasticsearch.username: "es_admin" #安装shield插件需要开启这个验证
elasticsearch.password: "安装shield时候设置的密码" #安装shield插件需要开启这个验证
Logstash 2.4.1
https://www.elastic.co/downloads/past-releases/logstash-2-4-1
https://download.elastic.co/logstash/logstash/logstash-2.4.1.tar.gz
在bin目录下新建一个logstash.conf,并输入下列内容
input { stdin { } }output { elasticsearch { hosts => ["localhost:9200"] } stdout { codec => rubydebug }}
然后运行./logstash -f logstash.conf
Marvel
https://www.elastic.co/downloads/marvel
安装
./elasticsearch/bin/plugin install license
./elasticsearch/bin/plugin install marvel-agent
./kibana/bin/kibana plugin --install elasticsearch/marvel/latest
Shield
https://www.elastic.co/downloads/shield
安装
./elasticsearch/bin/plugin install license
./elasticsearch/bin/plugin install shield
./elasticsearch/bin/shield/esusers useradd es_admin -r admin
Sense
安装
https://www.elastic.co/guide/en/elasticsearch/guide/2.x/running-elasticsearch.html#sense
./kibana/bin/kibana plugin --install elastic/sense
下载地址
https://www.elastic.co/downloads/past-releases/elasticsearch-2-4-1
https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.4.1/elasticsearch-2.4.1.tar.gz
要求:
1 不能以ROOT身份运行,所以需要新建一个用户
adduser 新用户名
passwd 新用户名
2 因为不能以ROOT身份运行,所以需要更改文件夹权限
sudo chown -R elasticsearch新用户名
3 /elasticsearch/config/elasitcsearch.yml配置
cluster.name: 集群名
node.name: 节点名
network.host: 0.0.0.0 #设置非本机访问
http.port: 9200 #端口号 默认9200
4 运行
./elasticsearch
5 后台运行
./elasticsearch -d
Kibana 4.6.6
https://www.elastic.co/downloads/past-releases/kibana-4-6-6
https://download.elastic.co/kibana/kibana/kibana-4.6.6-linux-x86_64.tar.gz
配置/kibana/config/kibana.yml
elasticsearch.url: "http://localhost:9200" #修改为你的elasticsearch的地址和端口
elasticsearch.username: "es_admin" #安装shield插件需要开启这个验证
elasticsearch.password: "安装shield时候设置的密码" #安装shield插件需要开启这个验证
Logstash 2.4.1
https://www.elastic.co/downloads/past-releases/logstash-2-4-1
https://download.elastic.co/logstash/logstash/logstash-2.4.1.tar.gz
在bin目录下新建一个logstash.conf,并输入下列内容
input { stdin { } }output { elasticsearch { hosts => ["localhost:9200"] } stdout { codec => rubydebug }}
然后运行./logstash -f logstash.conf
Marvel
https://www.elastic.co/downloads/marvel
安装
./elasticsearch/bin/plugin install license
./elasticsearch/bin/plugin install marvel-agent
./kibana/bin/kibana plugin --install elasticsearch/marvel/latest
Shield
https://www.elastic.co/downloads/shield
安装
./elasticsearch/bin/plugin install license
./elasticsearch/bin/plugin install shield
./elasticsearch/bin/shield/esusers useradd es_admin -r admin
Sense
安装
https://www.elastic.co/guide/en/elasticsearch/guide/2.x/running-elasticsearch.html#sense
./kibana/bin/kibana plugin --install elastic/sense
相关文章推荐
- elasticsearch+logstash+kibana安装配置
- CentOS下编译安装nginx及配置缩略图插件的方法教程
- CentOS5.4(64bit)下安装配置Cacti----插件安装
- ELK 架构之 Elasticsearch、Kibana、Logstash 和 Filebeat 安装配置汇总(6.2.4 版本)
- ElasticSearch+Logstash+Kibana+log4j2 官方6.1.1版安装配置简介
- Centos7下一步一步安装YCM插件(附vimrc配置文件)
- CentOS系统下Hadoop 2.4.1集群安装配置(简易版)
- CentOS7.3下JDK 1.8安装配置
- 在CentOS 6.6 64bit上为vim 7.4安装并配置vim-airline插件
- Elasticsearch2.4.1——安装配置(测试)######附带kibana/sense安装
- 19-linux下ElasticSearch.6.2.1与head、Kibana、X-Pack、SQL、IK、PINYIN插件的配置安装
- CentOS安装与配置Powerline插件
- Centos7.3下Tomcat8的安装配置教程
- 20-linux下ElasticSearch.6.2.2集群安装与head、Kibana、X-Pack..插件的配置安装
- centos7.3下安装pip和virtualenv以及配置virtualenvwarpper
- CentOS 7.3下Node.js 8.6安装配置
- CentOS6.5 安装 Elasticsearch+Logstash+Kibana 6 记录日志 笔记
- 14-win10下ElasticSearch.6.1.0与head、Kibana、X-Pack、SQL、IK、PINYIN插件的配置安装
- CentOS系统下Hadoop 2.4.1集群安装配置(简易版)
- Centos 7.3下 Linux For SQL Server安装及配置介绍 推荐