21.08.15

How to install Magento 2

3.5/5 - (2 votes)

The fourth quarter of 2015 is coming! If we stick to Magento team’s timeline, Magento 2 is available to merchants at the end of this year!

However this article may be not for you, traders 1f609! Here is Magento 2 installation guideline for developers, which consists of three basic steps. To follow this tutorial, you must be comfortable working with these tools/solutions below:

  • Apache2
  • PHP
  • Git
  • MySQL

Need help?

If you are unfamiliar with Magento installation and you need supports, do not hesitate to contact our Magento experts: Contact Sutunam

Step 1 – The prerequisites to install Magento 2

Please ensure you have these following components installed:

Prerequisites                                                                     How to check

Apache 2.2 or 2.4                                                                 apache2 -v

PHP 5.5.x or 5.6.x                                                                php -v

MySQL 5.6.x mysql -u                                                          mysql -u [root user name] -p

Step 2 – Prepare the installation

Once you have the prerequisites, you must do: 2.1 Install Composer and 2.2 Clone the Magento 2 GitHub repository

2.1 Install Composer

Make sure you have already installed Composer

composer --help

If the command returns something, it’s would be good and you can move to step 2.2

Install Composer: 

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

2.2 Clone the Magento 2 GitHub repository

Create a clone of Magento 2 GitHub repository using HTTPS protocols:

Find the URL on Magento 2 GitHub: https://github.com/magento/magento2

magento2 installation clone https URL

Run commands with the latest URL GitHub branch

cd /var/www
git clone https://<your GitHub user name>:<your password>@github.com/magento/magento2.git

Step 3 – Install Magento 2

Create the folder in which the Magento Instance will be installed.

Start Composer install with command line:

cd /var/www/magento2 && composer install

Enter the Wizard Magento via your browser

http://<Magento hostname ou IP>/setup

In our case: magento2.sutunam.com

Follow these clear steps would be useful 1f609

steps installing magento 2

About Tanguy R

Tanguy leads Sutunam with a simple conviction: most digital projects fail before a line of code gets written, because nobody took the time to understand the business first. With 15 years spent connecting systems, building eCommerce platforms and untangling ERP integrations across Lyon and Hanoï, he's as comfortable diagnosing a messy workflow as he is scoping an AI opportunity nobody knew to ask for. These days, he's just as focused on what's next, data sovereignty, cybersecurity, and where blockchain goes beyond crypto.