ELK
上一篇 ELK环境搭建之安装 elasticsearch-7.5.1
查看linux服务器信息
[root@linux-node2 ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root@linux-node2 ~]# uname -r
2.6.32-573.el6.x86_64
1,下载安装包
2,解压文件
[es@linux-node2 ~]# tar -xvf kibana-7.5.1-linux-x86_64.tar.gz
[es@linux-node2 ~]# ln -s kibana-5601
3,修改配置文件
vim config/kibana.yml
server.host: “192.168.9.93”
elasticsearch.hosts: [“http://192.168.9.93:9200”]
#elasticsearch.username: “kibana”
#elasticsearch.password: “pass”
# Enables SSL and paths to the PEM-format SSL certificate and SSL key files, respectively.
# These settings enable SSL for outgoing requests from the Kibana server to the browser.
#server.ssl.enabled: false
#server.ssl.certificate: /path/to/your/server.crt
#server.ssl.key: /path/to/your/server.key
# Enables you specify a file where Kibana stores log output.
#logging.dest: stdout
logging.dest: /app/soft/kibana5601/logs/kibana.log
# Specifies locale to be used for all localizable strings, dates and number formats.
# Supported languages are the following: English – en , by default , Chinese – zh-CN .
i18n.locale: “zh-CN”
:wq
4,使用es 用户启动后台守护进程
[es@linux-node2 ~]# su es
[es@linux-node2 ~]# ./bin/./kibana &
查看进程:
ps -ef | grep node
es 6023 1 1 3月10 ? 08:31:45 ./bin/./../node/bin/node ./bin/./../src/cli
访问kibana UI管理界面
http://192.168.9.93:5601
0 条评论