安装机器:10.1.1.122
$wget https://artifacts.elastic.co/downloads/kibana/kibana-7.7.0-linux-x86_64.tar.gz
#创建用户组
$groupadd kibana
#在es组创建用户
$useradd -m -g kibana kibana
#给用户设置密码
$passwd kibana
#解压缩
$tar -zxvf kibana-7.7.0-linux-x86_64.tar.gz
#移动到/home/kibana下
$mv kibana-7.7.0-linux-x86_64 /home/kibana/kibana-7.7.0
#授权给es用户组和kibana用户
chown -R kibana:kibana /home/kibana/kibana-7.7.0
$su kibana
server.port: 5601 server.host: "0.0.0.0" server.name: "kibana" elasticsearch.hosts: ["https://10.1.1.106:9200"] #elasticsearch.ssl.verificationMode: none #elasticsearch.ssl.certificateAuthorities: ["/home/kibana/kibana-7.7.0/config/newfile.crt.pem"] elasticsearch.preserveHost: true kibana.index: ".kibana" i18n.locale: "zh-CN" elasticsearch.username: "elastic" elasticsearch.password: "xxxx" |
备注:如果ES是http,那就不用配
elasticsearch.ssl.verificationMode: none
elasticsearch.ssl.certificateAuthorities: ["/home/kibana/kibana-7.7.0/config/newfile.crt.pem"]
#当前进程启动
$cd /home/kibana/kibana-7.7.0/bin
$./kibana
#后台启动
nohup kibana-7.7.0/bin/kibana &
http://10.1.1.122:5601