Skip to content

How to Create a CentOS Virtual Machine with VirtualBox on Windows

mesin virtual centos di virtualbox
0
(0)

CentOS is an open-source operating system developed from source code Red Hat Enterprise Linux and built on the Linux kernel. You can install and run Apache web server with it. CentOS is often used in servers and hosting, This is because CentOS is more secure and stable.

Creating a CentOS virtual machine using VirtualBox will be useful for those of you who want to have your own Apache web server. As an alternative if you usually use XAMPP on a Windows computer.

VirtualBox is a cross-platform virtualization product developed by Oracle. VirtualBox can be installed on your existing Intel or AMD based computer, either running the operating system (OS) Windows, macOS, Linux, or Oracle Solaris. For more complete information about VirtualBox, Please visit the virtualbox.org site

As well as create a windows-7 virtual machine using hyper-v, with VirtualBox, It is possible to create a virtual computer inside a physical computer so that it can run multiple OS, inside multiple virtual machines, at the same time. But, Hyper-V is only available for the Pro version of Windows, if you don't have it, You can use VirtualBox as an alternative.

You can run CentOS on a Windows computer using VirtualBox. By following this easy and simple guide, It won't be difficult for you to create a CentOS virtual machine using VirtualBox on Windows.

Preparation

To be able to create a CentOS virtual machine using VirtualBox on Windows, several requirements must be met.

Condition:

  • Windows computers with Intel Processor or AMD latest.
  • Memory Minimal 512 MB RAM (bigger is better).
  • Hard disk space. Least sized 20 GB.
  • Software VitualBox
  • Software CentOS. Because the intended use is for a web server, choose CentOS-7-x86_64-Minimal-2009.iso

Creating a Centos Virtual Machine

1. Using VirtualBox Manager.

Click Oracle VM VirtualBox on your desktop. To create a new virtual machine, click New

membuat mesin virtual baru

2. Configure the Virtual Machine Name and Operating System.

After you click the New button on the VirtualBox Manager, a dialog box will appear Create Virtual Machine. The first part is Virtual machine Name and Operating System

  1. on the field Name type a name for the virtual machine, misal CentOS
  2. on the field ISO Image  Click the triangle on the right to select the location where you save the CentOS installation file that you downloaded.
  3. on the field Type and Version, select Linux and Red Hat (it should fill in automatically if it can recognize the name you created).

Then click Next  to continue

menentukan nama dan sistem operasi

3. Preparation for Unattended Guest OS Installation.

In this section you can do nothing, just click Next to continue

pengaturan Instal OS tanpa pengawasan

4. Virtual Machine Hardware Configuration.

In the Hardware section, You may need to make changes.

  1. On the field Base Memory, Determine how much memory size you want to allocate, misal 2048MB
  2. On the field Processors, You can choose 1 or 2 CPUs

Click Next to continue.

pengaturan perangkat keras mesin virtual

5. Virtual Machine Hard Disk Settings.

In this Virtual Hard Disk section you need to determine how much space you want to allocate. Assuming that there hasn't been a Virtual Hard Disk before.

  • Select Create a Virtual Hard Disk Now, use the slider to change the Disk size, to be smooth, at least set it at 20GB
  • Click Next to continue
pengaturan virtual hard disk

6. Virtual Machine Summary.

In this section you will be shown a summary of the virtual machine configuration that you will create, You can return or cancel if you change your mind. Click Finish to solve

ringkasan konfigurasi mesin virtual

Changing Virtual Machine Settings

After creating the virtual machine, You can still change some settings. Before carrying out the installation process, You need to change the sequence Boot System so that the virtual machine can carry out the operating system installation.

1. Displays Settings

Click Settings to display the virtual machine settings

pengaturan mesin virtual

2. Change System Boot Sequence

To change the Boot order, do the following steps:

  1. Click System
  2. On Boot Order, make sure Optical is in the first order by clicking the up or down arrow next to it.
pengaturan boot

3. Added Optical Drive Attributes

You need to add attributes Live CD/DVD the Optical Drive so that the virtual machine can successfully perform Booting

atribut drive optik

Running a CentOS Virtual Machine

In VirtualBox Manager, click the name of the virtual machine and then click Start  to start running the virtual machine

menjalankan mesin virtual

You will see a display of the running virtual machine, Next, carry out the CentOS installation process

mesin virtual berjalan

Continue the installation process until complete. You can learn how to install CentOS-7.

memulai instalasi centos

Closing

Creating a virtual machine using VirtualBox is useful as an alternative if you cannot enable Hyper-V. With VirtualBox, It is possible to create a virtual computer inside a physical computer so that it can run multiple OS, You can too installed Windows-7 with him.

That's the tutorial on how to create a CentOS virtual machine using VirtualBox on Windows. Hopefully you have no trouble following the steps in this guide.

Hope it is useful.

How useful is this article?

Click on a star to rate it!

Average rating 0 / 5. Total votes: 0

No sound so far! Be the first to rate this article.

We apologize that this article was not useful for you!

Let us improve this article!

Let us know how we can improve this article?

Leave a Reply

Your email address will not be published. Required fields are marked *