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 No Comments on Tutorial To Install Elasticsearch on CentOS 8

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 Useful Server Monitoring Tools For Linux System Administrator In 2023
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 Clear Apt Cache In Ubuntu, Debian, And Linux Mint How To Clear Apt Cache In Ubuntu, Debian, And Linux Mint Linux
Tutorial To Install Apache On CentOS 8 [How To] Tutorial To Install Apache On CentOS 8 [How To] Linux
Systemctl Command Examples Systemctl Command Examples Linux
Fedora 33 Fedora 33 Beta Released, Download & Try Now Linux
Create Linux Bootable USB Easily Create Linux Bootable USB Drive With Ventoy Linux
StarLabs StarBook 14 Inch Laptop Will Cost You $929 [Specs] StarLabs StarBook 14 Inch Laptop Will Cost You $929 [Specs] Linux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • 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
  • Linux Wget Examples September 27, 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]
  • Bakery Order Writer (Buyer / Inventory Replenishment) – Full Time

    • Daniel, WY
    • Whole Foods Market
    • Full Time
  • Senior Grant Writer

    • Alhambra, CA
    • Global Urban Strategies Inc
    • Full Time
  • Contract Technical Writer

    • Lewiston, ME
    • Contiem
    • Full Time
  • Senior Grant Writer

    • Kenai, AK
    • Kenaitze Indian Tribe
    • Full Time
  • Technical Writer

    • Brooklyn, NY
    • Morph Enterprise
    • Full Time
  • Technical Writer

    • Austin, TX
    • netPolarity, Inc. (Saicon Consultants, Inc.)
    • Full Time
  • Senior Data Scientist (Hiring Immediately)

    • Berkeley, CA (Remote)
    • Cogitativo
    • Full Time
  • Technical Documentation Specialist

    • Dallas, TX
    • DropUp®
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme