Posted in
Linux Server |
41 Comments | 35,339 views | 31/10/2010 14:39
You can use Debian on Hyper-V with 4 vCPU support.
1) Install a clean Debian 5.0.6
2) Do following:
1
2
3
4
5
6
7
8
| apt-get update
aptitude update
wget -c http://www.yusufozturk.info/linux/linux-image-2.6.36-hyperv-debian.x86_64.deb
wget -c http://www.yusufozturk.info/linux/linux-headers-2.6.36-hyperv-debian.x86_64.deb
apt-get install build-essential
dpkg -i linux-image-2.6.36-hyperv-debian.x86_64.deb linux-headers-2.6.36-hyperv-debian.x86_64.deb
echo -e "hv_vmbus\nhv_storvsc\nhv_blkvsc\nhv_netvsc" >> /etc/initramfs-tools/modules
update-initramfs –u –k 2.6.36-hyperv |
apt-get update
aptitude update
wget -c http://www.yusufozturk.info/linux/linux-image-2.6.36-hyperv-debian.x86_64.deb
wget -c http://www.yusufozturk.info/linux/linux-headers-2.6.36-hyperv-debian.x86_64.deb
apt-get install build-essential
dpkg -i linux-image-2.6.36-hyperv-debian.x86_64.deb linux-headers-2.6.36-hyperv-debian.x86_64.deb
echo -e "hv_vmbus\nhv_storvsc\nhv_blkvsc\nhv_netvsc" >> /etc/initramfs-tools/modules
update-initramfs –u –k 2.6.36-hyperv
That’s it. Reboot your server with new kernel. Now you can use synthetic ethernet and 4 vCPU.
Also integrated shutdown is available:
You can use CPU stress tool for tests.