Installation and Configuration

This section explains how to download the virtual machine and import it in Hyper-V Manager.

  1. Download the compressed virtual machine package for the desired Magento edition, and extract it to your local drive:
    1. Magento Open Source (Community Edition)
  2. Create a Virtual Switch Manager with any name, for example “magento2”, with the below configuration:

  1. Open the Hyper-V Manager, right-click the left navigation bar, and select New - Virtual Machine:

  1. A dialog window for creating the new machine is displayed. Click Next to start the create process:

  1. Enter a name for the VM, for example “Magento VM”:

  1. In the next screen you specify a generation. Accept or select the default Generation 1:

  1. Assign a memory to the virtual machine. In this example 4096 MB RAM is assigned, but you can specify more memory to make the VM run faster. We recommend that you provide at least 16 GB RAM as the elastic search consumes a lot of memory.

  1. Next step is to connect to the network. The virtual switch that you created in step 1 is used here:

  2. The final step is to select the Virtual Machine hard disk that you downloaded from the LS Retail Portal, Ubuntu 20.04.vhdx:

  3. Click Next, and then Finish on the following screen. You will see a newly created VM in your Hyper-V window.

  4. For internet access, add a default switch in your VM:

  5. Enter the default Ubuntu login credentials, and log in to the system:

    • User name: lsomni
    • Password: admin0101

  6. Assign an IP address to your VM:

  7. Add the below IP address to your newly created switch:

  8. Toggle the On/Off button to display the changes to the IP address: 

  9. You have completed the installation.
    Tip: You can access Magento from the virtual machine by using these URLs in a browser:

    Frontend: http://192.168.137.2/

    Backend/Admin Panel: http://192.168.137.2/admin

The default admin panel credentials to login to the admin panel:

  • User name: Admin
  • Password: admin0101

Note: http://192.168.137.2/ is the default IP setup for the virtual machine. If, for some reason, you do not want to use that IP address, go to How to: Change the IP Address of the Virtual Machine to learn how to change the IP address.