I am going to publish a series of articles on integrating AEM with Magento, in this series the first thing which I am going to cover is the installation of Magento. I have used Installatron to install Magento in my server,  but when it comes to local environments you need to follow different steps. In this article, I am going to cover how to install Magento in the local environment, not on the server.
I am going to use XAMPP Control Panel which is an easy to install Apache, PHP, PHPMyAdmin, and MySQL. Based on your convenience you can either use XAMPP or you can install one by one.
Use this link https://www.apachefriends.org/download.html to download XAMPP Control Panel.  In the extracted folder just click on the “xampp-control” application file to start control panel. The interface of the control panel looks like below and by default it comes with a set of software’s which you can start and stop by using action buttons.
xampp
Step 1: MySQL
The Magento uses a MySQL database to store information. But it also compatible with other databases such as MariaDB 10.0, 10.1, 10.2, Percona 5.7.  If you are using XAMPP panel then you just need to go and click on the start button which is next to MySQL
Step 2: Install Apache
To setup Apache, you just need to go and click the start button which is beside the Apache.
Step 3: Magento installation
Download Magento by using below link and extract it using any software something like WinZip or WinRar. Finally, copy the extracted Magento folder and place it into the XAMPP -> htdocs folder.
For begineers I recommend you to install Magento with Sample data package
https://magento.com/tech-resources/download
Now open the browser and enter http://localhost/magento/setup to start the installation. You should see the Agreement screen, just click on the “Agree & Setup Magento” button
You need to do the readiness check, this will validate your local environment for the correct php version and extensions, etc.
readiness
 
If it finds any issues then it will report an error. You need to fix and restart the XAMPP server. generally, you will see issues on missing extensions of PHP  
readiness-1
After restarting XAMPP server, do the readiness check once again until you see the green check mark.
readiness-2
Next, you need to provide configurations of your database, the database name is the name which you created using phpmyadmin. Here it is “magento”
readiness-3
Now, change the admin URL to something else which you feel you can remember easily.
readiness-4
Next, create an admin account and click on the next button to install Magento.
readiness-5
Finally, you should see the success message. 
 
Noreadiness-6
Now, open browser and enter “http://localhost/magento” then press on enter button, you should see the below screen. If you dont install sample data then you will not see products information.
In my next article, you will see how to test GrpahQL using chrome extension before integrating with AEM. 
final
 

By coderss

Leave a Reply

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