What is a virtual machine, why and how to use it?
Bu blog yazımızda Sanal Makine ve kurulumu hakkında detaylı bilgiler veriyoruz.
Virtual machines provide the ability to run any operating system in a virtual environment above its name. This means that you can run one or more operating systems on a computer.
For example, you can install Windows, macOS or Linux operating systems and perform your operations. Just as in reality, you can determine what the hardware attributes will be, such as image memory, amount of memory, number of cores. No, of course our hardware is not virtual. Unfortunately virtual machines are a bit ungrateful about this, so the hardware you have affects the performance you will get in the virtual machine 😊
Nice question. It is used in many areas besides using operating systems with various hacking tools as a second operating system, running programs that your own operating system does not support or that you think might be damaged.
To do this, you first need to download a virtual machine application. There are multiple virtual machine applications on the market. In this article, I will use the “Oracle VM VirtualBox” application, which is very easy to use and often preferred. I also recommend it to you. Later I can write articles on how to use other applications, but my explanation here will be for “Oracle VM VirtualBox”.
I will tell you about the installation through Windows. If you are using an operating system other than Windows, the process is almost no different. I have included the most common problems and solutions at the very end of the article in case you encounter a problem during installation.
So what are we waiting for now? Well, let's get started then.
Log in to the official site of VirtualBox from the link below and click on the inscription “Download”, which appears huge on the screen, or on the inscription “Downloads” on the left part of the page. As I write this, you see that the latest version of VirtualBox is 6.1. The location of the images or posts on the site may be different when you read this article. If there are minor changes, this is not a problem, so let's move on.
Download the installation file of VirtualBox for windows by clicking on the inscription “Windows hosts” from the page that appears. Then click on “All supported platforms” under the heading “Oracle VM VirtualBox Extension Pack” and download the required plug-in package. There is a single file for all operating systems. So you just have to click on this post.
This plug-in package serves to recognize some devices, such as USB, that are installed on your computer after installing our virtual machine by VirtualBox. Without this plugin, virtualization may not work properly. That's why we're going to install this as well.
Run the VirtualBox installation file that you downloaded. It is very simple to install but I still added the images below.
During installation, you are presented with the “Do you want to download this software?” if you are greeted with a similar inscription, press the “Install” button. Now let's move on to the next steps after the installation is finished.
Run VirtualBox. If you see a window related to downloading the plug-in package, close the window. Because we have already downloaded our add-on pack. Now what we have to do is install this add-on package.
With VirtualBox open, we run the plugin package that you downloaded.
Then from the window that appears, we complete the installation process.
If a window doesn't pop out, that's fine. Don't run away, keep reading 😊
If there is no problem, you can proceed to the next step.
Follow the path File -> Preferences -> Extensions through VirtualBox.
We press the file selection button with the plus icon that you see in the image, select the add-on package that you have downloaded and in the window that appears we complete the installation process.
There is still a very small adjustment left that we will make after the installation process is finished. Click on the “Network” section from the Preferences window.
If this part is empty as in the image, press the button with the plus icon, which I marked with yellow.
It's supposed to look that way now. Let me explain why we're doing this. NatNetwork allows the virtual operating systems that we are going to add to receive internet from our main operating system and be able to create a virtual network and use all the machines on the same network. Now that we have done this, press the “OK” button and close the window.
If everything is over without problems, download the installation file of the operating system that you want to use as a virtual machine.
If the one you downloaded is a “.ova” file, the installation is very simple. With VirtualBox open, double-click and specify the desired system properties from the window that appears. If a window does not open when you double-click, click “Import Device” in the “File” section and select the file you downloaded.
If you are going to install a “.iso” file, click on the “New” section that you see in the image below.
In the part that opens, when you add the operating system, you specify the name that will appear on the left side, as it seemed to me. After filling in the name section, select the type and version of the operating system you are using and proceed. Determine the characteristics of your system, as with “.ova” installations. It will now appear to be attached to the left side, but we have not installed anything else.
Select the operating system you are going to install and press the “Start” button that you see in the image.
Once opened, it will ask you for a “.iso” file. Select the “.iso” file you downloaded and perform the installation.
After completing your installation in one of the two methods, turn off the operating system. After closing:
Press the “Settings” button located next to the “Start” button.
In the window that opens, check the box “Enable Network Adapter”. Click on “NAT Network” from the “Stuck on” section and select the NAT network that we created earlier as the name.
All operations are completed. Now you can surf on your virtual machine. 😊
If you are encountering this error, you may not have installed the VirtualBox plugin package. Try installing it again.
I suggest you look at this video.
https://www.youtube.com/watch?v=vN-T8soPnLU
Your computer does not support virtualization or virtualization is not enabled. If your computer supports virtualization, enter the BIOS and enable virtualization.
Please feel free to write to me if you have any problems other than these. If there's anything I can do, I'd love to help 😊
How happy if it worked for you and you got the information. I would be glad if you give me your ideas. Thanks for reading.
We would like to thank Ali Karagoz for writing this text. You can check out our student's social media accounts!
LinkedIn: https://www.linkedin.com/in/ali-karag%C3%B6z-259809225/
YouTube: https://www.youtube.com/c/aliblackeye/
With Patika+, you learn the software with the best instructors, accompanied by a one-on-one simulation of your business life. Apply now, start your software career regardless of your age: https://www.patika.dev/patikaplus