Compiling Apache when I already have Apache that came with Fedora
Hi,
I have Fedora Core 3, and I was stupid and lazy and had the installer install Apache for me. Now, of course, I'm regreting it. I want to use mod_gzip. But I can't with the apache that came with Fedora. So I have to recompile it. But isn't this going to cause problems? My install of Apache already works fine, I don't want to mess it up. Could someone give me some guidance on what to do? Thanks, Ben |
if u let it listen on a different port than 80 you wont have difficulties, i guess. Change it in httpd.conf accordingly before starting...
|
Also, when compiling from source it will install in /usr/local by default, so you can easily remove it as the Apache that comes with your OS will be installed in /usr/ instead.
Some installers support a “make uninstall” option to delete a program after installation; I'm not sure if Squid does. |
i guess i got you wrong anyway. probably you dont want to run two servers on the same box as i had thought...
i guess u dont even need to recompile apache but add mod_gzip...you may take a look at this http://www.faqs.org/docs/Linux-HOWTO...TO.html#AEN601 |
Quote:
I think there is a way to do it from the Fedora CD, but I'm not sure? |
If it's installed through RPM, you can do this with
Code:
sudo rpm -e httpd |
ok, I got another copy of apache installed, and both copies seem to be working.
Once I get the new install working the way I want I'll make it the public one and uninstall the old one. Now the problem is I can't install mod_gzip. I get compile errors. Can someone link me to a working mod_gzip.so file for LINUX? |
All times are GMT -5. The time now is 07:25 PM. |