Systems Management
How to Install a CentOS 7 Linux Virtual Machine in Windows Hyper-V Server
Topics: Systems Management
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.
How to Install a CentOS 7 Linux VM 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 How to Install a CentOS 7 Linux Virtual Machine-Install](https://www.recastsoftware.com/wp-content/uploads/2022/03/How_to_Install_a_CentOS_7_Linux_Virtual_Machine-Install.jpg)
4. Click the letter I to install CentOS 7.
![How to Install a CentOS 7 Linux Virtual Machine-Language How to Install a CentOS 7 Linux Virtual Machine-Language](https://www.recastsoftware.com/wp-content/uploads/2022/03/How_to_Install_a_CentOS_7_Linux_Virtual_Machine-Language.jpg)
5. Select the appropriate language and click Continue.
![How to Install a CentOS 7 Linux Virtual Machine-Network and Hostname How to Install a CentOS 7 Linux Virtual Machine-Network and Hostname](https://www.recastsoftware.com/wp-content/uploads/2022/03/How_to_Install_a_CentOS_7_Linux_Virtual_Machine-Network_and_Hostname.jpg)
6. Click NETWORK & HOSTNAME.
![How to Install a CentOS 7 Linux Virtual Machine-Enable NIC and Configure Hostname How to Install a CentOS 7 Linux Virtual Machine-Enable NIC and Configure Hostname](https://www.recastsoftware.com/wp-content/uploads/2022/03/How_to_Install_a_CentOS_7_Linux_Virtual_Machine-Enable_NIC_and_Configure_Hostname.jpg)
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 How to Install a CentOS 7 Linux Virtual Machine-Begin Installation](https://www.recastsoftware.com/wp-content/uploads/2022/03/How_to_Install_a_CentOS_7_Linux_Virtual_Machine-Begin_Installation.jpg)
8. Click Begin Installation.
![How to Install a CentOS 7 Linux Virtual Machine-Root Password How to Install a CentOS 7 Linux Virtual Machine-Root Password](https://www.recastsoftware.com/wp-content/uploads/2022/03/How_to_Install_a_CentOS_7_Linux_Virtual_Machine-Root_Password.jpg)
9. Click ROOT PASSWORD.
![How to Install a CentOS 7 Linux Virtual Machine-Set Root Password How to Install a CentOS 7 Linux Virtual Machine-Set Root Password](https://www.recastsoftware.com/wp-content/uploads/2022/03/How_to_Install_a_CentOS_7_Linux_Virtual_Machine-Set_Root_Password.jpg)
10. Set the Root Password and click Done.
![How to Install a CentOS 7 Linux Virtual Machine-User Creation How to Install a CentOS 7 Linux Virtual Machine-User Creation](https://www.recastsoftware.com/wp-content/uploads/2022/03/How_to_Install_a_CentOS_7_Linux_Virtual_Machine-User_Creation.jpg)
11. Click USER CREATION.
![How to Install a CentOS 7 Linux Virtual Machine-Set User Details How to Install a CentOS 7 Linux Virtual Machine-Set User Details](https://www.recastsoftware.com/wp-content/uploads/2022/03/How_to_Install_a_CentOS_7_Linux_Virtual_Machine-Set_User_Details.jpg)
12. Fill in the user details and click Done.
![How to Install a CentOS 7 Linux Virtual Machine-Wait How to Install a CentOS 7 Linux Virtual Machine-Wait](https://www.recastsoftware.com/wp-content/uploads/2022/03/How_to_Install_a_CentOS_7_Linux_Virtual_Machine-Wait.jpg)
13. Wait while the CentOS 7 server completes the set-up.
![How to Install a CentOS 7 Linux Virtual Machine-Reboot How to Install a CentOS 7 Linux Virtual Machine-Reboot](https://www.recastsoftware.com/wp-content/uploads/2022/03/How_to_Install_a_CentOS_7_Linux_Virtual_Machine-Reboot.jpg)
14. Once the configuration is complete, click Reboot.
![How to Install a CentOS 7 Linux Virtual Machine-Logon How to Install a CentOS 7 Linux Virtual Machine-Logon](https://www.recastsoftware.com/wp-content/uploads/2022/03/How_to_Install_a_CentOS_7_Linux_Virtual_Machine-Logon.jpg)
15. After the reboot, logon and you are done.