参考:http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html Download and install the Public Signing Key rpm --import https://packages.elasticsearch.org/GPG-KEY-elasticsearch Add the following in your /etc/yum.repo