Step by Step install of CentOS 6.3 on Microsoft Hyper-V Server with Linux Integration Services Version 3.4

Create new VHD w/ Legacy Network Adapter for CentOS 6.3

Download CentOS 6.3-minimal.iso (insert disk & install)

Download LinuxICv34.iso (insert disk)

mkdir -p /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
cp -rp /mnt/cdrom /opt/linux_ic
umount /mnt/cdrom
cd /opt/linux_ic/RHEL63
./install.sh

Once the install is down, shutdown the VPS, note the mac address and then remove the legacy adapter.

Add a standard network adapter with static mac previously noted. apply and restart the VPS

Update your network settings via vi

vi /etc/sysconfig/network-scripts/ifcfg-eth0

use “i” to insert text, (esc) to exit and “:wq” to write your changes.

IT should look something like this:

DEVICE=”eth0″

BOOTPROTO=none

ONBOOT=”yes”

TYPE=”Ethernet”

HWADDR=(MAC ADDRESS, This should match what is configured in Hyper-V)

IPADDR=(YOUR SERVER IP)

GATEWAY=(YOUR DEFAULT GATEWAY)

DNS1=(PRIMARY DNS SERVER IP)

DNS2=(SECONDARY DNS SERVER IP)

If your system is still not online for static IP do this:

Networking=yes

ifconfig eth0 (IP) (MASK) up