LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-09-2004, 11:45 AM   #1
elfoozo
Member
 
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265

Rep: Reputation: 32
Can you run Apache2 without Apache 1.3?


I thought I understood how Apache worked (loosely) and wanted just version 2 or just version 1 but not both if I don't have too. I hate needless bloat like what you get with most package installations on other distros so I'm trying to keep the OS footprint small.

I ran this command and installed with no errors.
apt-get install apache2-common apache2-doc

But , as root, if I say "which apache" it returns nothing. If I poke around looking for apache binaries or httpd2, I don't find anything that will let me launch httpd.

So I'm left wondering: Is Apache2 nothing more than configuration add-ons (or extendibility) to apache-1.3?

About my system: It was installed via FTP from a bootable diskette and I selected only bare mimimums to get up and running as a cli host. I installed it about 3 months ago and used the testing tree. Below is what sources I pull from and I want to say I left this unmodified since install time.... but maybe not because of the commented out first line. (getting older sux

localhost:/root# cat /etc/apt/sources.list
#deb http://ftp.us.debian.org/debian/ sarge main

deb ftp://ftp.us.debian.org/debian/ testing main
deb-src ftp://ftp.us.debian.org/debian/ testing main

deb http://security.debian.org/ stable/updates main
 
Old 05-09-2004, 02:12 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can have apache or apache2 installed - they are independant of each other. The problems you are facing happens a lot with rpms. To see what files a package installed:
rpm -ql packagename

This is one reason many people prefer to compile from source:
http://lamps.efactory.de/e-lamps-2-0.shtml
 
Old 05-09-2004, 03:05 PM   #3
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
The default name for the apache2 executable is "httpd", that's why which apache doesn't return anything. /etc/init.d/apache2 start or apachectl start should start the server. I don't remember if the apachectl script is renamed in the Debian packages (I have a Debian server but built Apache2 from source), but it's possible they call it apache2ctl or something to that effect.

Apache2 is the new branch of Apache - it doesn't require Apache 1.x to be installed. It's easy to build it from source if you have any doubts or problems with the prebuilt packages.

Håkan
 
Old 05-10-2004, 11:52 AM   #4
dirtmerchant
LQ Newbie
 
Registered: Apr 2003
Posts: 2

Rep: Reputation: 0
Re: Can you run Apache2 without Apache 1.3?

You'll actually want to apt-get install apache-mpm-worker. Apache2 is divided up into several forked versions. You get to pick and choose which ones to use. After installing that type "whereis apache2" and that should return the location of the important files. The main ones you'll want to look at are under /etc/apache2. You can also type "dpkg-reconfigure -plow apache2" to run the debian configuration script.



Quote:
Originally posted by elfoozo
I thought I understood how Apache worked (loosely) and wanted just version 2 or just version 1 but not both if I don't have too. I hate needless bloat like what you get with most package installations on other distros so I'm trying to keep the OS footprint small.

I ran this command and installed with no errors.
apt-get install apache2-common apache2-doc

But , as root, if I say "which apache" it returns nothing. If I poke around looking for apache binaries or httpd2, I don't find anything that will let me launch httpd.

So I'm left wondering: Is Apache2 nothing more than configuration add-ons (or extendibility) to apache-1.3?

About my system: It was installed via FTP from a bootable diskette and I selected only bare mimimums to get up and running as a cli host. I installed it about 3 months ago and used the testing tree. Below is what sources I pull from and I want to say I left this unmodified since install time.... but maybe not because of the commented out first line. (getting older sux

localhost:/root# cat /etc/apt/sources.list
#deb http://ftp.us.debian.org/debian/ sarge main

deb ftp://ftp.us.debian.org/debian/ testing main
deb-src ftp://ftp.us.debian.org/debian/ testing main

deb http://security.debian.org/ stable/updates main
 
Old 05-10-2004, 02:05 PM   #5
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
note: it's actually apache2-mpm-worker (note the 2)
 
Old 05-10-2004, 05:17 PM   #6
dirtmerchant
LQ Newbie
 
Registered: Apr 2003
Posts: 2

Rep: Reputation: 0
nerf

Note to self: Check caffeine level before posting.
 
  


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
Can php4 and php5 run simultaneously on apache2? tisource Linux - Software 1 09-14-2005 11:53 PM
Cann't run apache2 melinda_sayang Slackware 3 09-11-2004 07:15 AM
apache2 error message in run level hiplainsdrifter Linux - Networking 3 04-21-2004 01:18 PM
Need to remove Apache 1.3 default installation under Mandrake 8.1 so Apache2 can run RIOMX Linux - Software 6 12-13-2003 08:43 AM
Apache2 and Apache acid2000 Linux - Software 1 05-22-2003 01:27 PM

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

All times are GMT -5. The time now is 11:50 AM.

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