Installing Elasticsearch in Centos7 problem

Hi,
I have this error when I want to install Elasticsearch in Centos 7

elasticsearch-7.17.6-x86_64.rp FAILED                                          
https://artifacts.elastic.co/packages/7.x/yum/7.17.6/elasticsearch-7.17.6-x86_64.rpm: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.



Error downloading packages:
  elasticsearch-7.17.6-1.x86_64: [Errno 256] No more mirrors to try.

you are installing elasticsearch by using rpm ? What command you used for installing elasticsearch rpm

I used this article
https://www.fractionservers.com/knowledge-base/how-to-install-elasticsearch-7-on-cpanel/

Follow this link .

Thank you for your help, but I got this error
[root@vmi1026611 ~]# wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.6-x86_64.rpm

--2022-10-13 09:54:04-- https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.6-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... 403 Forbidden

2022-10-13 09:54:04 ERROR 403: Forbidden.

are you using any proxy server. Please contact with your network team

I don't using any proxy sever this is VPS with Cpanel

Sometimes Elastic firewall bans. Check here

Delete and try Again this below steps-
Installing Elasticsearchedit
Hosted Elasticsearch Serviceedit
Elastic Cloud offers all of the features of Elasticsearch, Kibana, and Elastic’s Observability, Enterprise Search, and Elastic Security solutions as a hosted service available on AWS, GCP, and Azure.

To set up Elasticsearch in Elastic Cloud, sign up for a free Elastic Cloud trial.

Self-managed Elasticsearch optionsedit
If you want to install and manage Elasticsearch yourself, you can:

Run Elasticsearch on any Linux, MacOS, or Windows machine.
Run Elasticsearch in a Docker container.
Set up and manage Elasticsearch, Kibana, Elastic Agent, and the rest of the Elastic Stack on Kubernetes with Elastic Cloud on Kubernetes.
To try out Elasticsearch on your own machine, we recommend using Docker and running both Elasticsearch and Kibana. For more information, see Run Elasticsearch locally.

Elasticsearch install packagesedit
Elasticsearch is provided in the following package formats:

Linux and MacOS tar.gz archives

The tar.gz archives are available for installation on any Linux distribution and MacOS.

Install Elasticsearch from archive on Linux or MacOS

Windows .zip archive

The zip archive is suitable for installation on Windows.

Install Elasticsearch with .zip on Windows

deb

The deb package is suitable for Debian, Ubuntu, and other Debian-based systems. Debian packages may be downloaded from the Elasticsearch website or from our Debian repository.

Install Elasticsearch with Debian Package

rpm

The rpm package is suitable for installation on Red Hat, Centos, SLES, OpenSuSE and other RPM-based systems. RPMs may be downloaded from the Elasticsearch website or from our RPM repository.

Install Elasticsearch with RPM

docker

Images are available for running Elasticsearch as Docker containers. They may be downloaded from the Elastic Docker Registry.

Install Elasticsearch with Docker

Regards,
Rachel Gomez

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.