LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Compiling Apache when I already have Apache that came with Fedora (https://www.linuxquestions.org/questions/fedora-35/compiling-apache-when-i-already-have-apache-that-came-with-fedora-355344/)

bwoodruff 08-20-2005 09:05 PM

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

j-ray 08-21-2005 03:57 AM

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...

rjlee 08-21-2005 04:00 AM

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.

j-ray 08-21-2005 05:57 AM

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

bwoodruff 08-21-2005 09:46 AM

Quote:

Originally posted by rjlee
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.

Can you please tell me how to remove the FC3 apache? I'm pretty sure it's installed in /etc/httpd/ because that's where all my config files are (/etc/httpd/config/httpd.conf).

I think there is a way to do it from the Fedora CD, but I'm not sure?

rjlee 08-21-2005 12:18 PM

If it's installed through RPM, you can do this with
Code:

sudo rpm -e httpd
(or whatever package name or names apache comes in. Probably httpd or apache, possibly with -server on the end. It will tell you if you get the name wrong or have to uninstall something else, like a module, first).

bwoodruff 08-21-2005 03:00 PM

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.