LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2010, 10:05 AM   #1
saagar
Member
 
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 37
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

Last edited by saagar; 08-20-2010 at 10:10 AM.
 
Old 08-20-2010, 10:16 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
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
 
1 members found this post helpful.
Old 08-21-2010, 03:07 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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

..
 
Old 08-21-2010, 03:32 PM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
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
 
1 members found this post helpful.
Old 08-24-2010, 08:04 AM   #5
saagar
Member
 
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Original Poster
Rep: Reputation: 37
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Debian5] Processes multiplicating and recurring crashes Undo Linux - Server 15 12-26-2009 12:00 PM
LXer: Install Fedora 10 PV DomU at Xen 3.3.1 CentOS 5.2 & Xen 3.3.0 Intrepid Server v LXer Syndicated Linux News 0 01-10-2009 12:40 PM
LXer: Install, Configure, Manage and Administer Xen Servers with New book on Xen LXer Syndicated Linux News 0 01-12-2008 12:41 AM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 11-05-2006 01:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-22-2006 12:33 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration