$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

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

April 19, 2018 | By the+gnu+linux+evangelist.

Hi! 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.

Moreover, 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 My Guide could Help you to Install Magento 2 Sample Data on Linux!