< Blog

Step-by-Step Instructions on How to Install a CentOS 7 Linux Virtual Machine in Windows Hyper-V Server

By Garth Jones

Using System Center 2012 Configuration Manager (CM12) or CM12 R2, I wanted to confirm what steps were needed to inventory the *nix server operating system. In my example I chose CentOS 7, so over the next few blog posts I will show you how to install a CentOS 7 Linux virtual machine in Windows Hyper-V Server, how to install CentOS 7 on Hyper-V with integration services, and how to install the CM12 client agent on the CentOS 7 server.

Starting with how to install a CentOS 7 Linux virtual machine in Windows Hyper-V Server:

1. First, download CentOS 7 ISO from http://www.centos.org/.

2. While waiting for CentOS 7 ISO to download, create a virtual machine (VM) in Hyper-V, and use a legacy NIC.

3. Once the CentOS 7 ISO is downloaded, attach the ISO to the VM’s CD-ROM drive and start the VM.

How to Install a CentOS 7 Linux Virtual Machine-Install

4. Click the letter I to install CentOS 7.

How to Install a CentOS 7 Linux Virtual Machine-Language

5. Select the appropriate language and click Continue.

How to Install a CentOS 7 Linux Virtual Machine-Network and Hostname

6. Click NETWORK & HOSTNAME.

How to Install a CentOS 7 Linux Virtual Machine-Enable NIC and Configure Hostname

7. Enable the NIC and configure the Hostname. Click Done (top left) when completed.

How to Install a CentOS 7 Linux Virtual Machine-Begin Installation

8. Click Begin Installation.

How to Install a CentOS 7 Linux Virtual Machine-Root Password

9. Click ROOT PASSWORD.

How to Install a CentOS 7 Linux Virtual Machine-Set Root Password

10. Set the Root Password and click Done.

How to Install a CentOS 7 Linux Virtual Machine-User Creation

11. Click USER CREATION.

How to Install a CentOS 7 Linux Virtual Machine-Set User Details

12. Fill in the user details and click Done.

How to Install a CentOS 7 Linux Virtual Machine-Wait

13. Wait while the CentOS 7 server completes the set-up.

How to Install a CentOS 7 Linux Virtual Machine-Reboot

14. Once the configuration is complete, click Reboot.

How to Install a CentOS 7 Linux Virtual Machine-Logon

15. After the reboot, logon and you are done.

In tomorrow’s blog post I will show you how to install Hyper-V integration services and then follow that post with another about how to install the CM12 client agent on the CentOS 7 server.