Operating System - Linux
1819791 Members
3351 Online
109607 Solutions
New Discussion юеВ

how to upgrade from httpd-2.0.52-9.ent to httpd-2.0.54.tar.bz2

 
SOLVED
Go to solution
Maaz
Valued Contributor

how to upgrade from httpd-2.0.52-9.ent to httpd-2.0.54.tar.bz2

Dear Experts
I have download the latest version from httpd.apache.org(httpd-2.0.54.tar.bz2), to upgrade httpd-2.0.52-9.ent.
But when I unzip/untar
./configure
make
make install
didnt upgrade the httpd-2.0.52-9.ent but simply installs a separate apache server,
i.e
# rpm -q httpd
httpd-2.0.52-9.ent
and the new versions is also available under /usr/local/apache2/
how to upgrade then ?

Regards
Maaz
5 REPLIES 5
Ivan Ferreira
Honored Contributor
Solution

Re: how to upgrade from httpd-2.0.52-9.ent to httpd-2.0.54.tar.bz2

To upgrade a package installed via rpm, you need the updated rpm package, and use the command rpm -Uvh apache-version.rpm.

If you install from the source, can't be managed via rpm commands, and will install in another location unless you specify the --prefix option.

If you want to update from the source, you need to save the configuration files, remove the rpm package and its dependencies, install the source and restore the configuration files.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: how to upgrade from httpd-2.0.52-9.ent to httpd-2.0.54.tar.bz2

See also this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=958413
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: how to upgrade from httpd-2.0.52-9.ent to httpd-2.0.54.tar.bz2

What has happened is not a bad thing.

Right, to upgrade rpm you should get and use rpm.

But you can now test this new webserver to see if it works as planned.

I do recommend getting an rpm.

But when you are all done, if you like this better, you can remove the rpm server and the only webserver left will be this nice new one you installed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
dirk dierickx
Honored Contributor

Re: how to upgrade from httpd-2.0.52-9.ent to httpd-2.0.54.tar.bz2

you can always roll your own RPM, compiling the software yourself and making a package out of it. there are tools to help you with that, i would recommend 'checkinstall'

http://checkinstall.izto.org/
Maaz
Valued Contributor

Re: how to upgrade from httpd-2.0.52-9.ent to httpd-2.0.54.tar.bz2

Thanks for the HELP ;)

Regards
Maaz