Centos Server install elastiksearch problem


I have a centos linux server.
I have cpanel installed on it and running a litespeed server.

I want to use elasticsearch on my Xenforo forum. I cannot install elasticsearch on my server.

I looked through the installation instructions on the forum but failed.
Can you help me with this?

Java loaded on the server

rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
Command was run

nano /etc/yum.repos.d/elasticsearch.repo
by running the following text is added.

Elasticsearch repository for name = 6.x packages
baseurl = https: //artifacts.elastic.co/packages/6.x/yum
gpgcheck = 1
gpgkey = https: //artifacts.elastic.co/GPG-KEY-elasticsearch
active = 1
autorefresh = 1
type = rpm-md

I can't command sudo yum install elasticsearch.

Last edited: