elasticsearch 和kibana组合起来用很方便,elasticsearch 负责存储和查询,kibana提供控制台、可视化界面。下面是具体的安装方法
方法/步骤
1
操作系统和内核版本 [root@localhost remote]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core)
2
elastisearech需要java环境,这里直接是采用yum安装的openjdk
3
准备安装包elasticsearch-6.6.1.rpmkibana-6.6.1-x86_64.rpm
4
直接使用rpm命令进行安装 rpm -ivh elasticsearch-6.6.1.rpm
5
安装kibanarpm -ivh kibana-6.6.1-x86_64.rpm
6
vim /etc/elasticsearch/elasticsearch.yml 如果只是开发环境,只需要注意host和port
7
安装在本机的话直接使用localhost即可vim /etc/kibana/kibana.yml
8
启动服务[root@localhost remote]# systemctl start elasticsearch [root@localhost remote]# systemctl start kibana [root@localhost remote]
上一篇:漆包线焊接方法教程
下一篇:cdr结合与焊接的区别