Skip to main content

Posts

Showing posts with the label virtualization

Using Vagrant to create virtual machines with Virtual Box

I'm a Linux System Admin & I play with lots of virtual machines to try & test various software & services. I use Virtual Box for creating virtual machine. Everything works fine except the part of installing same virtual machine again & again which takes a lot of time installing & configuring it. Recently I came across a tool called Vagrant which can automate that process or at least can make it easy for us to make a base image & then create virtual machines from that image without any worry. Now the real work:- Make sure you've Virtual Box installed on your machine, if not already done, download from  https://www.virtualbox.org/wiki/Downloads  & install it. Its available for almost all popular platforms. Download Vagrant from  http://downloads.vagrantup.com/  & install it. Binary packages available for MAC, Windows, debian & RPM based systems. I used Centos 6 heavily so I installed Centos 6. Location specific mirro...

How to install Ubuntu Server 10.04 in Hyper-V

Last July, Microsoft announced the drivers for Linux source code is available in the Hyper-V virtualization environment. In practice, the 2.6.32 of the Linux kernel version now contains drivers for synthetic Hyper-V, virtual machine including the VMBus, storage, and network components. In detail, it's hv_vmbus, hv_storvsc, hv_blkvsc and hv_netvsc modules. These modules are described in t his article . Out configurations "officially supported", I tested the activation of these modules in new Ubuntu Server 10.04, provided recently with the 2.6.32 kernel. To do this I found this article which explains how to enable these modules, and which I inspire me thus far. Enabling modules Firstly it must ensure that the Hyper-V modules are loaded at startup. To do this, edit the file /etc/initramfs-tools/modules and add the following four lines: hv_vmbus hv_storvsc hv_blkvsc hv_netvsc Then, update the initramfs image: $ sudo update-initramfs...

Startup Guide for KVM on CentOS 6

These instructions are very specific to CentOS 6. For this I assume you have setup your server using the “Minimal” option when installing CentOS 6. You must also have the Virtualization features enabled for your CPU. This is done in your host’s BIOS. Optionally you can skip the first section, Installing KVM, if you check all 4 “Virtualization” software categories during the install. Installing KVM If you choose the “Minimal” option during CentOS 6 then this step is necessary. To get the full set of tools there are 4 software groups to install…     Virtualization     Virtualization Client     Virtualization Platform     Virtualization Tools To install run yum groupinstall “Virtualization*” dejavu-lgc-sans-fonts is necessary or all the fonts in virt-manager will show as squares yum install dejavu-lgc-sans-fonts Once the install is finished verify that the KVM kernel module is loaded. ...