A little something about everything

internet marketing and website development made simple..

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

Here are the Steps:

  • Download CentOS 6.9-minimal.iso start VM, Choose Media > DVD Drive and "Insert Disk..." then install and reboot.
  • Download LinuxICv4.2.5.iso, Choose Media > DVD Drive and "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
  • Now 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"
 HWADDR=(MAC ADDRESS, This should match what is configured in Hyper-V)
 TYPE="Ethernet"
 UUID={don't change this}
 ONBOOT="yes"
 BOOTPROTO=none
 IPADDR=(YOUR SERVER IP)
 GATEWAY=(YOUR DEFAULT GATEWAY)
 DNS1=(PRIMARY DNS SERVER IP)
 DNS2=(SECONDARY DNS SERVER IP)
 Networking=yes

Start the network by using... 

 service network restart

Now you can update using yum:

#yum update
Is this ok [y/N]: y

That's it, your done.

 

Add comment

Loading