Magento 2 Installation Guide

magento 2With 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 advanced fastcgi 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. magento-install-1

  3. Run the Readiness Check.
  4. magento-install-2
    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.

  5. Click the Next button.
  6. magento-install-3

  7. Enter the relevant information from the database you created earlier and click the Next button.
  8. magento-install-4

  9. 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.
  10. magento-install-5

  11. At this stage, choose any additional components you wish to install on your website. Once you have done this click the Next button.
  12. Set the admin details you wish to login to the backend of your site with. Click Next.
  13. magento-install-7

  14. Click the Install Now button and wait for the installation to complete
  15. magento-install-8

Additional Setup steps

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

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

  1. Navigate to System > Index Management
  2. magento-install-additional-2

  3. Select all of the items, click the drop down menu and select Update by Schedule > Save
  4. magento-install-additional-3
    Click to open in a new tab

  5. Set up a Crontab with the following code format
  6. 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

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

  9. 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
  10. magento-install-additional-5

That’s it! Your Magento 2 site should be up and running ready for your new customers.
For more things Magento, check out our other tips!


Rate this post 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

This entry was posted in General, Magento and tagged , . Bookmark the permalink.

Leave a Reply

Please DO NOT use this form to submit support requests, all information submitted will be PUBLICLY VISIBLE.

Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.