Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgrading Bind 1

Status
Not open for further replies.

tolerance

IS-IT--Management
Jun 25, 2001
10
US
Well, this all started the other day when I decide to upgrade to RH 7.1.

Long story short, I changed my mind and decided to go back to running RH 7.0. It's installed using the server option (News, Well, so far I have sucessful install Samba from a RPM ,but now I'm trying to upgrade Bind from RH 7.0 version which is Bind 8.2.2_P5 to Bind 9.1.0

I'm farely new to Linux and unix.

Here the question.

I have tried to ways to upgrade.

one.
downloaded the *.tar.gz
ran
gzip -d *.tar.gz
got the *.tar

tar -xvf *.tar
gives me the a directory.
cd to the directory
./configure
make

whats next??? How do I know where to install or does the systems already know.

two
downloaded the *.scr.rpm from rehdat bind-9.1.0-10.src.rpm.

I know that RPMs are easier to deal with but again how do I deal with the source rpm.

How do I make sure that I upgrade Bind and not install another copy somewhere else?

Any know online doc's would be a hugh help.
 
well if your playing with source then you need to first get rid of the BIND rpm. the same goes for if you're using the src.rpm

just make sure you backup your dns stuff first.

with the source stuff you would normally specify the install dir during ./configure using something like

./configure --prefix=/usr/local

this would install it under /usr/local in various dirs it needs, like /usr/local/sbin and /usr/local/include etc.

by default i think the prefix=/usr/local/bind but it's been all of 5 days since i did this so i might be wrong ;) in this case this new bind dir will contain it's own bin sbin include etc dirs.

i'm not sure how the src.rpms work but maybe it has all the desirable things configured. one way to check is to look at the Makefile and look for the prefix variable.

hth
 
Will it over writte the existing install of Bind or should I remove it first.
 
after I do a ./configure --prefix=/usr/local

whats the next step.

I'm so close I could break something.... x-)
 
ok the final step is to do "make install" - i forgot to mention that :)

if you look in /usr/local/ it should be pretty empty. this dir is typically used for applications that are installed manually like you are doing. most rpm stuff will be installed with the prefix /usr/ so doing the make install as it stands probably won't overwrite anything. but check first, and i would recommend uninstalling the bind rpm, since both versions will want the same port.

if you are unsure about this then installing to /usr/local/bind won't affect your final product, it might just make your dir structure messy if you have other stuff there later. some people prefer having everything to do with one application under ONE dir which is what this does. it just personal preference.

after the install is complete you will need to add startup scripts so it will run on bootup. what i usually do is edit the startup script that comes with the packaged bind. it will be somewhere like /etc/init.d/bind
you just need to change a few variables to point it to the correct dir.

phew. and after all of that, is there any reason why you can't use a bind9 rpm?

rpmfind comes up with
 
THANKS Mr Tom.

I guess the rpm would have been a better way to go.

Buy look at it this way. You edgimakated me.
 
Mr Tom,

I don't mean to be a pain, but what are the editrs I would need to do to the /etc/rc.d/init.d/named
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top