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:  List Of Top 7 Best Linux Firewall Software
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

MATE 1.22 Linux Desktop Is Out Now Latest MATE 1.22 Linux Desktop Is Out Now Linux
How To Fix “Sub-process /usr/bin/dpkg returned an error code (1)” Error In Ubuntu How To Fix “Sub-process /usr/bin/dpkg returned an error code (1)” Error In Ubuntu Fix
No route to host SSH Error In Linux [Fixed] How To Fix No route to host SSH Error In Linux [Solved] Linux
StarLabs StarBook 14 Inch Laptop Will Cost You $929 [Specs] StarLabs StarBook 14 Inch Laptop Will Cost You $929 [Specs] Linux
Install Audit Tool In RHEL/CentOS/Fedora Install Audit Tool In RHEL/CentOS/Fedora Linux
shutdown ubuntu from terminal Shutdown Ubuntu From Terminal : Linux Command Guide Ubuntu

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 info@itsubuntu.com
  • Epic Business Intelligence Reporting and Analytics Developer/Analyst a

    • Santa Clara, CA (Remote)
    • TriOptus LLC
    • Full Time
  • Remote Nonclinical Writer for Regulatory Submissions

    • Chicago, IL
    • MMS
    • Full Time
  • Grant Writer

    • Glendale, CA
    • Neighborhood Legal Services of Los Angeles County
    • Full Time
  • Grant Writer

    • Los Angeles, CA
    • Downtown Women's Center
    • Full Time
  • Customs Entry Writer

    • Houston, TX
    • FreightTAS
    • Full Time
  • Crisis & Incident Policy Writer (Autonomous Vehicles or Mobility & Transportation domain)

    • Mountain View, CA
    • US Tech Solutions
    • Full Time
  • Remote Health & Safety Writer for Construction

    • Trenton, NJ
    • School Result
    • Part Time
  • Medicaid Advanced Planning Writer

    • United States
    • My3Tech Inc
    • Full Time

Copyright © 2026 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme