elastic 所有软件的 下载地址
[root@h102 ELK]# vim /etc/yum.repos.d/elk.repo
[root@h102 ELK]# cat /etc/yum.repos.d/elk.repo
[logstash-2.1]
name=Logstash repository for 2.1.x packages
baseurl=http://packages.elastic.co/logstash/2.1/centos
gpgcheck=1
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1
[elasticsearch-2.x]
name=Elasticsearch repository for 2.x packages
baseurl=http://packages.elastic.co/elasticsearch/2.x/centos
gpgcheck=1
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1
[root@h102 ELK]#
[root@h102 ELK]# wget https://packages.elastic.co/GPG-KEY-elasticsearch
--2015-12-22 17:40:51-- https://packages.elastic.co/GPG-KEY-elasticsearch
Resolving packages.elastic.co... 50.16.251.137, 50.17.224.164, 23.21.65.76, ...
Connecting to packages.elastic.co|50.16.251.137|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1768 (1.7K) [binary/octet-stream]
Saving to: “GPG-KEY-elasticsearch”
100%[======================================>] 1,768 --.-K/s in 0s
2015-12-22 17:41:03 (143 MB/s) - “GPG-KEY-elasticsearch” saved [1768/1768]
[root@h102 ELK]# rpm --import GPG-KEY-elasticsearch
[root@h102 ELK]# echo $?
0
[root@h102 ELK]#
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。