OpenVZ Forum


Home » Mailing lists » Users » Installing BIND on VE's
Installing BIND on VE's [message #9232] Fri, 22 December 2006 02:19 Go to next message
Al Sparks is currently offline  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 #9234 is a reply to message #9232] Fri, 22 December 2006 13:17 Go to previous messageGo to next message
Romeo Theriault is currently offline  Romeo Theriault
Messages: 20
Registered: December 2006
Junior Member
On 12/21/06 9:19 PM, "Al Sparks" <asparks@alaska.net> 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.
>
> 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
>
>
>
>
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


HTH's
Romeo
Re: Installing BIND on VE's [message #9235 is a reply to message #9232] Fri, 22 December 2006 13:20 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Al,

> 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.
you just need to install gcc in your VE if it is missing.
Install yum and then setup CentOS repository, after that:
# yum install gcc

Thanks,
Kirill
Re: Installing BIND on VE's [message #9236 is a reply to message #9232] Fri, 22 December 2006 13:24 Go to previous messageGo to next message
Jan Tomasek is currently offline  Jan Tomasek
Messages: 44
Registered: December 2006
Member
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.

BTW: Maybe you can try to find pre-build package of Bind for CentOS.
Bind is very common piece of software it must somewhere.

Best regards
--
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/
Re: Installing BIND on VE's [message #9237 is a reply to message #9236] Fri, 22 December 2006 13:46 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Jan,

> 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.
cause templates are done as a basic system which can be run
and everyone can isntall then everything he wants.
you can tar your enhanced VE then and use it as template
for future VEs. Most people wouldn't like to have huge VEs
with everything installed from the beginning.

Thanks,
Kirill
Re: Installing BIND on VE's [message #9238 is a reply to message #9236] Fri, 22 December 2006 13:46 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

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 #9255 is a reply to message #9232] Fri, 22 December 2006 23:15 Go to previous messageGo to next message
fxars is currently offline  fxars
Messages: 3
Registered: December 2006
Junior Member
> > 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.

Thanks for the help.
=== Al
Re: Installing BIND on VE's [message #9260 is a reply to message #9255] Sat, 23 December 2006 08:00 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

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"?
Previous Topic: DNS Server on OpenVZ.
Next Topic: Openvz Application
Goto Forum:
  


Current Time: Wed May 01 23:37:12 GMT 2024

Total time taken to generate the page: 0.01867 seconds