How-to-install-Magento2_option_02Magento 2 Installation

PreChecks:
Make sure you should check following things on your server.

  1. Technology stack requirements
  2. Prerequisites

Major Requirements are mentioned below :

Operating system Linux x86-64
RAM 2GB (minimum)
WEB-Server Apache 2.2 or 2.4

-or-

Nginx 1.x

Database MySQL 5.6 or 5.7
PHP Version 7.0.6 or 7.0.7
Required PHP extensions ctype
curl
dom
gd
intl
mbstring
mcrypt
hash
openssl
PDO/MySQL
SimpleXML
soap
spl
libxml
xsl
zip
json
iconv

there are 3 methods from which we can install Magento2.x

  1. Install via COMPOSER
  2. Install via archive ZIP
  3. Install via GIT

Install Magento 2 via COMPOSER

Check all prerequisites meets the requirement, & get your authentication keys from here.
Now Login into your server and go to your web-root directory

get Magento software using the following command

You will be asked to authenticate now. Enter Public Key into Username & Private Key into Password.
This command will download Magento’s code into mentioned magento2 folder within the command.
Magento 2 Core Code is into vendor, so its possible to update via Admin Interface.

Now you can install Magento via WebSetup by visiting your Magento2URL  into Browser

Install Magento 2 via archive file

Download latest or required Magento version from here, and extract to your Magento installation directory.
Install Magento via WebSetup by visiting your Magento2URL into Browser.

Magento 2 Core Code is into vendor, so its possible to update via Admin Interface.

Install Magento 2 via GIT

its all about developers. and we love it.

there are 3 steps Clone, update composer dependency & install

Goto your web-root directory & clone Magento2 repo via

after clone run install composer dependencies via

Magento 2 Core Code is into app/code folder, so it’s not possible to update via Admin Interface.

 

How to install Magento 2.x

Comments

comments