hi all,
I want to install rpm version of curator as offline, could you please advice me about this?
Many thanks.
https://www.elastic.co/guide/en/elasticsearch/client/curator/current/yum-repository.html has links to the RPMs, are you having problems downloading them?
hi, many thanks for your replying,
I downloaded "elasticsearch-curator-5.6.0-1.x86_64.rpm" from following link and copy it in the VM where has no internet access
https://packages.elastic.co/curator/5/centos/6/Packages/elasticsearch-curator-5.6.0-1.x86_64.rpm
according to document, we should add following in /etc/yum.repos.d directory for CentOS 6:
[curator-5]
name=CentOS/RHEL 6 repository for Elasticsearch Curator 5.x packages
baseurl=https://packages.elastic.co/curator/5/centos/6
gpgcheck=1
gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1
but, it contains two addresses and my VM cannot access to internet. how can i handle this issue?
You may want to look at the documentation for RPM, and how to refer to local install files.
many thanks.
in order to download GPG-KEY-elasticsearch using windows cmd, i used following command:
wget https://packages.elastic.co/GPG-KEY-elasticsearch
which result following message. could you please advise me about this issue? many thanks.
Are you running Windows or a RedHat distro?
dear warkolm
i solved that issue, now i am using yum installation as following
yum install elasticsearch-curator
where a curator.repo has been created in /etc/yum.repos.d as following
[curator-5]
name=CentOS/RHEL 6 repository for Elasticsearch Curator 5.x packages
baseurl=file:///home/srahimi/files
gpgcheck=1
gpgkey=file:///home/srahimi/files/GPG-KEY-elasticsearch
enabled=1
where elasticsearch-curator-5.6.0-1.x86_64.rpm and GPG-KEY-elasticsearch located in /home/files
when i run (yum install elasticsearch-curator), following message can be found:
[root@localhost files]# yum install elasticsearch-curator -y
Loaded plugins: refresh-packagekit, security, ulninfo
Setting up Install Process
file:///home/srahimi/files/repodata/repomd.xml: [Errno 14] Could not open/read file:///home/srahimi/files/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: curator-5. Please verify its path and try again
how can i handle this issue?
i get the repomd.xml from following link
http://packages.elastic.co/curator/5/centos/6/repodata/repomd.xml
and then save it as repomd.xml and copy to my VM in /home/srahimi/files/repodata folder.
after that, i run (yum install elasticsearch-curator) which leads to following error:
[root@localhost sync_gateway]# yum install elasticsearch-curator
Loaded plugins: refresh-packagekit, security, ulninfo
Setting up Install Process
curator-5 | 1.2 kB 00:00 ...
file:///home/srahimi/files/repodata/primary.xml.gz: [Errno 14] Could not open/read file:///home/srahimi/files/repodata/primary.xml.gz
Trying other mirror.
file:///home/srahimi/files/repodata/primary.xml.gz: [Errno 14] Could not open/read file:///home/srahimi/files/repodata/primary.xml.gz
Trying other mirror.
Error: failure: repodata/primary.xml.gz from curator-5: [Errno 256] No more mirrors to try.
any advice will be so appreciated
I will be so appreciated if anyone advises me?
You can use yum to install locally, but it requires an additional flag:
yum localinstall /path/to/elasticsearch-curator-5.6.0-1.x86_64.rpm
Where /path/to
is the path to the RPM file on your filesystem.
dear Aaron,
I used (yum localinstall /.../elasticsearch-curator-5.6.0-1.x86_64.rpm), but still give me the same error:
file:///home/srahimi/files/repodata/primary.xml.gz: [Errno 14] Could not open/read file:///home/srahimi/files/repodata/primary.xml.gz
Trying other mirror.
file:///home/srahimi/files/repodata/primary.xml.gz: [Errno 14] Could not open/read file:///home/srahimi/files/repodata/primary.xml.gz
Trying other mirror.
Error: failure: repodata/primary.xml.gz from curator-5: [Errno 256] No more mirrors to try.
Option c is to just use the RPM command:
rpm -ivh elasticsearch-curator-5.6.0-1.x86_64.rpm
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.