- kibana安装,下载rpm安装包
https://www.elastic.co/cn/downloads/past-releases/kibana-6-3-2
- 使用 rz 命令上传到 centos7 服务器上,然后安装rpm包方式安装
rpm -ivh kibana-6.3.2-x86_64.rpm
- 查看安装路径
whereis kibana
# kibana: /etc/kibana /usr/share/kibana
- 修改配置文件 vim kibana.yml
# Kibana is served by a back end server. This setting specifies the port to use.
server.port: 8086 # 监听端口
# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be able to connect.
# To allow connections from remote users, set this parameter to a non-loopback address.
server.host: 0.0.0.0 # 允许远程主机访问
# The URL of the Elasticsearch instance to use for all your queries.
elasticsearch.url: "http://localhost:8087" # 监听elstiscserarch地址
- 添加开机启动
#开机自启动
systemctl enable kibana
systemctl disable kibana
或者
/sbin/chkconfig --add kibana
- 启动、重启、查看状态
#启动
systemctl start kibana
#重启
systemctl restart kibana
#查看转态
systemctl status kibana
#关闭
systemctl stop kibana