DBILITY

elasticsearch, kibana rpm 설치 본문

bigdata/elastic

elasticsearch, kibana rpm 설치

DBILITY 2018. 5. 13. 15:19
반응형

책보고 해봤다. package의 장점, 설치의 간편함이다.
elasticsearch는 cluster name이 같으면 자동 ha라는군.

[root@big-master ~]# rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
[root@big-master ~]# vi /etc/yum
yum/         yum.conf     yum.repos.d/
[root@big-master ~]# vi /etc/yum.repos.d/elasticsearch.repo
[root@big-master ~]# yum -y install elasticsearch
Loaded plugins: fastestmirror
base                                                                                         | 3.6 kB  00:00:00
elasticsearch-6.x                                                                            | 1.3 kB  00:00:00
epel/x86_64/metalink                                                                         | 4.5 kB  00:00:00
epel                                                                                         | 4.7 kB  00:00:00
extras                                                                                       | 3.4 kB  00:00:00
ntop                                                                                         | 2.9 kB  00:00:00
ntop-noarch                                                                                  | 2.9 kB  00:00:00
updates                                                                                      | 3.4 kB  00:00:00
(1/10): epel/x86_64/group_gz                                                                 |  84 kB  00:00:00
(2/10): base/7/x86_64/group_gz                                                               | 166 kB  00:00:00
(3/10): extras/7/x86_64/primary_db                                                           | 125 kB  00:00:00
(4/10): base/7/x86_64/primary_db                                                             | 5.9 MB  00:00:00
(5/10): epel/x86_64/primary_db                                                               | 6.4 MB  00:00:01
(6/10): updates/7/x86_64/primary_db                                                          | 1.0 MB  00:00:00
(7/10): elasticsearch-6.x/primary                                                            |  67 kB  00:00:01
(8/10): ntop-noarch/7/primary_db                                                             | 3.8 kB  00:00:03
(9/10): ntop/7/x86_64/primary_db                                                             | 6.3 kB  00:00:04
(10/10): epel/x86_64/updateinfo                                                              | 924 kB  00:00:06
Determining fastest mirrors
 * base: mirror.kakao.com
 * epel: mirror.premi.st
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
elasticsearch-6.x                                                                                           180/180
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:6.2.4-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================
 Package                      Arch                  Version                  Repository                        Size
====================================================================================================================
Installing:
 elasticsearch                noarch                6.2.4-1                  elasticsearch-6.x                 28 M

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

Total download size: 28 M
Installed size: 31 M
Downloading packages:
elasticsearch-6.2.4.rpm                                                                      |  28 MB  00:00:16
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Creating elasticsearch group... OK
Creating elasticsearch user... OK
  Installing : elasticsearch-6.2.4-1.noarch                                                                     1/1
### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using systemd
 sudo systemctl daemon-reload
 sudo systemctl enable elasticsearch.service
### You can start elasticsearch service by executing
 sudo systemctl start elasticsearch.service
  Verifying  : elasticsearch-6.2.4-1.noarch                                                                     1/1

Installed:
  elasticsearch.noarch 0:6.2.4-1

Complete!
[root@big-master ~]#
[root@big-master system]# yum -y install kibana
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * epel: mirror.premi.st
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package kibana.x86_64 0:6.2.4-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package                    Arch                       Version                      Repository                             Size
=====================================================================================================================
Installing:
 kibana                     x86_64                     6.2.4-1                      elasticsearch-6.x                      83 M

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

Total download size: 83 M
Installed size: 292 M
Downloading packages:
kibana-6.2.4-x86_64.rpm                                                                                  |  83 MB  00:00:54
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : kibana-6.2.4-1.x86_64                                                                                        1/1
  Verifying  : kibana-6.2.4-1.x86_64                                                                                        1/1

Installed:
  kibana.x86_64 0:6.2.4-1

Complete!
[root@big-master system]#
반응형

'bigdata > elastic' 카테고리의 다른 글

filebeat rpm 설치  (0) 2018.05.12
filebeat설치  (0) 2018.05.11
cloumon-elk 설치하기  (0) 2018.05.06
Comments