How to Install Magento
Magento is an open source; e-commerce setup built using the PHP programming language. The software and the related setup were initially developed by Varien Inc. (US based company). The initial release was on 31st March 2008, with stable release 2.3.0 (as of Nov 2018). Apart from PHP, Magento employs MySQL, MariaDB (an RDBMS system) and also ZEND framework.
Magento provides two distinct platforms for operations namely
- Magento Open source, this was previously known as the community edition
- Magento commerce, this was earlier known as the enterprise edition
The community edition is free of cost, built with multiple features. Since this is an open-source any user can extend its functionality with the new plug-in.
Enterprise edition unlike community is not free, but have some more and advanced features built. Designed for large business infrastructure requirement, Magento enterprise edition comes with installation support, technical support, usage policy, and troubleshooting.
Steps to Install Magento
Before we start on how to install Magento discussion, let see what XAMPP, why do we need this to install Magento?
XAMPP is a kind of software using which a user can develop a local web development setup. This software converts our PC into a server. To make this definition more relatable let’s see one scenario
“Mr. A has done with some web development coding after a couple of stressful months. Now what?
So, he needs a server to host and see how the development looks like and what can be the changes or correction needed before the final go. In this case, Mr. A needs localhost, which means a place where he can see his work.”
XAMPP provides this platform and with this, a user can transfer the coding and data to reflect in localhost server.
System requirement for Magento setup, Navigate to this link, we have also presented the screen related to system requirement.
Just select the version that you want to install and a detailed list of technical requirements like
- Memory management
- Web servers (apache version details)
- PHP version will be available.
Now go to Google.com and type “Magento 2 download” you will get a number of download links, prefer the Magento official website. Here it is –
Now comes the download page
If you scroll down to the above-mentioned page you will see some download setup details –
- Full release with sample data
- Full release with no data
After you select the zip file click on the ‘Download’ button, this will make a screen pop-out on your screen –
If you have already made an account in Magento use those login credentials if not click the ‘Create an Account” button. Once the download is complete the open the location directory.
Once the Magento zip file is available, copy the file to your XAMPP folder, let’s see –
In the above image, we can see, there is a XAMPP folder and in the folder, there is ‘htdocs’ folder. We have to copy the download file of Magento in this htdocs folder.
After extraction normal folder will be available, you just have to rename it (to easily differentiate from rest). Here it is –
Now, move to the localhost server (MyPhp server) page to create the database. Here also you have to rename the newly created database as ‘magento2’. Let’s see via screen –
Now your database is created. Navigate to localhost2 –
For the serac result of localhost/magento2 (created and named by the user), you will get your server details screen. Let’s witness the screen –
Only the setup screen is left from here onwards. Note for users if this you arrive at this screen means you have the only setup left before the actual Magento usage begins. Now, a user has to click on “Agree and Setup Magento” button and the setup page will appear –
A user has to follow the above steps sequentially – the first one is “Readiness Check”
You have to click on the “Start Readiness Check” button, here the system does a thorough check of the requirements, environments of PHP, related extensions and permissions.
If you have all the updated requirements you will get the below screen to move to the next step
With this click on the “Next” button, you will get database screen
A user has to fill the database details –
- Database Server Host – by default the name is localhost
- Database server name – you have to mention your server username, the one you got while creating the signup in Magento
- Password filed is blank /(by default) – a user has to fill the password details while signup into Magento
- Database Name – we have created the magento2 and have to select the same to move ahead
- Table prefix – is an optional configuration and should not be filled if you have some specific need.
Now a user has to click on the ‘Next’ button to move in the configuration steps. Next comes is the ‘Web Configuration’ page. Here a user has to mention his store address (means the address that drives customers to your business). You also have to mention one ‘Admin’ password. Since every page has an admin for final changes to reflect in the front store location. Provide a suitable password in the password field and click “Next”.
Now a user will get ‘Customize store’ screen lets see this below –
Customize your store by providing details like
- Time Zone
- Currency details
- Language preferred
We do not have to make any changes in this screen, let the default value stored in it and click the ‘Next’ button.
You will land in the ‘Create Admin Account’ page. Provide admin details –
- Username – must be between 1 to 40 character long
- New Email –emails must be genuine for verification
- New password and confirm password before you install Magento
Once you click the INSTALL button, installation begins.
Once the installation is complete, you have to log in to your admin account to make the e-commerce business launch.
This has been a guide on How to Install Magento. Here we have discussed the different Steps to install Magento. You may also look at the following articles to learn more –