Explore this Article
X
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time.
The wikiHow Tech Team also followed the article's instructions and verified that they work.
This article has been viewed 168,439 times.
Learn more...
QEMU is a Linux emulator used to create virtual machines. Many people use Virtual Box on Windows, but fir Linux, you can use QEMU instead.
Steps
1
Make sure the CPU supports hardware virtualization.
2
Install bridge-utils at the command line.
3
Install KVM.
4
Create a virtual machine.
-
Once you're all set up, you can create a virtual machine at the command line or in the GUI. Here's how:
- For the command line, the command is:
sudo virt-install --name=itzgeekguest --ram=1024 --vcpus=1 --cdrom=/var/lib/libvirt/images/CentOS-6.9-x86_64-minimal.iso --os-type=linux --os-variant=rhel7 --network bridge=br1 --graphics=spice --disk path=/var/lib/libvirt/images/itzgeekguest.dsk,size=4
- For graphical mode, you need to be root. Sometimes starting the Virtual Machine Manager from Dashboard does not give all the features to create a virtual machine.
- sudo virt-manager
- For the command line, the command is:
5
Manage your virtual machines.
-
You can manage your virtual machines in the virtual machine manager. To do so:
- Choose "File" and "New Virtual Machine".
- Browse for the desired operating system.
- Choose the type and version for your operating system.
- Choose your memory and CPU settings.
- Tick "Enable storage for this virtual machine" and "Create a disk on the computer's hard drive," or pick "Select managed or other existing storage" and select your desired storage.
- Choose "Advanced options" to select bridge networking; this allows the communication to outside networks.
- Give a name to the VM and tick "Set a fixed MAC address".
Advertisement
You Might Also Like
![Install Google Chrome Using Terminal on Linux](./images/2545239166--crop-342-184-245px-Install-Google-Chrome-Using-Terminal-on-Linux-Step-7-Version-2.webp)
How to
Install Google Chrome Using Terminal on Linux
![Disable McAfee](./images/4083492355--crop-342-184-246px-Disable-McAfee-Step-31.webp)
How to
Disable McAfee
![Install DEB Files](./images/2433888082--crop-342-184-245px-Install-DEB-Files-Step-13-Version-2.webp)
![Uninstall Bing](./images/389621464--crop-342-184-245px-Uninstall-Bing-Step-39.webp)
How to
Uninstall Bing
![Uninstall Chrome on Android](./images/2306551919--crop-342-184-245px-Uninstall-Chrome-on-Android-Step-5.webp)
How to
Uninstall Chrome on Android
![Install the Sims 4](./images/1444358419--crop-342-184-245px-Install-the-Sims-4-Step-31.webp)
![Download a File](./images/1975396198--crop-342-184-245px-Download-a-File-Step-20.webp)
How to
Download a File
![Install Software on Linux](./images/4258213680--crop-342-184-247px-Install-Software-on-Linux-Step-44.webp)
![Uninstall Opera](./images/2061314009--crop-342-184-245px-Uninstall-Opera-Step-20.webp)
How to
Uninstall Opera
![Install Roblox](./images/1160587138--crop-342-184-245px-Install-Roblox-Step-30.webp)
![Uninstall Steam](./images/1894721473--crop-342-184-245px-Uninstall-Steam-Step-25.webp)
How to
Uninstall Steam
![Uninstall Outlook on PC or Mac](./images/127414875--crop-342-184-245px-Uninstall-Outlook-on-PC-or-Mac-Step-16.webp)
How to
Uninstall Outlook on PC or Mac
![Install Altstore](./images/3374393509--crop-342-184-245px-Install-Altstore-Step-24.webp)
How to
Install Altstore
![Uninstall Deep Freeze](./images/2132225031--crop-342-184-245px-Uninstall-Deep-Freeze-Step-22.webp)
How to
Uninstall Deep Freeze
Advertisement
References
About This Article
Tested by:
wikiHow Technology Team
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 168,439 times.
How helpful is this?
Co-authors: 8
Updated: December 1, 2022
Views: 168,439
Categories: Install & Uninstall Software | Ubuntu
Advertisement