The Complete Guideline To Install Magento 2

Magento 2 is widely acknowledged as one of the most robust e-Commerce platforms. With all innovations revolving around this version, it has grown robustly and gained trust and satisfaction from millions of online merchants all across the globe. If you are new to e-Commerce and want to start up your online business with Magento 2, or you are already on the track and simply want to experience something different and good, this guideline is especially made for you to take a 360 degree view of establishing a brand new Magento 2 store.

In this article, LitExtension will carefully illuminate the procedure to install Magento 2. Come along with us to see!

Prerequisites To Install Magento 2

Among several ways to install Magento 2, I suggest you use the most popualr way, which I will discuss further below. Before you start to install Magento 2, make sure you’ve done all of the following:

Download Magento Software Market

Access Magento Download Resource and pick up either the software or the software and sample data:

Magento-CE-<version>.* (without sample data)

Magento-CE-<version>+Samples.* (with sample data)

Install Magento 2
Download Magento 2

In this tutorial, I use version 2.2.1 to actualize the setup process of install Magento 2.

Set up FTP

FTP (file transfer protocol) is an approach to migrate files from your computer to your managed server. You will need an FTP account to access the managed public_html server directory in order to transfer the Magento 2 archive. Probably you have had an account already. If not, you should consult the documentation or technical support of your shared hosting provider for additional information. Now you need to install and configure a file transfer protocol (FTP) to move the Magento 2 archive from your computer to your server.

There are some available ways that we highly recommend you to use:

Transfer Magento Archive To Your Hosted System With FileZilla

Step 1: Log in to your managed server

Choose Protocol, enter “Host”, “Account” and “Password”.

Install Magento 2
Login SSH

You can use FTP account or SSH account.

Step 2: Browse to the folder that you want to locate the Magento 2 archive on your local system. Transfer the archive from your local system to the public_html directory.

Locate Magento 2 archive on your local system by clicking right, then click “Upload” to the folder /usr/local/ampps/testers/marketing/dat.

transfer archive from local system to public html
Transfer the Magento Archive to the Local Server
transfer archive from local system to public html
The Magento Archive is Now Located on the Local Server

Step 3: Extract the archive

Having moved the the archive to your host system, login SSH to extract it. You can use PuTTY on Windows or SSH command in linux based systems.

1. Log in SSH

Log in SSH

Enter “Host”, “Account” and “Password

2. Type the command cd [the folder containing the Magento archive]

3. Type the command ls to list all the files in that folder.

type command to list all files in folder
Pointing Command Lines to the Magento Archives

4. Type the command cd./ [the folder consisting of the Magento 2 archive]

5. Type the command unzip Magento-CE-2.2.11–2020–01–24–04–50– -d magento2

*magento2 is the folder that’ll contain the unzipped files after the unzip procedure.

unzip archive
Unzip the Archive

6. Unzip the archive

the file is being unzipped
The File is Being Unzipped

7. Type the command chmod -R 777 var pub generated to change the permission for those folders. You may get exception printing error if you do not change the permissions.

(Note: this command is for testing store only and not recommended for live environment. For the sake of utmost security, please follow this guideline.)

change permissions for the unzipped folder
Change Permissions for the Unzipped Folder

8. Access to the web server’s docroot and create the database.

login phpMyadmin
Login phpMyadmin

9. Enter required information then click “Create”

create database
Create Database

Running Setup Wizard

The Setup Wizard gives you the permission to enable or disable modules before you install the Magento software. It is a multi-page wizard that enables you to go back and forward one page at a time. You cannot skip pages, and you must enter all required information on every page before proceeding to the next page.

Step 1: Start A Web Browser

Step 2: Enter the following URL in the browser’s address or location bar:

http://<Magento host or IP>/<path to Magento root>/setup

For example, the Magento server’s IP address we use is and you installed Magento 2 in the magento2/ directory relative to the web server’s docroot, enter:

Step 3: On the initial page, click Agree and Set Up Magento

magento setup Wizard
Magento Setup Wizard

Step 4: Click Start Readiness Check

readiness check
Readiness Check

Step 5: Add a Database

Enter all the following required information about the database

Add a database
Database Adding

Step 6: Web Configuration

  • Enter the following information:
  • Your Store Address:
  • Magento Admin Address: Enter the relative URL by which to access the Magento Admin. e.g: secret, backend
  • Then click Next
Web Configuaraion
Web Configuration

Step 7: Customize Your Store

  • From the Store Default Time Zone list, click the name of your store’s time zone.
  • In the Store Default Currency list, click the default currency to use in your store.
  • From the Store Default Language list, click the default language to use in your store.
  • Expand Advanced Modules Configuration to optionally enable or disable modules before you install the Magento software.
Store Customization
Store Customization

For individual modules, Skip Dependency Test with precaution. We would suggest against it because you manually modified the deployment configuration, and this is a typical reason for the error to happen. It is not recommended to edit the deployment configuration because future updates of the Magento software can reverse your changes.

Step 8: Create Admin Account

Enter admin information below:

  • New Username
  • New E-Mail
  • New Password
  • Confirm Password
  • Then click Next
create admin account
Create Admin Account

Step 9: Installation

Having completed all previous steps in the Setup Wizard, click Install Now.

installation completed
Installation Completed

Click Launch Magento Admin to see the frontend and backend to see the result.


Video Tutorial

To take a more detail-oriented look at the process, we have made a full-step installation video. Hope you’ll find this helpful!


If you are looking for a solution to set up your store with Magento 2, especially those who have interest in Magento 2 Upgrade, then we believe that this guideline is best designated for you to set forth on building up your store on this robust platform. In comparison with other popular platforms, Magento 2 seemingly outperforms most of them since it provides features of scalability and improved performance along with security and maintenance. That’s probably one of the reasons why merchants are flocking to Magento 2 recently, based on our recent report. Consider several popular migrations to Magento:

Beside, if you are an existing user of Magento then you have any interest in upgrading to Magento 2, you can try Magento to Magento migration provided by LitExtension. The new version of Magento is ultra-fast, secure and more reliable and really worth upgrading. Let’s explore the features of the advancing platform by migration to Magento 2 with LitExtension.

We hope this article is as lucid as it should be. If you have any questions regarding it, please let us know at or directly talk to our live chat supporters at LitExtension.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Our Automated Shopping Cart Migration Service helps you move your online store to a better e-commerce platform with ease. Learn more at