Magento 2 Sample Data Installation Guide on GNU/Linux Systems Easy Guide

April 19, 2018 | By thelinuxevangelist | Filed in: Tutorial.

You Are Welcome! The Tutorial Shows You Step-by-Step How-to Install Magento 2 Sample Data on a GNU/Linux Web Servers.

And the Magento 2 Sample Data sample data includes a Sample Store, complete with more than 250 products (about 200 of them are configurable products), categories, promotional price rules, CMS pages, banners, and so on.

Futhermore, Magento 2 Sample Data uses the Luma Theme on the storefront.

Especially Relevant: before to Install Magento Data you follow instructions on How to Switch to Developer Mode.

Magento 2 Sample Data Installation Guide on GNU/Linux - Featured
  1. 1. Installing PHP Composer

    How to Install Composer on Ubuntu GNU/Linux

    Get Composer Installation Guide
  2. 2. Accessing Web Root

    First Access Magento Site Root

    cd /[PATH2ROOT/

    It’s Depends from your Web Server Type…
    On Ubuntu like E.g.:

    cd /var/www/html/magento.local
  3. 3. Switching to Developer Mode

    This is Required prior to Data Installation

    rm -rf var/di/* var/generation/*
    bin/magento deploy:mode:set developer

    And in the Output you’ll be Confirmed by:

    Switched to developer mode
  4. 4. Making Composer Project

    Then Make a Composer Project

    composer create-project
  5. 5. Installing Sample Data

    Finally Install Magento 2 Sample Data

    php bin/magento setup:deploy
  6. 6. Updating Sample Data

    Again Update Magento 2 Database & Schema

    php bin/magento setup:upgrade
  7. So Now I’m truly Happy if this Info could Help You to Install Magento 2 Sample Data on Linux!


Tags: , , , , , , , , , , , ,