Web Analytics

Fill the form & Get Installation Support

Any Question or Concerns?
Let's discuss

    Magento 2.4.x : How to install Elasticsearch on Linux in localhost?

    In Magento 2.4.x, You have to install and configure Elasticsearch before setting up a new project.

    If you want to know how to install Elasticsearch then follow below steps.

    Step 1 – Install Java jdk – Its necessary for magento 2.4.x

    – sudo apt-get update

    – sudo apt install openjdk-8-jdk

    – java -version (For check java version. It’s show something like below)

    Step 2 – Install from the APT repository

    – sudo apt install apt-transport-https

    Step 3 – After Install Elasticsearch using below commands

    – sudo apt-get update

    – sudo apt-get install elasticsearch

    Step 4 – After Install Elasticsearch, Start it’s service using below commands

    – systemctl daemon-reload

    – systemctl enable elasticsearch.service (For enable service)

    – systemctl start elasticsearch.service (For start service)

    – service elasticsearch status (For check it’s status)

    That’s it.

    Now, Elasticsearch has been installed for your Magento 2.4.x projects.


    Fill the below form if you have any Magento programming need.

      Recent Articles

      Author Info

      Hire R. Patel

      Get a Free Quote

        Connect With Us