LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-20-2005, 09:05 PM   #1
bwoodruff
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora C3, RH9, Ubuntu
Posts: 7

Rep: Reputation: 0
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
 
Old 08-21-2005, 03:57 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
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...
 
Old 08-21-2005, 04:00 AM   #3
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
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.
 
Old 08-21-2005, 05:57 AM   #4
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
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
 
Old 08-21-2005, 09:46 AM   #5
bwoodruff
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora C3, RH9, Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 08-21-2005, 12:18 PM   #6
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
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).
 
Old 08-21-2005, 03:00 PM   #7
bwoodruff
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora C3, RH9, Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling apache xrado Slackware 11 03-28-2005 10:44 AM
Compiling apache 2 Dannydy Linux - Newbie 1 07-25-2004 11:52 AM
Compiling Apache x3m.seth Linux - Software 0 11-03-2003 06:08 PM
Compiling Apache 2.0.46 on RH 9 ! _n3w_by_ Linux - Software 0 07-04-2003 04:41 PM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration