Givena an elasticsearch repo, launch the command below to create a mirror
$ reposync --repoid elasticsearch-1.4 -p /path/to/mirror
[elasticsearch-1.4] | |
name=Elasticsearch repository for 1.4.x packages | |
baseurl=http://packages.elasticsearch.org/elasticsearch/1.4/centos | |
gpgcheck=1 | |
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch | |
enabled=1 |