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)
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”.
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.
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
2. Type the command cd [the folder containing the Magento archive]
3. Type the command ls to list all the files in that folder.
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-43.zip -d magento2
*magento2 is the folder that’ll contain the unzipped files after the unzip procedure.
6. Unzip the archive
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.)
8. Access to the web server’s docroot and create the 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 192.168.100.222 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
Step 4: Click Start Readiness Check
Step 5: Add a Database
Enter all the following required information about the database
Step 6: Web Configuration
- Enter the following information:
- Your Store Address: http://www.example.com
- Magento Admin Address: Enter the relative URL by which to access the Magento Admin. e.g: secret, backend
- Then click Next
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.
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
Having completed all previous steps in the Setup Wizard, click Install Now.
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.