Magento 2 demo with sample data and admin access

Following our last blog on how to install Magento 2 developer version, today we would like to show you how to install Magento 2 demo with sample data and admin access.

Our demo site for Magento 2 is ready for testing. You can access with the following details and please note that the site will be reset after every 12 hour.

Magento 2 - Demo with sample data

Magento 2 -- Demo with sample data

View Demo Admin URL

Username : uber Password : uber123

I. System requirements

Before you install Magento 2, make sure your system meets or exceeds the following requirements:

  • Operating systems : Linux distributions such as RedHat Enterprise Linux (RHEL), CentOS, Ubuntu, Debian, and so on
  • Composer (latest stable version)
  • Apache 2.2 or later
  • PHP 5.4.11 or 5.5.x
  • Required PHP extensions:
    • PDO/MySQL
    • mbstring
    • mcrypt
    • mhash
    • simplexml
    • curl
    • gd2, ImageMagick 6.3.7 (or later) or both
    • soap
  • MySQL 5.6.x
  • Mail Transfer Agent (MTA) or an SMTP server
  • Optional but recommended:
    • php_xdebug2.2.0 or later (development environments only; can have an adverse effect on performance)
    • PHPUnit (as a command-line tool) 4.1 or later

II.How to install

When you are done with verifying your prerequisites, follow the steps below to install Magento 2.

1. Install composer

You can use Composer to install Magento 2. It is a tool for dependent management in PHP which allows you to declare the dependent libraries your project needs and install them for you. Composer enables you to manage Magento 2, extensions, and their dependencies.

Here are the key advantages for using Composer:

  • Easy to integrate third-party components into the code base
  • Component-based architecture with robust dependency management
  • Reduce extension conflicts and compatibility issues
  • Versioned dependencies, semantic versioning
  • Supports PHP Framework Interoperability standards
  • An alternative to Pear packaging system

Now, download Composer and run its latest version. For more details on further configuration when installing composer, please visit this Composer installation documentation.

Follow the 6 steps below to start Composer installation

Step 1 : Composer Setup

Magento 2.0 (alpha) - Installation guide

Step 2 : Select Composer

Magento 2.0 (alpha) - Installation guide

Step 3 : Check PHP and path settings

...

Step 4 : Ready to install

...

Step 5 : Turn off all window explorer and retry

...

...

Step 6 : Finish

...

 

 

2. Get Magento 2 installation package

Option 1:

Here is how you clone the Magento 2 GitHub repository:

  1. Change to your web server’s docroot directory.
  2. Enter commands to write to the web server docroot as document guide. Make sure you have correct access rights and the repository exists.
  3. Wait for the repository to clone on your server.

In case you get an error that includes Permission denied (publickey), see Troubleshooting.

Option 2:
  1. Download Magento 2 package
  2. Enter commands to write to the web server docroot as document guide
  3. Unzip the package on your web server’s docroot directory.

3. Update media file

  1. Download media file
  2. Unzip and copy paste on sub folder pub as image below

Magento2- Media folder

Magento2- Media folder

 

4.Install/reinstall Magento 2

4.1 Change file system permissions and ownership before installation

To make sure the installation completes successfully, we suggest the following file system permissions and ownership:

  • All files and directories owned by the web server user.
  • Certain directories must be writable.
4.2 Update Composer and run the installer

After you are done with updating the file system permissions and ownership, go onto update Composer and run the installer:

Open Command Prompt on Windows, then update composer on Magento 2 root folder as follow:

Update or install composer on Root Folder

4.3 Create Data Base
  1. Download sample data of Magento 2
  2. Open PHPmyadmin, then create Data base for Magento 2
  3. Import sample data which you download on step 1

Create Database

Import Database

4.4. Magento installation
You must install Magento from its setup subdirectory.

Follow the 7 steps below to start your Magento installation

Step 1 : Agree and Setup

...

Step 2 : Verify System requirements

...

Step 3 : Verify System requirements (cont)

...

Step 4 : Data Base configuration

...

Step 5 : Web Configuration

...

Step 6 : Configure Language, Time zone and Currency

...

Step 7 : Create admin Account

...

Step 8 : Install & Finish

...

 

And now, your demo site for Magento 2 is ready. For further reference, view our Magento 2 demo site and backend here.Please note that the site will be reset after every 12 hour

View Demo Admin URL

Username : uber Password : uber123

Related Articles :

Written By

Biz & Operations Ubertheme.com & Joomlart.com

Comments
  • Stanislav Golodov

    Demo crashes at catalog pages
    http://magento2.demo.ubertheme.com/sale.html

  • Hi, please upgrade to latest Magento 2 beta version. Your Magento 2 version has serious security bug which allows anyone to access any customer’s address and edit them. For more details, check this: http://ka.lpe.sh/2015/03/28/magento-2-security-bug/

  • Would it be to much to ask to share your Magento demo site (ftp files and database file) so I can duplicate it on my own server? A fresh Magento 2 install was not that hard but I have wasted about 10 hours for the sample data and I just can’t get it in…

  • Yura Khlon

    Hi! I can’t access backend with your login and password.

    • Aneesh Jajodia

      Same here.

  • Hien Duc Huynh

    Thanks your reporting.
    The demo is working fine now with magento 2 version 1.0.0 beta.

  • Magento Developer

    Thanks for sharing.

    If you are trying to install Magento 2 on Mackbook (MEMP stack) using composer, here is another descriptive article:

    http://www.blog.magepsycho.com/magento-2-installation-on-memp-mac-os-x-nginx-mysql-php-fpm-stack/

  • Thanks for settings this up, I’m thinking to set one up myself too ๐Ÿ™‚

  • asad app

    USA yellow pages http://ypagesonline.com

  • Ania

    Hello guys,
    Thank you for this demo! It seems that the password has expired :/

    • Thanks @ania,
      We have just fixed the demo, you should log in as normal now.
      Please note, apart from the uber/uber@123 account, you can also access three other Magento 2 extension admin (UB Mega Menu, UB Content Slider and UB Quick View).

      If you’re interested, the credentials to access each single demo is noted here: http://magento2.demo.ubertheme.com

      Cheers,
      Ubertheme Team

  • Julien

    Is there any Docker or Vagrant setup available for an out of the box Magento 2 demo installation?

    • Thanks for stopping by @Julien.
      It’s pity the Docker or Vagrant setup is not in place yet. The demo instance in our above post is a simple deployment where you can have a quick preview of Magento 2, as well as our Magento 2 extensions.
      Regards,
      Ubertheme team

      • Julien

        No worries, and thank you for providing an easily accessible Magento 2 instance!

  • Gireesh Kumar

    Getting error like

    Readiness Check
    Add a Database
    Web Configuration
    Customize Your Store
    Create Admin Account
    Install
    Step 6: Install
    Installing… 0%
    Installation is incomplete.
    Check the console log for errors before trying again.
    Starting Magento installation:
    File permissions check…

    Required extensions check…

    Enabling Maintenance Mode…

    Installing deployment configuration…

    Installing database schema:
    Schema creation/updates:
    Module ‘Magento_Store’:
    Installing schema…
    [ERROR]
    PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062
    Duplicate entry ‘0’ for key ‘PRIMARY’ in
    D:wampwwwmagentovendormagentozendframework1libraryZendDbStatementPdo.php:228
    Stack
    trace:
    #0
    D:wampwwwmagentovendormagentozendframework1libraryZendDbStatementPdo.php(228):
    PDOStatement->execute(Array)
    #1
    D:wampwwwmagentolibinternalMagentoFrameworkDBStatementPdoMysql.php(95):
    Zend_Db_Statement_Pdo->_execute(Array)
    #2
    D:wampwwwmagentovendormagentozendframework1libraryZendDbStatement.php(303):
    MagentoFrameworkDBStatementPdoMysql->_execute(Array)
    #3
    D:wampwwwmagentovendormagentozendframework1libraryZendDbAdapterAbstract.php(480):
    Zend_Db_Statement->execute(Array)
    #4
    D:wampwwwmagentovendormagentozendframework1libraryZendDbAdapterPdoAbstract.php(238):
    Zend_Db_Adapter_Abstract->query(‘INSERT INTO `st…’, Array)
    #5
    D:wampwwwmagentolibinternalMagentoFrameworkDBAdapterPdoMysql.php(494):
    Zend_Db_Adapter_Pdo_Abstract->query(‘INSERT INTO `st…’, Array)
    #6
    D:wampwwwmagentolibinternalMagentoFrameworkDBAdapterPdoMysql.php(556):
    MagentoFrameworkDBAdapterPdoMysql->_query(‘INSERT INTO `st…’,
    Array)
    #7
    D:wampwwwmagentovendormagentozendframework1libraryZendDbAdapterAbstract.php(576):
    MagentoFrameworkDBAdapterPdoMysql->query(‘INSERT INTO `st…’,
    Array)
    #8
    D:wampwwwmagentolibinternalMagentoFrameworkDBAdapterPdoMysql.php(1833):
    Zend_Db_Adapter_Abstract->insert(‘store_website’, Array)
    #9
    D:wampwwwmagentoappcodeMagentoStoreSetupInstallSchema.php(248):
    MagentoFrameworkDBAdapterPdoMysql->insertForce(‘store_website’,
    Array)
    #10
    D:wampwwwmagentosetupsrcMagentoSetupModelInstaller.php(843):
    MagentoStoreSetupInstallSchema->install(Object(MagentoSetupModuleSetup),
    Object(MagentoSetupModelModuleContext))
    #11
    D:wampwwwmagentosetupsrcMagentoSetupModelInstaller.php(779):
    MagentoSetupModelInstaller->handleDBSchemaData(Object(MagentoSetupModuleSetup),
    ‘schema’)
    #12 [internal function]:
    MagentoSetupModelInstaller->installSchema()
    #13
    D:wampwwwmagentosetupsrcMagentoSetupModelInstaller.php(344):
    call_user_func_array(Array, Array)
    #14
    D:wampwwwmagentosetupsrcMagentoSetupControllerInstall.php(109):
    MagentoSetupModelInstaller->install(Array)
    #15
    D:wampwwwmagentovendorzendframeworkzend-mvcsrcControllerAbstractActionController.php(82):
    MagentoSetupControllerInstall->startAction()
    #16 [internal function]:
    ZendMvcControllerAbstractActionController->onDispatch(Object(ZendMvcMvcEvent))
    #17

    D:wampwwwmagentovendorzendframeworkzend-eventmanagersrcEventManager.php(444):
    call_user_func(Array, Object(ZendMvcMvcEvent))
    #18
    D:wampwwwmagentovendorzendframeworkzend-eventmanagersrcEventManager.php(205):
    ZendEventManagerEventManager->triggerListeners(‘dispatch’,
    Object(ZendMvcMvcEvent), Object(Closure))
    #19
    D:wampwwwmagentovendorzendframeworkzend-mvcsrcControllerAbstractController.php(118):
    ZendEventManagerEventManager->trigger(‘dispatch’,
    Object(ZendMvcMvcEvent), Object(Closure))
    #20
    D:wampwwwmagentovendorzendframeworkzend-mvcsrcDispatchListener.php(93):

    ZendMvcControllerAbstractController->dispatch(Object(ZendHttpPhpEnvironmentRequest),
    Object(ZendHttpPhpEnvironmentResponse))
    #21 [internal function]:
    ZendMvcDispatchListener->onDispatch(Object(ZendMvcMvcEvent))
    #22
    D:wampwwwmagentovendorzendframeworkzend-eventmanagersrcEventManager.php(444):
    call_user_func(Array, Object(ZendMvcMvcEvent))
    #23
    D:wampwwwmagentovendorzendframeworkzend-eventmanagersrcEventManager.php(205):
    ZendEventManagerEventManager->triggerListeners(‘dispatch’,
    Object(ZendMvcMvcEvent), Object(Closure))
    #24
    D:wampwwwmagentovendorzendframeworkzend-mvcsrcApplication.php(314):
    ZendEventManagerEventManager->trigger(‘dispatch’,
    Object(ZendMvcMvcEvent), Object(Closure))
    #25 D:wampwwwmagentosetupindex.php(31):
    ZendMvcApplication->run()
    #26 {main}

    Next Zend_Db_Statement_Exception: SQLSTATE[23000]: Integrity constraint
    violation: 1062 Duplicate entry ‘0’ for key ‘PRIMARY’, query was: INSERT
    INTO `store_website` (`website_id`, `code`, `name`, `sort_order`,
    `default_group_id`, `is_default`) VALUES (?, ?, ?, ?, ?, ?) in
    D:wampwwwmagentovendormagentozendframework1libraryZendDbStatementPdo.php:235
    Stack
    trace:
    #0
    D:wampwwwmagentolibinternalMagentoFrameworkDBStatementPdoMysql.php(95):
    Zend_Db_Statement_Pdo->_execute(Array)
    #1
    D:wampwwwmagentovendormagentozendframework1libraryZendDbStatement.php(303):
    MagentoFrameworkDBStatementPdoMysql->_execute(Array)
    #2
    D:wampwwwmagentovendormagentozendframework1libraryZendDbAdapterAbstract.php(480):
    Zend_Db_Statement->execute(Array)
    #3
    D:wampwwwmagentovendormagentozendframework1libraryZendDbAdapterPdoAbstract.php(238):
    Zend_Db_Adapter_Abstract->query(‘INSERT INTO `st…’, Array)
    #4
    D:wampwwwmagentolibinternalMagentoFrameworkDBAdapterPdoMysql.php(494):
    Zend_Db_Adapter_Pdo_Abstract->query(‘INSERT INTO `st…’, Array)
    #5
    D:wampwwwmagentolibinternalMagentoFrameworkDBAdapterPdoMysql.php(556):
    MagentoFrameworkDBAdapterPdoMysql->_query(‘INSERT INTO `st…’,
    Array)
    #6
    D:wampwwwmagentovendormagentozendframework1libraryZendDbAdapterAbstract.php(576):
    MagentoFrameworkDBAdapterPdoMysql->query(‘INSERT INTO `st…’,
    Array)
    #7
    D:wampwwwmagentolibinternalMagentoFrameworkDBAdapterPdoMysql.php(1833):
    Zend_Db_Adapter_Abstract->insert(‘store_website’, Array)
    #8
    D:wampwwwmagentoappcodeMagentoStoreSetupInstallSchema.php(248):
    MagentoFrameworkDBAdapterPdoMysql->insertForce(‘store_website’,
    Array)
    #9 D:wampwwwmagentosetupsrcMagentoSetupModelInstaller.php(843):

    MagentoStoreSetupInstallSchema->install(Object(MagentoSetupModuleSetup),
    Object(MagentoSetupModelModuleContext))
    #10
    D:wampwwwmagentosetupsrcMagentoSetupModelInstaller.php(779):
    MagentoSetupModelInstaller->handleDBSchemaData(Object(MagentoSetupModuleSetup),
    ‘schema’)
    #11 [internal function]:
    MagentoSetupModelInstaller->installSchema()
    #12
    D:wampwwwmagentosetupsrcMagentoSetupModelInstaller.php(344):
    call_user_func_array(Array, Array)
    #13
    D:wampwwwmagentosetupsrcMagentoSetupControllerInstall.php(109):
    MagentoSetupModelInstaller->install(Array)
    #14
    D:wampwwwmagentovendorzendframeworkzend-mvcsrcControllerAbstractActionController.php(82):
    MagentoSetupControllerInstall->startAction()
    #15 [internal function]:
    ZendMvcControllerAbstractActionController->onDispatch(Object(ZendMvcMvcEvent))
    #16

    D:wampwwwmagentovendorzendframeworkzend-eventmanagersrcEventManager.php(444):
    call_user_func(Array, Object(ZendMvcMvcEvent))
    #17
    D:wampwwwmagentovendorzendframeworkzend-eventmanagersrcEventManager.php(205):
    ZendEventManagerEventManager->triggerListeners(‘dispatch’,
    Object(ZendMvcMvcEvent), Object(Closure))
    #18
    D:wampwwwmagentovendorzendframeworkzend-mvcsrcControllerAbstractController.php(118):
    ZendEventManagerEventManager->trigger(‘dispatch’,
    Object(ZendMvcMvcEvent), Object(Closure))
    #19
    D:wampwwwmagentovendorzendframeworkzend-mvcsrcDispatchListener.php(93):

    ZendMvcControllerAbstractController->dispatch(Object(ZendHttpPhpEnvironmentRequest),
    Object(ZendHttpPhpEnvironmentResponse))
    #20 [internal function]:
    ZendMvcDispatchListener->onDispatch(Object(ZendMvcMvcEvent))
    #21
    D:wampwwwmagentovendorzendframeworkzend-eventmanagersrcEventManager.php(444):
    call_user_func(Array, Object(ZendMvcMvcEvent))
    #22
    D:wampwwwmagentovendorzendframeworkzend-eventmanagersrcEventManager.php(205):
    ZendEventManagerEventManager->triggerListeners(‘dispatch’,
    Object(ZendMvcMvcEvent), Object(Closure))
    #23
    D:wampwwwmagentovendorzendframeworkzend-mvcsrcApplication.php(314):
    ZendEventManagerEventManager->trigger(‘dispatch’,
    Object(ZendMvcMvcEvent), Object(Closure))
    #24 D:wampwwwmagentosetupindex.php(31):
    ZendMvcApplication->run()
    #25 {main}

    Next MagentoFrameworkDBAdapterDuplicateException: SQLSTATE[23000]:
    Integrity constraint violation: 1062 Duplicate entry ‘0’ for key
    ‘PRIMARY’, query was: INSERT INTO `store_website` (`website_id`, `code`,
    `name`, `sort_order`, `default_group_id`, `is_default`) VALUES (?, ?,
    ?, ?, ?, ?) in
    D:wampwwwmagentolibinternalMagentoFrameworkDBAdapterPdoMysql.php:530
    Stack
    trace:
    #0
    D:wampwwwmagentolibinternalMagentoFrameworkDBAdapterPdoMysql.php(556):
    MagentoFrameworkDBAdapterPdoMysql->_query(‘INSERT INTO `st…’,
    Array)
    #1
    D:wampwwwmagentovendormagentozendframework1libraryZendDbAdapterAbstract.php(576):
    MagentoFrameworkDBAdapterPdoMysql->query(‘INSERT INTO `st…’,
    Array)
    #2
    D:wampwwwmagentolibinternalMagentoFrameworkDBAdapterPdoMysql.php(1833):
    Zend_Db_Adapter_Abstract->insert(‘store_website’, Array)
    #3
    D:wampwwwmagentoappcodeMagentoStoreSetupInstallSchema.php(248):
    MagentoFrameworkDBAdapterPdoMysql->insertForce(‘store_website’,
    Array)
    #4 D:wampwwwmagentosetupsrcMagentoSetupModelInstaller.php(843):

    MagentoStoreSetupInstallSchema->install(Object(MagentoSetupModuleSetup),
    Object(MagentoSetupModelModuleContext))
    #5 D:wampwwwmagentosetupsrcMagentoSetupModelInstaller.php(779):

    MagentoSetupModelInstaller->handleDBSchemaData(Object(MagentoSetupModuleSetup),
    ‘schema’)
    #6 [internal function]:
    MagentoSetupModelInstaller->installSchema()
    #7 D:wampwwwmagentosetupsrcMagentoSetupModelInstaller.php(344):
    call_user_func_array(Array, Array)
    #8
    D:wampwwwmagentosetupsrcMagentoSetupControllerInstall.php(109):
    MagentoSetupModelInstaller->install(Array)
    #9
    D:wampwwwmagentovendorzendframeworkzend-mvcsrcControllerAbstractActionController.php(82):
    MagentoSetupControllerInstall->startAction()
    #10 [internal function]:
    ZendMvcControllerAbstractActionController->onDispatch(Object(ZendMvcMvcEvent))
    #11

    D:wampwwwmagentovendorzendframeworkzend-eventmanagersrcEventManager.php(444):
    call_user_func(Array, Object(ZendMvcMvcEvent))
    #12
    D:wampwwwmagentovendorzendframeworkzend-eventmanagersrcEventManager.php(205):
    ZendEventManagerEventManager->triggerListeners(‘dispatch’,
    Object(ZendMvcMvcEvent), Object(Closure))
    #13
    D:wampwwwmagentovendorzendframeworkzend-mvcsrcControllerAbstractController.php(118):
    ZendEventManagerEventManager->trigger(‘dispatch’,
    Object(ZendMvcMvcEvent), Object(Closure))
    #14
    D:wampwwwmagentovendorzendframeworkzend-mvcsrcDispatchListener.php(93):

    ZendMvcControllerAbstractController->dispatch(Object(ZendHttpPhpEnvironmentRequest),
    Object(ZendHttpPhpEnvironmentResponse))
    #15 [internal function]:
    ZendMvcDispatchListener->onDispatch(Object(ZendMvcMvcEvent))
    #16
    D:wampwwwmagentovendorzendframeworkzend-eventmanagersrcEventManager.php(444):
    call_user_func(Array, Object(ZendMvcMvcEvent))
    #17
    D:wampwwwmagentovendorzendframeworkzend-eventmanagersrcEventManager.php(205):
    ZendEventManagerEventManager->triggerListeners(‘dispatch’,
    Object(ZendMvcMvcEvent), Object(Closure))
    #18
    D:wampwwwmagentovendorzendframeworkzend-mvcsrcApplication.php(314):
    ZendEventManagerEventManager->trigger(‘dispatch’,
    Object(ZendMvcMvcEvent), Object(Closure))
    #19 D:wampwwwmagentosetupindex.php(31):
    ZendMvcApplication->run()
    #20 {main}