DEV Community

Mario Yellowbeard
Mario Yellowbeard

Posted on

What Is A Virtual Machine?

A Virtual Machine (VM) is a virtual machine (Virtual) that allows another operating system to run a program on the existing operating system. VPS (Virtual Private Server) is a virtual machine built on a dedicated server.

When using VM, the host operating system (Host Operating System) is the current OS of our computer or server. The Guest Operating System is the OS we use through the Virtual Machine.

When using VM, the host operating system (Host Operating System) is the current OS of our computer or server. The Guest Operating System is the OS we use through the Virtual Machine.

Guest OS is just another program compared to Host OS. From the guest OS, it looks like it’s running from another virtual machine. It has no knowledge of the Host OS. The connection between the two is made by VM software. It separates the CPU, RAM and storage of our real computer and enables the new computer. Even if a pen is connected, it can be configured to display in the VM. Internet connection, mouse, keyboard, etc. are all connected to this, but it does not interfere with the operation of another program (except speed) while it is running.

You can keep any number of VMs you want on your computer. The hard drive of a VM is a single file created on our hard drive. Therefore, the number of VMs that can be retained is limited by the amount of space available on the hard drive. A VM can also control the amount of space allocated by the hard drive so that it can be adjusted as needed depending on the work being done.

After booting a guest OS that can be added to the VM in the same way as installing the OS to a computer, it runs on the screen. There is also the opportunity to experience the maximum by wearing a full screen.

When VM is required
There are many opportunities to use a VM in practice. It is a great convenience and an economic advantage to be able to redesign another existing computer instead of buying a new one.

To try a new OS version
If you are using an old OS for any reason, you can use a VM to experience the new version. If you are using Windows 7 and want to see the features of Windows 10, you can install it on a VM and add existing programs to it to see if it works properly. Then you can save time on a full format and decide in advance whether to upgrade the OS or not.

Experience other OS
For those who do not have the opportunity to focus on Linux due to games, Photoshop, etc., you will have the opportunity to experience Linux distro through a VM. Also, anyone who wants to do something with Windows using Linux can use Windows from there. Plus, you’ll be getting rid of clutter you don’t need to buy a MacBook to experience the Mac OS.

For software that requires older OS

If you want to reuse software that you used in the past, removing the current OS is useless. Instead, when you install an older OS such as Windows XP on your VM, you can reset the environment that the software demands and make it work.

For use with software configured on another OS

Getting ready to use Windows 7 on Ubuntu (techhive.com)
If Linux users need Photoshop, the solution is to use a VM. When developing an app for iOS, instead of buying a Macbook to use XCode, you can build the app via VM. Unfortunately, this does not provide much success for computer games and software that requires more power.

To test the software

With the ability to run multiple operating systems on a single computer, you can easily test how a customized software works in other operating system environments without delaying OS installations. You can control the RAM and network as required, so you can use the existing operating system to experience how to deal with a slow network with low RAM.

To partition a single server

VM technology allows you to take a dedicated server and divide it into multiple VPS and use it as multiple servers. They have the advantage of being able to contain different OSes, and the software (websites) that can be included can provide the RAM and CPU they need. If required, they will have the opportunity to reserve the remaining shares as VPS once they have reserved the required shares.

VM software

There are a number of free software for Windows, Linux, and macOS operating systems that allow you to easily install and use ISOs, such as a Windows CD or Linux. VirtualBox (Windows / Mac / Linux), VMware (Windows / Linux) and Windows Virtual PC for Windows, as well as QEMU for Linux, are free VM software. You can use Bluestack (Windows), Genymotion (Windows, Linux) to run Android on your computer.

written by Mᴀʀɪᴏ Yᴇʟʟᴏᴡʙᴇᴀʀᴅ シ︎

Top comments (0)