1828657 Members
7639 Online
109983 Solutions
New Discussion

Re: httpd -v

 
Kyle D. Harris
Regular Advisor

httpd -v

I have RH 9.0 ... I did a httpd -v to see what version of apache is on here.
It says Server version: Apache/2.0.40

If i get httpd-2.0.48.tar.gz and run :
tar zxf httpd-2.0.48.tar.gz and do the
make
make test
make install

Then will it automatically take place of 2.0.40 ? Thanks
13 REPLIES 13
Mark Grant
Honored Contributor

Re: httpd -v

Depends if your original apache was installed in the same way, with the same defaults. For example, I believe a "vanilla" apache has it's configuration file in /etc/apache/httpd.conf whereas a Red Hat RPM puts it somewhere like /etc/apache/conf/httpd.conf. These sort of things can become a problem.

I would remove the original first just to be on the safe side.
Never preceed any demonstration with anything more predictive than "watch this"
Steven E. Protter
Exalted Contributor

Re: httpd -v

The answer to that question depends on how the tarball was put together.

Based on the command line I would think it would overwrite the old version.

But the only real way to be sure is to run the process in your post and then run httpd -v again.

That will give you the answer.

I would first back up the configuration, especially any customizations you've done on httpd.conf

I know with the rpm version running the rpm install does an overwrite without affecting customization in httpd.conf Same thing for HP depots on HP-UX.

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
Kyle D. Harris
Regular Advisor

Re: httpd -v

The old original version of apache was the default that comes with RH 9.0 ...
Kyle D. Harris
Regular Advisor

Re: httpd -v

I might have made a boo-boo... After tar zxf command on apache..

I did the ./configure --prefix=/usr/local/apache which went fine. But i forgot to include other options like --enable-ssl enable-cgi... stuff like that.. is there a way to go back? Or do i just re-run the ./configure command with those options? Thanks
Olivier Drouin
Trusted Contributor

Re: httpd -v

yes....you can reconfigure.
delete the config.cache ( or configure.cache ) first.
Kyle D. Harris
Regular Advisor

Re: httpd -v

Oliver.. Didn't have either of those names on the system.. I do have a configure.log

Same thing??
Steven E. Protter
Exalted Contributor

Re: httpd -v

The default version of apache in Red Hat 9 is an rpm install.

The tarball might overwrite it, might not. I remember rpm was designed to prevent this.

My confidence that your original procedure will work is much lower with this information.

I did a tar install of mozilla 1.5 on a system that came with mozilla 1.2.1 pre-installed rpm(Red Hat 9).

I can now use either version of the browser.

So, you might want to get the rpm version or use Up2date

On the other hand there is little to be lost for running a little test.

I am eager to see the results.

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
Kyle D. Harris
Regular Advisor

Re: httpd -v

Once i get the binary apache file , i can't just uninstall the rpm from the default apache for RH 9.0?

Steven, you know if the configure.log is what i would erase so i can do the ./configure command with more options again..? Thanks
Steven E. Protter
Exalted Contributor

Re: httpd -v

I endorse the methodology to remove the rpm first.

That will certainly work.

You must back up httpd.conf and any other configuration files prior to removing the rpm, or I fear those files may be removed as well.

I can't go into your question about the .configure and its log without actually trying it. I'm already on the latest apache release on my Red Hat 9 server.

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
Olivier Drouin
Trusted Contributor

Re: httpd -v

the *.cache file should be in the same directory that you issued ./configure .
It caches the config found by ./configure.

If you change something without deleting the *.cache file the changes may not apply. It could be possible that you dont have the file.
Kyle D. Harris
Regular Advisor

Re: httpd -v

I got the configure problem solved, thanks. I hadn't run the make yet, so re-running the configure command just overwrote it..

How does one know if they are the 32 bit installation or the 64 bit installation (Itanium 2) for Java Standard Developer Kit??
Olivier Drouin
Trusted Contributor

Re: httpd -v

from http://java.sun.com/j2se/1.4.2/download.html

it doesnt look like there is an itanium version out yet.
Steven E. Protter
Exalted Contributor

Re: httpd -v

If this is for an HP-UX Itanium Server java is kept here:

http://www.hp.com/go/java

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