centOSにkibanaのインストールしたった! kibana
kibanaのインストール
# rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
# vi /etc/yum.repos.d/kibana.repo
[kibana-5.x]
name=Kibana repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
# yum install kibana
# systemctl enable kibana
# systemctl start kibana
接続を設定します。
# vi /etc/kibana/kibana.yml
server.host: 192.168.33.10
elasticsearch.url: http://192.168.33.10:9200
# systemctl restart kibana
ブラウザで確認する
http://192.168.33.10:5601
★作業履歴
[root@localhost install]# rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
[root@localhost install]#
[root@localhost install]# yum install kibana
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.jaist.ac.jp
* epel: ftp.jaist.ac.jp
* extras: ftp.jaist.ac.jp
* remi-safe: mirror.innosol.asia
* updates: ftp.jaist.ac.jp
Resolving Dependencies
--> Running transaction check
---> Package kibana.x86_64 0:5.3.0-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================================
Installing:
kibana x86_64 5.3.0-1 elasticsearch-5.x 38 M
Transaction Summary
=========================================================================================================================================================
Install 1 Package
Total download size: 38 M
Installed size: 142 M
Is this ok [y/d/N]: y
Downloading packages:
kibana-5.3.0-x86_64.rpm | 38 MB 00:00:28
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kibana-5.3.0-1.x86_64 1/1
Verifying : kibana-5.3.0-1.x86_64 1/1
Installed:
kibana.x86_64 0:5.3.0-1
Complete!
[root@localhost install]#
[root@localhost install]# vi /etc/kibana.yml
server.host: 192.168.33.10
elasticsearch.url: http://192.168.33.10:9200
に変更した
[root@localhost install]#
[root@localhost install]# systemctl enable kibana
Created symlink from /etc/systemd/system/multi-user.target.wants/kibana.service to /etc/systemd/system/kibana.service.
[root@localhost install]#
[root@localhost install]# systemctl start kibana
[root@localhost install]#
[root@localhost install]# ps -ef | grep kibana
kibana 6358 1 99 19:07 ? 00:00:09 /usr/share/kibana/bin/../node/bin/node --no-warnings /usr/share/kibana/bin/../src/cli -c /etc/kibana/kibana.yml
root 6370 5784 0 19:07 pts/1 00:00:00 grep --color=auto kibana
[root@localhost install]#
[root@localhost install]# lsof -n -P | grep TCP | grep kibana
node 6358 kibana 10u IPv4 26876 0t0 TCP 127.0.0.1:5601 (LISTEN)
node 6358 6360 kibana 10u IPv4 26876 0t0 TCP 127.0.0.1:5601 (LISTEN)
V8 6358 6361 kibana 10u IPv4 26876 0t0 TCP 127.0.0.1:5601 (LISTEN)
V8 6358 6362 kibana 10u IPv4 26876 0t0 TCP 127.0.0.1:5601 (LISTEN)
V8 6358 6363 kibana 10u IPv4 26876 0t0 TCP 127.0.0.1:5601 (LISTEN)
V8 6358 6364 kibana 10u IPv4 26876 0t0 TCP 127.0.0.1:5601 (LISTEN)
node 6358 6365 kibana 10u IPv4 26876 0t0 TCP 127.0.0.1:5601 (LISTEN)
node 6358 6366 kibana 10u IPv4 26876 0t0 TCP 127.0.0.1:5601 (LISTEN)
node 6358 6367 kibana 10u IPv4 26876 0t0 TCP 127.0.0.1:5601 (LISTEN)
node 6358 6368 kibana 10u IPv4 26876 0t0 TCP 127.0.0.1:5601 (LISTEN)
[root@localhost install]#
ポート番号 5601だね
ブラウザからアクセス
http://192.168.33.10:5601/