[TriLUG] what is this stuff?
wia at iglass.net
Fri Sep 15 17:13:15 EDT 2006
If you compiled the apache source yourself the default install
location for everything is below /usr/local/apache2. The document
root (where all the html files go) is then /usr/local/apache2/htdocs,
the httpd executable would be in /usr/local/apache2/bin, logs in
If RedHat's (or CentOS's) packaged rpm for apache was installed
its more integrated into the rest of the system as opposed to
isolated in /usr/local. The document root is /var/www/html,
httpd is put in /usr/sbin/, and logs in /var/log/httpd
So it looks like you have CentOS's apache installed, probability
from when you first setup the system.
Mysql is going to be similar depending on if you installed from
source or the rpm.
> -----Original Message-----
> From: trilug-bounces at trilug.org
> [mailto:trilug-bounces at trilug.org] On Behalf Of jason watts
> Sent: Friday, September 15, 2006 3:36 PM
> To: trilug at trilug.org
> Subject: [TriLUG] what is this stuff?
> ok, paying attention to the book i am reading, php and mysql
> it has me setting up my enviornment installing mysql, php and
> appache 2
> appache 2 and php is there from my former workings on the
> computer, or the
> original install
> the book said appache should be in ./usr/local/apache2
> also says if i had mysql installed, it would be in the same place,
> it also says that the root directory for apache is in
> on my system, the root directory for apache is in /var/www/html
> and as far as for apache, i ran find . -name httpd and came
> up with several
> [root at localhost /]# find . -name httpd
> my question is, which of these is the directory i need?
> what do these and some of the other ones not listed usually
> used for? (eg,
> what is var usr etc dev lib proc srv )
> and, where is it recomended to install my apache and mysql too?
> sorry for all the questions of late, just trying to acutally make my
> computers do things now
More information about the TriLUG