David Mezquíriz Osés wrote:
> Hi all,
>
> I'm getting started with openvz so I'm a bit lost with it, so I hope you
> can help me.
>
> This is the situation:
> I create an VE with centos 4.4.
> The hardware node has this kernel "2.6.18-8.1.8.el5.028stab039.1" and
> it's a centos 4.5 server.
>
>
> The problem is the following:
>
> I created successfully the VE but unfortunatelly I tried to compile a
> tar.gz file that I need but I don't have any gcc compiler inside the VE.
> I found out that inside the yum configuration file there is a
> restriction on it, glib is excluded from any installation so I don't
> want to remove it from it.
what restriction do you mean?
all you need is to do:
# yum install gcc
> I know that there is a devel-ce4 package built by Swsoft which can be
> installed into a VE based on Virtuozzo in order to allow gcc compiler
> into this VE, but I don't find any package similar to this for openvz.
devel package just include binutils/gcc and some other devel rpms.
the installation is still done via yum (in case of EZ templates).
> I would like to ask you if some of you either has been able to compile
> inside a VE or has been able to build a template like that.
after you have installed gcc inside VE, you can create a template
cache from this VE. template cache can be used later to create new
VEs already with preinstalled packages you want (in your case -devel).
Thanks,
Kirill