Differences between revisions 2 and 3
Revision 2 as of 2005-01-12 16:38:04
Size: 1866
Editor: anonymous
Comment:
Revision 3 as of 2005-01-12 16:41:35
Size: 1864
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
The LinuxWorld link above does work, but it's not exactly informative about the Debian way of doing things. For Debian, you need first to ensure your /etc/apt/sources.list correctly describes your system. Then start with one of "apt-get update" or "aptitude update", then "apt-cache search apache || less". This will list all the apache related software available in the Debian repositories. For a newbie, this is where the confusion begins. There's "apache" along with all its related packages (-doc, -dev, -common, -perl, ...) and there's "apache2" and its related packages. In "Sarge" (12Jan2005 Debian testing), there's also "apache2-mpm-perchild" along with its related "-prefork", "-threadpool", and "-worker". The cnet.com link above does work, but it's not exactly informative about the Debian way of doing things. For Debian, you need first to ensure your /etc/apt/sources.list correctly describes your system. Then start with one of "apt-get update" or "aptitude update", then "apt-cache search apache || less". This will list all the apache related software available in the Debian repositories. For a newbie, this is where the confusion begins. There's "apache" along with all its related packages (-doc, -dev, -common, -perl, ...) and there's "apache2" and its related packages. In "Sarge" (12Jan2005 Debian testing), there's also "apache2-mpm-perchild" along with its related "-prefork", "-threadpool", and "-worker".

Apache Web Server

Excellent articles for beginners on Apache configuration:


Debian's apache packages come configured to run as user 'www-data'. This is potentially confusing: files to be served by apache should not be owned by 'www-data', as apache should not normally be allowed to modify them (i.e. as long as you're not running a wiki).


The cnet.com link above does work, but it's not exactly informative about the Debian way of doing things. For Debian, you need first to ensure your /etc/apt/sources.list correctly describes your system. Then start with one of "apt-get update" or "aptitude update", then "apt-cache search apache || less". This will list all the apache related software available in the Debian repositories. For a newbie, this is where the confusion begins. There's "apache" along with all its related packages (-doc, -dev, -common, -perl, ...) and there's "apache2" and its related packages. In "Sarge" (12Jan2005 Debian testing), there's also "apache2-mpm-perchild" along with its related "-prefork", "-threadpool", and "-worker".

Once you've figured out which packages you need to install, one or the other of "apt-get install apache apachetop ..." or "aptitude install apache apachetop ..." will bring them down and start setting them up. If you're adventurous, you could even install and build them from source. Newbiedoc would be a good place to go for information on how to do this.

In my case, I'm trying to get Cacti working to display Cisco NetFlow data. I know this relies on PHP, so I'm going to have to hunt around for that too.

I'll come back when I'm done and update this with what I find out.