OVH Community, your new community space.

Proxmox - How to install DAB.


RimBlock
31-03-2010, 03:08
Hi Makno,

Yes I found that too when trying to import with Proxmox. Changing the filename corrected the problem when I did it and Ubuntu 9.10 installed fine on Proxmox, well apart from setting up the bridging interfaces and routes but I now have scripts in place to resolve this.

Cheers
RB

makno
30-03-2010, 19:54
there is an issue with the filename of the downloaded templates, you need to rename them so they look like:
ubuntu-9.04-standard_9.04_amd64.tar.gz
ubuntu-9.10-standard_9.10_amd64.tar.gz
basyccaly it's os_type_arch.tar.gz
the underscore is the key and architectures are i386 and amd64 no x86_64

RimBlock
26-03-2010, 02:20
Thanks guys,

I will check the sources. Seems strange that it is not included in the 1.5 basic install and there is no mention in the Wiki about it's requirement.

Myatu,

Ok, I didn't realise you could just use the OpenVZ templates. I read a support thread about the Ubuntu 9.XX OpenVZ not working on Proxmox and presumed the others have issues too. As is the nature of the interenet though, I do not know what version of Proxmox they were using.

I tried downloading the 1.1-3 as that is the one in the Wiki instructions . Maybe the Wiki needs updating.

Thanks for the pointers.

RB

Myatu
25-03-2010, 17:53
For OpenVZ templates I use http://wiki.openvz.org/Download/template/precreated. Just download whichever one you'd like to /vz/template/cache/ (but do NOT untar them), and it'll be available through Proxmox's GUI automagically

Example from SSH, Centos 5 64-bit:
Code:
wget http://download.openvz.org/template/precreated/centos-5-x86_64.tar.gz -P /vz/template/cache/
But if you prefer to build your own, like derchris pointed out, make sure you have a line like this in the file /etc/apt/sources.list:
Code:
deb ftp://download.proxmox.com/debian lenny pve
... And do an "apt-get update" first (no errors should occur).

PS, the direct link to the DAB package is http://download.proxmox.com/debian/d..._1.1-4_all.deb (you used 1.1-3)

derchris
25-03-2010, 17:06
Check /etc/apt/sources.list, if it has download.proxmox.com in it.

RimBlock
25-03-2010, 16:04
Hi,

Having played around with Proxmox I have found the available templates seem quite old and the two I tried (CentOS 5.2 and Ubuntu 8.04 both being the newest of those distro available) do not work with bridging out of the box.

Due to this and a few other issues I would like to create my own base for a couple of distros but cannot get dab to install.

Following the instructions from the Wiki;

pm1:~# apt-get install dab
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dab 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
E: Package dab has no installation candidate
pm1:~#
pm1:~# wget http://download.proxmox.com/debian/d..._1.1-3_all.deb
--2010-03-25 22:57:09-- http://download.proxmox.com/debian/d..._1.1-3_all.deb
Resolving download.proxmox.com... 92.51.129.73
Connecting to download.proxmox.com|92.51.129.73|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-03-25 22:57:18 ERROR 404: Not Found.

pm1:~#
If I browse to http://download.proxmox.com/debian/d.../binary-amd64/ i do see a dab_1.1-4_all.deb

Downloading that and then using ipkg -i results on missing dependencies for binutils and make. Trying apt-get for binutils and make result in package not found...

Having been working with CentOS and Openvz I am more used to yum which has a search option.

Any ideas and / or links to newer templates.

Many thanks
RB