How to Install Magento2

By | December 9th 2018 02:05:24 AM | viewed 425 times


php 5.6 or php 7.0,7.1

MySQL 5.6, 5.7

MySQL 5.6, 5.7 and Magento is also compatible with MySQL NDB Cluster 7.4.*, MariaDB 10.0, 10.1, 10.2, Percona 5.7, and other binary-compatible MySQL technologies.

Memory requirement-require up to 2GB of RAM

Server setup:-memory_limit=2G,always_populate_raw_post_data = -1,asp_tags =off,

How to Install Magento2 from archive file

First and easiest way is to download it from Magento download page

Make a project directory like magento2115 and extract archive file within and keep the project directory in htdocs

Create a database

Browse the location http::/localhost/magento2115 and follow the installation step

In this installation Magento core code is stored under /vendor directory and updating is possible through Magento admin.

How to Install Magento 2 with Composer

Download composer.exe and install and setup php.exe file path

Check composer

D:\User\UKMODAK> composer - -version
If have message then ok

Now go to and create an account and login to get public key as username and private key as password

From the location run the following command \htdocs > composer create-project --repository-url= magento/project-community-edition=2.1.15 D:\xampp_5_6_30\htdocs\ukmmagento2115

If want user and password then enter public key and private key

If have error then check xampp php servion on composer environment path setting If ok then install

To setup magento2 browse the url:http://localhost/ukmmagento2115 and input essential info or run the command D:\xampp_5_6_30\htdocs\ukmmagento2115> php bin/magento setup:install

To setup sample data run the following command:

D:\xampp_5_6_30\htdocs\ukmmagento2115> php bin/magento sampledata:deploy
D:\xampp_5_6_30\htdocs\ukmmagento2115> php bin/magento setup:upgrade


Total : 17884

Today :12

Today Visit Country :

  • United States
  • Russia
  • Germany
  • Belarus