Why does the default Ubuntu Server 6.06.1 LAMP install not follow the installation paths for *any* books that have been published?

Asked by MooreAD4473

I recently procurred the book "Apache2 Server Bible" by Mohommad J. Kabir and I look for paths from this book about *default* install paths for Apache2, and the files are nowhere to be found. I have also looked online at numerous apache forums and the locations in ubuntu just arent the same. Take for instance the Apache2.conf.

According to this book it should be in /usr/local/apahe2/ but its in /etc/apache2 instead.

I just think that when you guys are developing in the future someone might think about sticking to having stuff install in the same places, barring something that will speed things up.

Thanks.

Arrick Moore

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Aldous Peñaranda (dous) said :
#1

Hi,

Ubuntu (and Debian) packagers try to follow a certain set of rules in creating software packages. This includes a convention on where to place configuration files.

The usual place to find configuration files are under /etc. That's the reason why the apache config files are places in /etc/apache2. They could have theoretically been placed directly under /etc but the packager(s) chose to make a subdirectory for apache under /etc to group all the files together.

/usr/local is "reserved" (and is usually used) for software that you (or an administrator) install from source. The book may have assumed that you were installing from source and not from a package distributed by your Linux distro.

I hope this helps.

Can you help with this problem?

Provide an answer of your own, or ask MooreAD4473 for more information if necessary.

To post a message you must log in.