Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
Install elastisearch on CentOS 8

Tutorial To Install Elasticsearch on CentOS 8

Posted on February 23, 2020 By admin

Insight: Tutorial To Install Elasticsearch on CentOS 8

Elasticsearch, developed in Java is a search engine based on the Lucene library that provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents.

In this tutorial post, we will show you the method to install Elastisearch on CentOS 8 Linux operating system.

Tutorial To Install Elasticsearch on CentOS 8

Run the following as root to install the OpenJDK package at first:

sudo dnf install java-11-openjdk-devel

As elasticsearch is not available in the standard CentOS 8 repositories, you need to install it from the Elasticsearch RPM repository.

 

sudo rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

Now, Open your text editor and create the repository file the /etc/yum.repos.d/ directory:

sudo nano /etc/yum.repos.d/elasticsearch.repo

Paste the following content:

/etc/yum.repos.d/elasticsearch.repo
[elasticsearch-7.x]
name=Elasticsearch repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
Save the file and close your text editor.

Now that the repository is enabled. You can easily install the Elasticsearch by typing the following command:

sudo dnf install elasticsearch

Now start, and enable the service:

sudo systemctl enable elasticsearch.service --now

If you want to verify that Elasticsearch is running or not, you can run the command by using curl to send an HTTP request to port 9200 on localhost:

curl -X GET "localhost:9200/"
READ More Relevant Stuff:  Download NVIDIA 510.47.03 Graphics Driver For Linux
Linux Tags:centos

Post navigation

Previous Post: List Of Useful Linux Disk Scanning Tools In 2020
Next Post: List Of Useful Server Monitoring Tools For Linux System Administrator In 2023

Related Posts

How To Install Microsoft Teams On Ubuntu 22.04 LTS And Other Linux How To Install Microsoft Teams On Ubuntu 22.04 LTS And Other Linux Linux
First Preview Builds Of Chromium Based Edge Browser Is Out Linux
3 Ways To Fix “No Space Left on Device” Error In Linux 3 Ways To Fix “No Space Left on Device” Error In Linux Fix
Best Linux Gaming Distros That Might Be Helpful Best Linux Gaming Distros That Might Be Helpful Linux
Pop!_OS 22.04 LTS: Pop!_OS 22.04 LTS Is Now Available For Download Linux
How To Upgrade To Fedora 32 From Fedora 31 How To Upgrade To Fedora 32 From Fedora 31 Linux

Recent Posts

  • New Job Search October 10, 2025
  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • Technical Writer & Editor – Remote

    • Charlotte, NC
    • Outlier AI
    • Full Time
  • Angioedema Community Columnist — Freelance Writer

    • Pensacola, FL
    • BioNews Services
    • Freelance
  • Director, Data Engineering

    • Petersburg, VA (Remote)
    • Capital One
    • Full Time
  • Technical Blogger, Writer (Telecommute)

    • Jersey City, NJ
    • VT Enterprise
    • Full Time
  • Technical Writer/Process Technician

    • Havana, FL
    • Manpower
    • Full Time
  • AML SAR Writer

    • Tampa, FL
    • Axelon
    • Full Time
  • Volunteer Blogger Writer

    • Boca Raton, FL
    • Florida Youth at Risk
    • Full Time
  • Volunteer Opportunity: Grant Writer for YES 2 YOU Nonprofit Organization

    • San Antonio, TX
    • YES 2 YOU
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme