Install kibana offline

#make repo 
[root@localhost java-se-8u41-ri]# cat /etc/yum.repos.d/elasticsearch.repo
[elasticsearch]
name=Elasticsearch repository for 7.x packages

#download package 
[root@localhost java-se-8u41-ri]# yum install --enablerepo=elasticsearch kibana --downloadonly --downloaddir=/root/elastic
Loaded plugins: fastestmirror, langpacks
base                                                                                                                                                                          | 3.6 kB  00:00:00
elasticsearch                                                                                                                                                                 | 1.3 kB  00:00:00
extras                                                                                                                                                                        | 2.9 kB  00:00:00
updates                                                                                                                                                                       | 2.9 kB  00:00:00
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package kibana.x86_64 0:7.6.2-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================================
 Package                                      Arch                                         Version                                         Repository                                           Size
=====================================================================================================================================================================================================
Installing:
 kibana                                       x86_64                                       7.6.2-1                                         elasticsearch                                       246 M

Transaction Summary
=====================================================================================================================================================================================================
Install  1 Package

Total download size: 246 M
Installed size: 677 M
Background downloading packages, then exiting:
경고: /root/elastic/kibana-7.6.2-x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID d88e42b4: NOKEY===============================================================-]  86 kB/s | 246 MB  00:00:00 ETA
Public key for kibana-7.6.2-x86_64.rpm is not installed
kibana-7.6.2-x86_64.rpm                                                                                                                                                       | 246 MB  01:04:09
exiting because "Download Only" specified


#install kibana
[root@localhost elastic]# rpm -ivh kibana-7.6.2-x86_64.rpm
경고: kibana-7.6.2-x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID d88e42b4: NOKEY
준비 중...                         ################################# [100%]
Updating / installing...
   1:kibana-7.6.2-1                   ################################# [100%]

#start kibana
[root@localhost elastic]# vi /etc/kibana/kibana.yml
[root@localhost elastic]# systemctl start kibana
[root@localhost elastic]#

[root@localhost elasticsearch]# tail -f elasticsearch.log
[2020-04-08T01:30:00,010][INFO ][o.e.x.m.MlDailyMaintenanceService] [node-1] triggering scheduled [ML] maintenance tasks
[2020-04-08T01:30:00,044][INFO ][o.e.x.m.a.TransportDeleteExpiredDataAction] [node-1] Deleting expired data
[2020-04-08T01:30:00,265][INFO ][o.e.x.m.a.TransportDeleteExpiredDataAction] [node-1] Completed deletion of expired ML data
[2020-04-08T01:30:00,266][INFO ][o.e.x.m.MlDailyMaintenanceService] [node-1] Successfully completed [ML] maintenance tasks
[2020-04-08T09:17:02,504][INFO ][o.e.c.m.MetaDataCreateIndexService] [node-1] [.kibana_task_manager_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[2020-04-08T09:17:02,563][INFO ][o.e.c.r.a.AllocationService] [node-1] updating number_of_replicas to [0] for indices [.kibana_task_manager_1]
[2020-04-08T09:17:03,071][INFO ][o.e.c.m.MetaDataCreateIndexService] [node-1] [.apm-agent-configuration] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[2020-04-08T09:17:03,073][INFO ][o.e.c.r.a.AllocationService] [node-1] updating number_of_replicas to [0] for indices [.apm-agent-configuration]
[2020-04-08T09:17:03,365][INFO ][o.e.c.m.MetaDataCreateIndexService] [node-1] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[2020-04-08T09:17:03,371][INFO ][o.e.c.r.a.AllocationService] [node-1] updating number_of_replicas to [0] for indices [.kibana_1]
[2020-04-08T09:17:03,740][INFO ][o.e.c.r.a.AllocationService] [node-1] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[2020-04-08T09:17:14,470][INFO ][o.e.c.m.MetaDataIndexTemplateService] [node-1] adding template [.management-beats] for index patterns [.management-beats]
[2020-04-08T09:17:14,952][INFO ][o.e.c.m.MetaDataMappingService] [node-1] [.kibana_1/2OmS2RUfTUOFvrl7jxV3XQ] update_mapping [_doc]
[2020-04-08T09:17:21,246][INFO ][o.e.c.m.MetaDataMappingService] [node-1] [.kibana_task_manager_1/9fDzraT8RI-8DZuxB-awnw] update_mapping [_doc]


댓글

이 블로그의 인기 게시물

[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: URL using bad/illegal format or missing URL

starcraft map

Data Analysis with Superset - boardless chart