Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

4.3.2. Creating a Virtual Machine with Virtual Machine Manager

Follow these steps to create a Red Hat Enterprise Linux 7 virtual machine on Virtual Machine Manager.

Procedure 4.2. Creating a guest virtual machine with Virtual Machine Manager

  1. Open Virtual Machine Manager

    Click ApplicationsSystem ToolsVirtual Machine Manager
    or
    Open the terminal and use the virt-manager.
  2. Create a new virtual machine

    Click to open the New VM wizard.
  3. Specify name and installation method

    In Step 1, type in a virtual machine name and choose an installation type to install the guest virtual machine's operating system.
    Name virtual machine and select installation method

    Figure 4.2. Name virtual machine and select installation method

    For this tutorial, select Local install media (ISO image). This installation method uses an image of an installation disk (in this case an .iso file). Click Forward to continue to the next step.
  4. Locate installation media

    1. Select the Use ISO Image option.
    2. Click BrowseBrowse Local buttons.
    3. Locate the ISO downloaded in Procedure 4.1, “Installing the virtualization packages with yum on your machine.
    4. Select the ISO file and click Open.
    5. Ensure that Virtual Machine Manager correctly detected the OS type. If not, uncheck Automatically detect operating system based on install media and select Linux from the OS type drop-down and Red Hat Enterprise Linux 7 from the Version drop-down.
    Local ISO image installation

    Figure 4.3. Local ISO image installation

  5. Configure memory and CPU

    You can use step 3 of the wizard to configure the amount of memory and the number of CPUs to allocate to the virtual machine. The wizard shows the number of CPUs and amount of memory available to allocate.
    For this tutorial, leave the default settings and click Forward.
    Configuring CPU and Memory

    Figure 4.4. Configuring CPU and Memory

  6. Configure storage

    Using step 4 of the wizard, you can assign storage to the guest virtual machine. The wizard shows options for storage, including where to store the virtual machine on the host machine. For this tutorial, leave the default settings and click Forward.
    Configuring storage

    Figure 4.5. Configuring storage

  7. Review the configuration

    Using step 5 of the wizard, you can configure the virtualization type, and guest architecture, and networking settings. For this tutorial, verify the settings, and click Finish. Virtual Machine Manager will create a virtual machine with the specified hardware settings.
    Verifying the configuration

    Figure 4.6. Verifying the configuration

After Virtual Machine Manager creates your Red Hat Enterprise Linux 7 virtual machine, the virtual machine's window will open, and the installation of the selected operating system will begin in it. Follow the instructions in the Red Hat Enterprise Linux 7 installer to complete the installation of the virtual machine's operating system.

Note

For help with Red Hat Enterprise Linux 7 installation, refer to the Red Hat Enterprise Linux 7 Installation Guide.