Installing BIND on VE's [message #9232] |
Fri, 22 December 2006 02:19 |
Al Sparks
Messages: 2 Registered: December 2006
|
Junior Member |
|
|
I'm trying to set up a test environment of name servers. I downloaded
the BIND tarball to one of the Virtual Environment, and tried to
compile it. That didn't work, because there's no gcc installed.
So I tried compiling it at the management level which did work, and
transferred the compiled version over to the VE. When I did a make
install make did run, but ended with errors.
How do I create a VE that will compile and install something like
BIND? I'm sure there are lots of libraries that may be needed.
I'm new to OpenVZ. Am I missing something obvious?
I'm running CentOS 4.4 in all VE's.
=== Al
|
|
|
|
|
|
|
Re: Installing BIND on VE's [message #9238 is a reply to message #9236] |
Fri, 22 December 2006 13:46 |
|
Jan Tomasek wrote:
> Hello Al,
>
> Al Sparks wrote:
>
>> I'm trying to set up a test environment of name servers. I downloaded
>> the BIND tarball to one of the Virtual Environment, and tried to
>> compile it. That didn't work, because there's no gcc installed.
>>
>
> why you do not install gcc into VE? I'm handling VE almost as ordinary
> system running on physical HW. Template which come with OpenVZ (at least
> for Debian which I'm using) is very basic instalation of Linux, I have
> to install there numerous packages to be able use it for my work.
>
That's why it is called "minimal" -- it's a boilerplate, so you should
use apt-get/aptitude/any-other-tool to install whatever you need on top
of that. By the way you can tar the result and use it as a template to
create other VEs.
|
|
|
|
Re: Installing BIND on VE's [message #9260 is a reply to message #9255] |
Sat, 23 December 2006 08:00 |
|
Al Sparks wrote:
>>> Al, the first thing you want to do is install yum in your vps
>>>
>> from the host node. You would do that from the Host Node with
>> something like this:
>>
>> vzyum <vpsid> install yum
>>
>> <vpsid> being the id of the vps you want to install yum in.
>>
>> Then I would ssh into the vps and using yum install BIND or at
>> least the libraries you will need to compile BIND.
>>
>> You would do that with something like this:
>> yum install bind
>>
>
> Thanks for all the responses. I didn't install yum on the VE.
>
> Instead, I used vzyum from the host mode to install gcc, flex, byacc,
> which is what Bind-8 demands to do an install.
>
Still -- why not just "vzyum VEID install bind"?
|
|
|