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:  How To Fix netstat Command Not Found On CentOS 7 / RHEL 7
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

Most Used Nginx Commands For Beginners Common And Most Used Nginx Commands For Beginners Linux
Linux 5.2 Released : Update Linux Kernel In Ubuntu Linux 5.2 Released : Update Linux Kernel In Ubuntu Ubuntu
200+ Free Linux Ebooks Collection For Lifetime 200+ Free Linux Ebooks Collection For Lifetime Linux
Install ttyload In Linux : Graphical Tracking Tool For Load Average Install ttyload In Linux : Graphical Tracking Tool For Load Average Linux
TUXEDO InfinityBook Pro 14 Gen7 Full Specifications TUXEDO InfinityBook Pro 14 Gen7 Full Specifications Laptops
New Kernel Security Update For Ubuntu 16.04 LTS With Linux Kernel 4.4 Is Out Now New Kernel Security Update For Ubuntu 16.04 LTS With Linux Kernel 4.4 Is Out Now 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]
  • SQL Report Writer

    • Hammonton, NJ
    • TWO95 International
    • Full Time
  • Sr Electrical Engineer, Data Center (Hybrid)

    • San Jose, CA
    • CyberCoders
    • Full Time
  • Distinguished Data Engineer

    • Petersburg, VA (Remote)
    • Capital One
    • Full Time
  • Deviation Writer

    • Durham, NC
    • Process Alliance
    • Full Time
  • Remote Blockchain Engineering Manager (San Francisco)

    • San Francisco, CA
    • Circle
    • Full Time
  • Azure Engineer

    • Fort Worth, TX
    • Jobot
    • Full Time
  • Nights & Weekends Blogger, The Cut

    • Remote
    • Vox Media
    • Full Time
  • AI / Machine Learning Engineer

    • Stratford, CT
    • Lockheed Martin
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme