{"id":4427,"date":"2023-11-23T07:30:58","date_gmt":"2023-11-23T07:30:58","guid":{"rendered":"https:\/\/www.emizentech.com\/blog\/?p=4427"},"modified":"2023-11-23T07:31:01","modified_gmt":"2023-11-23T07:31:01","slug":"magento-2-4-with-elasticsearch-complete-guide","status":"publish","type":"post","link":"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html","title":{"rendered":"Magento 2.4 Installation on Ubuntu with Elasticsearch | Step-by-Step Guide"},"content":{"rendered":"\n<p>Magento 2.4 has significantly changed its installation process, no longer supporting the web install wizard. This shift requires users to rely on command line interfaces for installation, a challenge particularly for those unaccustomed to such environments.<\/p>\n\n\n\n<p>Attention to deploying <strong>Magento 2.4 with Elasticsearch<\/strong> on a live server, specifically on <strong>Ubuntu OS (versions 16.04 or 23.10)<\/strong>.<\/p>\n\n\n\n<p>Before diving into the installation process, it&#8217;s important to address Elasticsearch, a term familiar to many but perhaps new to some. Fear not if you&#8217;re among the latter group; our guide is designed to demystify Elasticsearch. We&#8217;ll explore its origins, applications, advantages, and more, offering a comprehensive understanding crucial for those delving into the deeper aspects of <strong>Magento 2.4 with Elasticsearch<\/strong>. This foundational knowledge is key to successfully installing and efficiently using these powerful tools.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #007db2;color:#007db2\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #007db2;color:#007db2\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html#Release_of_Magento_24_%E2%80%93_Key_Highlights_Emergence_of_Elasticsearch\" >Release of Magento 2.4 &#8211; Key Highlights &amp; Emergence of Elasticsearch<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html#Earlier_Options_for_Deploying_Elasticsearch\" >Earlier Options for Deploying Elasticsearch<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html#What_Is_Elasticsearch\" >What Is Elasticsearch?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html#Why_Use_Elasticsearch_In_Magento_2\" >Why Use Elasticsearch In Magento 2?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html#Checking_System_Requirements_Before_Installing_Magento_24\" >Checking System Requirements Before Installing Magento 2.4<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html#Install_Apache2_on_Ubuntu\" >Install Apache2 on Ubuntu<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html#Install_MySQL_on_Ubuntu\" >Install MySQL on Ubuntu<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html#Install_PHP73_on_Ubuntu\" >Install PHP7.3 on Ubuntu<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html#Install_Setup_Magento_24\" >Install &amp; Setup Magento 2.4<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html#Install_Elasticsearch_on_Ubuntu\" >Install Elasticsearch on Ubuntu<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html#Elasticsearch_Configuration_in_Magento\" >Elasticsearch Configuration in Magento<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-2-4-with-elasticsearch-complete-guide.html#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Release_of_Magento_24_%E2%80%93_Key_Highlights_Emergence_of_Elasticsearch\"><\/span>Release of Magento 2.4 &#8211; Key Highlights &amp; Emergence of Elasticsearch<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Magento 2.4 has been released to enhance security, for better security payment gateways, performance, inventory or stock management, and for resolving existing issues. The highlights of Magento 2.4:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Security Patches<\/li>\n\n\n\n<li>Platform Upgrades<\/li>\n\n\n\n<li>Infrastructure Improvements<\/li>\n\n\n\n<li>Performance Improvements<\/li>\n\n\n\n<li>Purchase Approval Workflows<\/li>\n\n\n\n<li>Seller-assisted shopping<\/li>\n\n\n\n<li>In-Store Pickup<\/li>\n\n\n\n<li>New Media Gallery<\/li>\n\n\n\n<li>PWA Improvements<\/li>\n<\/ul>\n\n\n\n<p>Well, we will now know how Elasticsearch came into existence. In Magento 2.4, the platform upgrades will enhance the performance of the Magento store and its security. It will be supported by PHP 7.4. Moreover, there is also support for PHPUnit 9.x, Elasticsearch 7.6.x support, and MySQL 8.0 support. The MySQL catalog search engine has been removed and replaced by Elasticsearch&#8217;s default search engine. For more, visit here- <a href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/magento-open-source-2-4-1-release-notes.html\"><strong>Magento Open Source 2.4 Release Notes<\/strong><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Earlier_Options_for_Deploying_Elasticsearch\"><\/span>Earlier Options for Deploying Elasticsearch<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before the release of Magento 2.4, and now as well, Elasticsearch is deployed as a managed, hosted service all through Elasticsearch Service. Moreover, it is permitted to download and install on our hardware or in the cloud. The one who needs to provision, handle, and monitor his deployments from a single code but chooses not to use a public cloud platform, Elastic provides Elastic Cloud Enterprise and Private subscription tier.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Is_Elasticsearch\"><\/span>What Is Elasticsearch?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>A RESTful, distributed search and analytics engine, Elasticsearch can locate an expanding number of use cases. Being the heart of the Elastic Stack, Elasticsearch stores your data centrally for rapid search, powerful analytics, and fine-tuned relevancy that scales easily. Simply put, Elasticsearch aids in storing and mapping all documents effectively to optimize the search and retrieval function.<\/p>\n\n\n\n<p>A powerful, open-source analytic and search engine, Elasticsearch uses Apache Lucene. Apart from handling many use cases, it supports various tenancies and a full-text search on the HTTP web interface.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Benefits of Elasticsearch<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Real-Time Search<\/strong>: Elasticsearch, based on Lucene, excels in full-text search with near real-time capabilities, ideal for time-sensitive tasks like infrastructure monitoring and security analytics.<\/li>\n\n\n\n<li><strong>Distributed Architecture<\/strong>: It distributes documents across shards, allowing redundancy and reliability, and scales across hundreds to thousands of servers to manage petabytes of data.<\/li>\n\n\n\n<li><strong>Feature-Rich<\/strong>: Beyond speed and scalability, Elasticsearch offers advanced features for efficient data storage and searching, such as data rollups and index lifecycle management.<\/li>\n\n\n\n<li><strong>Elastic Stack Integration<\/strong>: Enhances data processing, ingestion, reporting, and visualization with tools like Logstash and Beats for data processing and Kibana for real-time visualization and easy access to application performance, infrastructure metrics, and logs.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Use_Elasticsearch_In_Magento_2\"><\/span>Why Use Elasticsearch In Magento 2?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In the world of eCommerce, especially for sites built on Magento 2, search functionality stands as a cornerstone feature. A robust search tool, like Elasticsearch, significantly enhances the shopping experience. It enables customers to locate their desired products effortlessly, potentially boosting sales and improving overall customer satisfaction.<\/p>\n\n\n\n<p>Conversely, a subpar search tool can hinder product discovery, increasing bounce rates and lost sales opportunities. This underscores the criticality of incorporating advanced search capabilities in Magento 2 stores. Implementing Elasticsearch is an exemplary strategy to achieve this.<\/p>\n\n\n\n<p>However, it&#8217;s important to note that Elasticsearch integration is native only to Magento Commerce Edition and Magento Open Source 2.3.0. Installing a compatible module is essential for those utilizing Magento Open Source 2.2.x to leverage Elasticsearch&#8217;s powerful features. Various Magento 2 Elasticsearch modules are available, catering to diverse needs with free and paid options.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Also Read: <a href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/how-to-hire-magento-developer.html\" target=\"_blank\" rel=\"noopener\">How to Hire A Magento 2 Developer &#8211; Complete Guide<\/a><\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">Uses of Elasticsearch<\/h3>\n\n\n\n<p>The scalability and speed of Elasticsearch and its caliber to index various types of content states that it can be employed for several use cases:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Website search<\/li>\n\n\n\n<li>Application search<\/li>\n\n\n\n<li>Enterprise search<\/li>\n\n\n\n<li>Infrastructure metrics &amp; container monitoring<\/li>\n\n\n\n<li>Logging &amp; log analytics<\/li>\n\n\n\n<li>Application performance monitoring<\/li>\n\n\n\n<li>Security analytics<\/li>\n\n\n\n<li>Geospatial data analysis &amp; visualization<\/li>\n\n\n\n<li>Business Analytics<\/li>\n<\/ul>\n\n\n\n<p>Now, we will move on to the process of Magento 2.4 Installation with Elasticsearch. Let\u2019s get started.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Checking_System_Requirements_Before_Installing_Magento_24\"><\/span>Checking System Requirements Before Installing Magento 2.4<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before installing Magento 2.4, it&#8217;s crucial to ensure your server or VPS aligns with Magento 2&#8217;s system requirements. Here are the server specifications I suggest:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A minimum of 2GB RAM is required. However, 4GB RAM is recommended for enhanced performance, particularly when using Elasticsearch.<\/li>\n\n\n\n<li>For CPU, a 3-core processor should suffice for small to medium-sized businesses. To estimate the required number of cores, you can use the following formula: Number of cores = ([Number of Expected Requests] \/ 2) + [Number of Expected Cron Processes].<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_Apache2_on_Ubuntu\"><\/span>Install Apache2 on Ubuntu<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First, we need to install a lamp setup via the command line. I have using apache2 for a webserver.<\/p>\n\n\n\n<p>Apache HTTP webserver provides many powerful features, including dynamically loadable modules, robust media support, and extensive integration with other popular software.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1 &#8211; Install Apache2<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt-get update<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/1-apt-get-update.png\" alt=\"1 apt-get update\" class=\"wp-image-4346\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt-get install -y apache2<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/2-apt-get-install-y-apache2.png\" alt=\"2 apt-get install -y apache2\" class=\"wp-image-4347\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 &#8211; Firewall Allow<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># ufw app list<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/3-ufw-app-list.png\" alt=\"3 ufw app list\" class=\"wp-image-4348\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># ufw allow 'Apache'<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/4-ufw-allow-apache.png\" alt=\"4 ufw allow apache\" class=\"wp-image-4349\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># ufw status<\/pre>\n\n\n\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4350\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/5-ufw-status.png\" alt=\"5 ufw status\" width=\"664\" height=\"37\"><br>When firewall status inactive then we need to enable it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># ufw enable<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/6-ufw-enable.png\" alt=\"6 ufw enable\" class=\"wp-image-4351\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># ufw status<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/7-ufw-status.png\" alt=\"7 ufw status\" class=\"wp-image-4352\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3 &#8211; Check Web Server<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># service apache2 status<\/pre>\n\n\n\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-4353\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/8-service-apache2-status.png\" alt=\"8 service apache2 status\" width=\"739\" height=\"209\"><br>Go to Browser and browse with private ip. You should see the default Ubuntu 18.04 Apache web page:<img decoding=\"async\" class=\"alignnone size-full wp-image-4354\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/9-the-default-Ubuntu-18.04-Apache-web-page.png\" alt=\"9 the default Ubuntu 18.04 Apache web page\" width=\"1361\" height=\"624\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_MySQL_on_Ubuntu\"><\/span>Install MySQL on Ubuntu<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>An open-source database management system, MySQL is commonly installed like a part of the famous LAMP (Linux, Apache, MySQL, PHP\/Python\/Perl) stack. It employs a relational database along with SQL (Structured Query Language) to handle its data.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1 &#8211; Install MySQL<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt-get update<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/10-apt-get-update.png\" alt=\"10 apt-get update\" class=\"wp-image-4355\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt-get install mysql-server<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/11-apt-get-install-mysql-server.png\" alt=\"apt-get install mysql-server\" class=\"wp-image-4356\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 &#8211; Configuring MySQL<\/h3>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4357\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/11-Configuring-MySQL.png\" alt=\"11 Configuring MySQL\" width=\"737\" height=\"212\"><br>Enter a three level of password validation and also given a root password:<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4358\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/12-three-level-of-password-validation.png\" alt=\"12 three level of password validation\" width=\"733\" height=\"232\"><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># mysql<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/13-mysql.png\" alt=\"13 mysql\" class=\"wp-image-4359\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3 &#8211; Create a MySQL User<\/h3>\n\n\n\n<p>Creating a new user and give it a strong password.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql&gt; CREATE USER 'magento'@'localhost' IDENTIFIED BY 'magento123';<\/pre>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4400\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/14-CREATE-USER-magento-localhost.png\" alt=\"14 CREATE USER magento localhost\" width=\"731\" height=\"48\"><br>you could grant the user privileges to all tables within the database, as well as the power to add, change, and remove user privileges, with this command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'magento'@'localhost' WITH GRANT OPTION;<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/15-magento-localhost.png\" alt=\"15 magento localhost\" class=\"wp-image-4401\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql&gt; FLUSH PRIVILEGES;<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/16-mysql-FLUSH-PRIVILEGES.png\" alt=\"16 mysql FLUSH PRIVILEGES\" class=\"wp-image-4360\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql&gt; exit;<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4 &#8211; Testing MySQL<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl status mysql<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/17-systemctl-status-mysql.png\" alt=\"17 systemctl status mysql\" class=\"wp-image-4361\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_PHP73_on_Ubuntu\"><\/span>Install PHP7.3 on Ubuntu<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1 &#8211; Install PHP<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt-get install software-properties-common<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/18-apt-get-install-software-properties-common.png\" alt=\"18 apt-get install software-properties-common\" class=\"wp-image-4362\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># add-apt-repository ppa:ondrej\/php<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/19-add-apt-repository-ppa-ondrej.png\" alt=\"19 add-apt-repository ppa ondrej\" class=\"wp-image-4363\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt-get update<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/20-apt-get-update.png\" alt=\"20 apt-get update\" class=\"wp-image-4364\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt-get install -y php7.3<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/21-apt-get-install-y-php7.3.png\" alt=\"21 apt-get install -y php7.3\" class=\"wp-image-4365\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># php -v<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/22-php-v.png\" alt=\"22 # php -v\" class=\"wp-image-4366\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 &#8211; Installing PHP module<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt-get install -y php7.3 libapache2-mod-php7.3 php7.3-curl php7.3-gmp php7.3-mbstring php7.3-phpdbg php7.3-sqlite3 php7.3-zip php7.3-bcmath php7.3-dba php7.3-imap php7.3-pspell php7.3-sybase php7.3-bz2 php7.3-dev php7.3-interbase php7.3-mysql php7.3-readline php7.3-tidy php7.3-cgi php7.3-enchant php7.3-intl php7.3-odbc php7.3-recode php7.3-xml php7.3-cli php7.3-fpm php7.3-json php7.3-opcache php7.3-snmp php7.3-xmlrpc php7.3-common php7.3-gd php7.3-ldap php7.3-pgsql php7.3-soap php7.3-xsl php7.3-mongo<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/23-Installing-PHP-module.png\" alt=\"23 Installing PHP module\" class=\"wp-image-4367\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_Setup_Magento_24\"><\/span>Install &amp; Setup Magento 2.4<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1 &#8211; Create a Directory and Download the Magento2.4 File<\/h3>\n\n\n\n<p>Create a directory<br><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4368\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/24-Create-a-directory.png\" alt=\"24 Create a directory\" width=\"714\" height=\"53\"><br>Download Magento-CE-2.4.0 on official website.<br><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4369\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/25-Download-Magento-CE-2.4.0.png\" alt=\"25 Download Magento-CE-2.4.0\" width=\"742\" height=\"103\"><br>After downloading unzip zip file in this folder.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 &#8211; Given Permission<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># chmod -R 755 magento2.4<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/26-chmod-R-755-magento2.4.png\" alt=\"26 chmod -R 755 magento2.4\" class=\"wp-image-4370\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># chown -R magento:magento magento2.4<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/27-chown-R-magento-magento-magento2.4.png\" alt=\"27 chown R magento magento magento2.4\" class=\"wp-image-4371\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># chmod -R 777 var pub generated app<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/28-chmod-R-777-var-pub-generated-app.png\" alt=\"28 chmod -R 777 var pub generated app\" class=\"wp-image-4372\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3 &#8211; Magento Installation<\/h3>\n\n\n\n<p>Magento2.4 installation via command line. So we have to create a database and MySQL user already, then run the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># php bin\/magento setup:install --base-url=http:\/\/http:\/\/172.16.16.118\/magento2.4\/ --db-host=localhost --db-name=magento --db-user=magento --db-password=magento123 --admin-firstname=test --admin-lastname=test --admin-email=test@example.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America\/Chicago --use-rewrites=1<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/29-Magento2.4-installation.png\" alt=\"29 Magento2.4 installation\" class=\"wp-image-4373\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_Elasticsearch_on_Ubuntu\"><\/span>Install Elasticsearch on Ubuntu<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1 &#8211; Install Java (It&#8217;s necessary for dependencies)<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt-get update<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/30-apt-get-update.png\" alt=\"30 apt-get update\" class=\"wp-image-4374\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install openjdk-8-jdk<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/31-apt-install-openjdk-8-jdk.png\" alt=\"31 apt install openjdk-8-jdk\" class=\"wp-image-4375\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># java -version<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/32-java-version.png\" alt=\"32 java -version\" class=\"wp-image-4376\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 &#8211; Installing from the APT repository<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># sudo apt install apt-transport-https<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/33-sudo-apt-install-apt-transport-https.png\" alt=\"33 sudo apt install apt-transport-https\" class=\"wp-image-4377\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3 &#8211; Install and Download Elasticsearch<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/wget.jpg\" alt=\"wget\" class=\"wp-image-4436\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/34-Install-and-Download-Elasticsearch.png\" alt=\"34 Install and Download Elasticsearch\" class=\"wp-image-4378\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/echodeb.jpg\" alt=\"echodeb\" class=\"wp-image-4434\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/35-echo-deb.png\" alt=\"35 echo deb\" class=\"wp-image-4379\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4 &#8211; Install Elasticsearch<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt-get update<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/36-apt-get-update.png\" alt=\"36 apt-get update\" class=\"wp-image-4380\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt-get install elasticsearch<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/37-apt-get-install-elasticsearch.png\" alt=\"37 apt-get install elasticsearch\" class=\"wp-image-4381\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5 &#8211; Start Elasticsearch Service<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl daemon-reload<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/38-systemctl-daemon-reload.png\" alt=\"38 systemctl daemon-reload\" class=\"wp-image-4382\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl enable elasticsearch.service<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/39-systemctl-enable-elasticsearch.service.png\" alt=\"39 systemctl enable elasticsearch.service\" class=\"wp-image-4383\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl start elasticsearch.service<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/40-systemctl-start-elasticsearch.service.png\" alt=\"40 systemctl start elasticsearch.service\" class=\"wp-image-4384\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># service elasticsearch status<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/41-service-elasticsearch-status.png\" alt=\"41 service elasticsearch status\" class=\"wp-image-4385\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6 &#8211; Configure Elasticsearch<\/h3>\n\n\n\n<p>The default configuration doesn\u2019t permit your machine to be accessed by other hosts. To allow remote access, use a text editor you want and open the elasticsearch.yml file<br><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4435\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/Vim.jpg\" alt=\"Vim\" width=\"391\" height=\"59\"><br><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4386\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/42-Configure-Elasticsearch.png\" alt=\"42 Configure Elasticsearch\" width=\"740\" height=\"19\"><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/43-default-configuration.png\" alt=\"43 default configuration\" class=\"wp-image-4387\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 7 &#8211; ufw to Secure Elasticsearch<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># ufw allow 22<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/44-ufw-allow-22.png\" alt=\"44 ufw allow 22\" class=\"wp-image-4388\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># ufw enable<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/45-ufw-enable.png\" alt=\"45 ufw enable\" class=\"wp-image-4389\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># ufw status<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/46-ufw-status.png\" alt=\"46 ufw status\" class=\"wp-image-4390\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 8 &#8211; Test Elasticsearch<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># curl localhost:9200<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/47-Test-Elasticsearch.png\" alt=\"47 Test Elasticsearch\" class=\"wp-image-4391\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Elasticsearch_Configuration_in_Magento\"><\/span>Elasticsearch Configuration in Magento<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1 &#8211; Configure Search Options<\/h3>\n\n\n\n<p>1. From the Admin sidebar, select Stores. Then under Settings, select Configuration.<br><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4392\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/48-Configure-Search-Options.png\" alt=\"48 Configure Search Options\" width=\"1600\" height=\"721\"><br>2. In the panel on the left of the screen, under CATALOG, select Catalog.<br><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4393\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/49-CATALOG-select-Catalog..png\" alt=\"49 CATALOG, select Catalog.\" width=\"1600\" height=\"724\"><br>3. Click to Catalog Search to expand this section.<br><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4394\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/50-Catalog-Search.png\" alt=\"50 Catalog Search\" width=\"1600\" height=\"722\"><br>4. In the Search Engine field, clear the Use system value checkbox and select the version of Elasticsearch that is installed on your server.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4395\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/51-Search-Engine.png\" alt=\"51 Search Engine\" width=\"1312\" height=\"743\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Configure the Elasticsearch Connection<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/52-Configure-the-Elasticsearch-Connection.png\" alt=\"52 Configure the Elasticsearch Connection\" class=\"wp-image-4396\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1. Enter the Elasticsearch Server Hostname. The default is localhost<\/li>\n\n\n\n<li>2. Enter the Elasticsearch Server Port.<\/li>\n\n\n\n<li>3. Enter a prefix in the Elasticsearch Index Prefix field to determine the Elasticsearch index. For instance: Magento2.<\/li>\n\n\n\n<li>4. In the Enable Elasticsearch HTTP Auth field, select Yes option to use HTTP authentication to suggest a username and password access Elasticsearch Server.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/53-Enable-Search-Suggestions.png\" alt=\"53 Enable Search Suggestions\" class=\"wp-image-4397\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>5. Enter the number of seconds before the system times out to the Elasticsearch Server Timeout field. The default number is 15.<\/li>\n\n\n\n<li>6. To verify the configuration, click to the Test Connection button.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Configure Suggestions and Recommendations<\/h3>\n\n\n\n<p>1. In the <strong>Enable Search Suggestions<\/strong> field, choose the <strong>Yes<\/strong> option. Then, take the following actions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Fill the <strong>Search Suggestions Count<\/strong> field with the number of search suggestions to offer.<\/li>\n\n\n\n<li>In the <strong>Show Results for Each Suggestion<\/strong> field, select <strong>Yes<\/strong> option to display the number of results found for each suggestion.<\/li>\n<\/ul>\n\n\n\n<p>2. In <strong>Enable Search Recommendations field<\/strong>, select <strong>Yes<\/strong> option to offer recommendations.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Fill the <strong>Search Recommendation Count<\/strong> field with the number of recommendations to offer.<\/li>\n\n\n\n<li>In the <strong>Show Results Count for Each Recommendation<\/strong> field, select Yes to display the number of results found for each recommendation.<\/li>\n<\/ul>\n\n\n\n<p>3. When you finish your configuration, click the <strong>Save Config<\/strong> button.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Installing Magento 2.4 on Ubuntu with Elasticsearch, we&#8217;ve explored the significant benefits for e-commerce platforms. This combination offers an efficient, scalable, and user-friendly shopping experience, enhanced by Adobe Commerce&#8217;s robust features and Magento&#8217;s new identity.<\/p>\n\n\n\n<p>As a leading <a href=\"https:\/\/multisitelocal.ezxdemo.com\/magento-development-services.html\"><strong>Magento development company<\/strong><\/a>, we&#8217;re not just implementers but innovators in e-commerce technology. Our exceptional Magento developers deliver bespoke solutions uniquely tailored for your business. With Magento as part of <a href=\"https:\/\/multisitelocal.ezxdemo.com\/adobe-commerce-development-company.html\"><strong>Adobe Commerce<\/strong><\/a>, we leverage advanced features to maximize your online store&#8217;s potential.<\/p>\n\n\n\n<p>Ready to revolutionize your e-commerce with Magento 2.4? <a href=\"https:\/\/multisitelocal.ezxdemo.com\/enqiry.html\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Contact us!<\/strong><\/a> We&#8217;re dedicated to a smooth transition to Magento 2.4, ensuring impactful results under Adobe&#8217;s innovative umbrella.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Magento 2.4 has significantly changed its installation process, no longer supporting the web install wizard. This shift requires users to rely on command line interfaces for installation, a challenge particularly for those unaccustomed to such environments. Attention to deploying Magento 2.4 with Elasticsearch on a live server, specifically on Ubuntu OS (versions 16.04 or 23.10).<\/p>\n","protected":false},"author":35,"featured_media":40544,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"MSN_Categories":"Uncategorized","MSN_Publish_Option":false,"MSN_Is_Local_News":false,"MSN_Is_AIAC_Included":"Empty","MSN_Location":"[]","MSN_Add_Feature_Img_On_Top_Of_Post":false,"MSN_Has_Custom_Author":false,"MSN_Custom_Author":"","MSN_Has_Custom_Canonical_Url":false,"MSN_Custom_Canonical_Url":"","_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[78],"tags":[],"class_list":{"0":"post-4427","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-magento"},"modified_by":"Marketing EmizenTech","featured_image_src":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/Magento-2.4-Installation-with-Elasticsearch--600x400.jpg","featured_image_src_square":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-content\/uploads\/sites\/2\/2020\/08\/Magento-2.4-Installation-with-Elasticsearch--600x408.jpg","author_info":{"display_name":"Amit Samsukha","author_link":"https:\/\/multisitelocal.ezxdemo.com\/blog\/author\/amit"},"_links":{"self":[{"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/posts\/4427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/comments?post=4427"}],"version-history":[{"count":0,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/posts\/4427\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/media\/40544"}],"wp:attachment":[{"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/media?parent=4427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/categories?post=4427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/tags?post=4427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}