1. Home
  2. Support
  3. Installations
  4. Magento 2 Installation Guide

Magento 2 Installation Guide


With the recent implementation of PHP 5.6 & PHP 7 it is now possible to install Magento 2 on your account. This guide will walk you through the Magento 2 installation steps to get you set up quickly and hassle free.


Prerequisites

  1. Download the latest version of Magento 2. You will need to register a free account with the Magento team to get a download link.
  2. If you haven’t already, add the domain to your hosting control panel.
  3. Once downloaded, Unzip the contents of the file and upload to your domain folder via FTP.
  4. From your control panel, set the PHP version to version 5.6 or later.
  5. Create a MySQL database and user with dba permissions.

Magento 2 Installation Steps

  1. Navigate to your domain e.g. yourdomain.co.uk/setup/ and click Agree and Setup Magento.
  2. Run the Readiness Check.

  3. Please note: If you are using PHP 5.6, the following line will need to be placed at the very top of your .htaccess file

    php_value always_populate_raw_post_data -1
    

    If for some reason your domain fails the readiness check, please put in a support ticket.

  4. Click the Next button.
  5. Enter the relevant information from the database you created earlier and click the Next button.
  6. Take note of the admin URL here for later use. Alternatively you can change the URL you access the admin page from if you would like something different. Once you are happy, click the Next button.
  7. At this stage, choose any additional components you wish to install on your website. Once you have done this click the Next button.
  8. Set the admin details you wish to login to the backend of your site with. Click Next.
  9. Click the Install Now button and wait for the installation to complete

Additional Setup steps

Upon your first login to the backend of your new magento site, you may notice the following System Message


To fix this issue you will need to do the following steps:

  1. Navigate to System > Index Management
  2. Select all of the items, click the drop down menu and select Update by Schedule > Save

  3. Click to open in a new tab

  4. Set up a Crontab with the following code format
  5. 0 6 * * * /hsphere/shared/php7/bin/php-cli /hsphere/local/home/USERNAME_HERE/DOMAIN_FOLDER_HERE/bin/magento indexer:reindex >/dev/null 2>&1
    


    The above can be changed to a different interval, however increasing the frequency will result in higher resource usage

  6. Once the cron has occured, re-navigating to System > Index Management will show the following
  7. Click To open in a new tab

  8. Finally, to fix the Invalidated Page Cache. Simply select it from the left hand side, select Refresh from the drop down menu and select Submit

That’s it! Your Magento 2 site should be up and running ready for your new customers.

Was this article helpful to you? 1