httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Nelson" <pete.nel...@ci.stpaul.mn.us>
Subject Re: Dumb compile question - on live server?
Date Tue, 05 Mar 2002 15:36:32 GMT
I've upgraded our server on several occasions, and these are the steps I
usually take:

1. Make sure I'm installing the same modules.  I run 'httpd -l' to see
a list of compiled-in modules, and make sure I use those same modules
again for consistancy.  I actually also keep a file called
'apache-config.txt' in my home directory that has the options for the
'configure' tool.  There's nothing worse than rebuilding Apache only to
find it's missing some critical module (been there, done that!)

2. Run ./configure and make. 

3. Shut down Apache, run 'make install', and start Apache.  The 'make
install' takes between 5 and 15 seconds on my machine (400MHz PII runing
RedHat 6.2), so I really don't consider that 'downtime'.  I've found
this to be a safer method than overwriting a running server - I've had
the server hang instead of restart, causing more downtime than if I'd
just stopped it prior to 'make install'.

This is my process, anyway.  Maybe someone else has a better way. 

Good Luck!

--
Pete Nelson, Web Developer
<pete.nelson@ci.stpaul.mn.us>
http://www.ci.stpaul.mn.us/

>>> jon_list@driftwood.net 03/05/02 09:16AM >>>
We have a production RH 6.2 server with RH's "Secure Web" server, and
need 
to recompile Apache to include Front Page extensions for a client.

Dumb question to some, I know, but I'm compelled & paranoid enough to
ask:

Can we safely compile & install the newest verion of Apache (1.3.23) on
a 
live - in production - web server?   Is it really as simple as
installing 
the fresh sources, config/make/install the binary, and restarting 
Apache?  We really only seem to need mod_ssl, mod_perl and FP; but
can't 
get FP witout recompiling.

Anxious to not interupt the active sites on the server, nor paint
ourselves 
into a corner via overwriting anything.  But I would rather avoid
having to 
build up a new box, doing the compile, and migrating the sites
manually.

It'll be my first Apache compile (yeah!).  On a twin 1.7g CPU, 1-gig
RAM, 
UW-SCSI firebreather.  So any relevant optimization (or links to)
settings 
anyone can recommend for twin-CPU boxes would be also sincerely
appreciated.

Thanks!

Jon



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org 
For additional commands, e-mail: users-help@httpd.apache.org 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message