LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install Xen in Debian5 ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-xen-in-debian5-827455/)

saagar 08-20-2010 09:05 AM

How to install Xen in Debian5 ?
 
Friends,
I wish to install xen in Debian5.0.4 (kernel 2.6.26) , but I am unable to find a documentation for this. Though wiki.debian.org/Xen does say something about this , it does not seem to work. For eg. They say:

Code:

#apt-get install xen
but actually when i do this, i get an error:
Code:

Package xen is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  xen-utils-common
E: Package xen has no installation candidate

I seek your valuable contribution on this.

Thanks

sem007 08-20-2010 09:16 AM

for xen install following packages as per http://www.howtoforge.com/virtualiza...an-lenny-amd64

Code:

xen-hypervisor-3
xen-linux-system-2.6.26-1
xen-utils-3.2-1
xenstore-utils
xenwatch
xen-shell
xen-tools

HTH

knudfl 08-21-2010 02:07 PM

Generally : apt-cache search <name> ( or part of name )
.. will tell what's available. And that goes for all Debian packages.


→ linux-image-xen-686, etc.etc.
http://packages.debian.org/lenny/linux-image-xen-686

..

EricTRA 08-21-2010 02:32 PM

Hi,

Just follow the howto pointed out by sem007, that's a great step by step guide to get you up and running with Xen.

Kind regards,

Eric

saagar 08-24-2010 07:04 AM

sem007 and Elictra...
Thanks so much for your help. Sorry for the late reply due to my off-work.

It works and now my Debian system does have 2 virtual machines running. I wish to know one more thing.....

There is a disk.img in /home/xen/<hostname> directory. If I just copy it to, say /home/xen/<hostname2> directory and provide a .cfg file for that second host, I can create another virtual machine. Now my doubt is, I hear a lot about Xen templates. Actually what is the need for it? If I can first create a "master" disk.img (say from /home/xen/<hostname>, which has all the readymade applications needed and use it as a template for future use...

Is there any advantage in using templates?

sem007 and elictra .. I dont find a 'thanku' button... :(


All times are GMT -5. The time now is 04:04 AM.