install elasticsearch & kibana
## download elasticsearch & kibana
[root@superset min]# wget https://artifacts.elastic.co/downloads/kibana/kibana-7.16.0-x86_64.rpm
--2021-12-13 13:42:14--  https://artifacts.elastic.co/downloads/kibana/kibana-7.16.0-x86_64.rpm
Resolving artifacts.elastic.co (artifacts.elastic.co)... 34.120.127.130, 2600:1901:0:1d7::
Connecting to artifacts.elastic.co (artifacts.elastic.co)|34.120.127.130|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 286976720 (274M) [binary/octet-stream]
Saving to: ‘kibana-7.16.0-x86_64.rpm’
26% [================>                                                 ] 77,127,104  91.8MB/s             ^C
[root@superset min]# wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.16.0-x86_64.rpm
--2021-12-13 13:42:39--  https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.16.0-x86_64.rpm
Resolving artifacts.elastic.co (artifacts.elastic.co)... 34.120.127.130, 2600:1901:0:1d7::
Connecting to artifacts.elastic.co (artifacts.elastic.co)|34.120.127.130|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 342900863 (327M) [binary/octet-stream]
Saving to: ‘elasticsearch-7.16.0-x86_64.rpm’
15% [=========>                                                        ] 54,779,488  87.0MB/s             ^C
[root@superset min]#
## install elasticsearch
[root@localhost ~]# yum install elasticsearch-7.16.0-x86_64.rpm
Loaded plugins: fastestmirror
Setting up Install Process
Examining elasticsearch-7.16.0-x86_64.rpm: elasticsearch-7.16.0-1.x86_64
Marking elasticsearch-7.16.0-x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.x86_64 0:7.16.0-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===========================================================================================================
 Package                 Arch             Version             Repository                              Size
===========================================================================================================
Installing:
 elasticsearch           x86_64           7.16.0-1            /elasticsearch-7.16.0-x86_64           526 M
Transaction Summary
===========================================================================================================
Install       1 Package(s)
Total size: 526 M
Installed size: 526 M
Is this ok [y/N]:
## install kibana
[root@localhost ~]# yum install kibana-7.16.0-x86_64.rpm
Loaded plugins: fastestmirror
Setting up Install Process
Examining kibana-7.16.0-x86_64.rpm: kibana-7.16.0-1.x86_64
Marking kibana-7.16.0-x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package kibana.x86_64 0:7.16.0-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===========================================================================================================
 Package             Arch                Version                  Repository                          Size
===========================================================================================================
Installing:
 kibana              x86_64              7.16.0-1                 /kibana-7.16.0-x86_64              730 M
Transaction Summary
===========================================================================================================
Install       1 Package(s)
Total size: 730 M
Installed size: 730 M
Is this ok [y/N]:
## start elasticsearch
[root@localhost ~]# yum install kibana-7.16.0-x86_64.rpm
Loaded plugins: fastestmirror
Setting up Install Process
Examining kibana-7.16.0-x86_64.rpm: kibana-7.16.0-1.x86_64
## connect ElasticSearch from other machine
[root@localhost ~]# vi /etc/kibana/elasticsearch.yml
cluster.name: my-application
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
node.name: node-1
#network.host: 192.168.0.97
network.host: 0.0.0.0
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
cluster.initial_master_nodes: ["node-1"]
#
## connect Kibana from other machine
[root@localhost ~]# vi /etc/kibana/kibana.yml
#server.host: "localhost"
server.host: "0.0.0.0"
댓글
댓글 쓰기