[CentOS] A silly question about getting access to webapp installed with yum

Wed Jan 11 17:09:54 UTC 2012
Brian Mathis <brian.mathis+centos at betteradmin.com>

On Wed, Jan 11, 2012 at 11:58 AM, Rajagopal Swaminathan
<raju.rajsand at gmail.com> wrote:
> Greetings,
>
> I have helped host a few applications such as GLPI, OCSInventory, etc
> etc. using the tarball method and untarring them in /var/www/htom
> directory.
>
> I have never done them though using yum.
>
> I was trying to install Trac, Bugzilla etc using yum install method on
> a Centos 6.2 box.
>
> Somehow I am not able to see the respective pages say even using
> http://localhost/trac or http://localhost/bugzilla
>
> Now comes the elementary and stupid question:
>
> Now where do these stuff get installed? they are not under /var/www/html
>
> I did find some under /usr/share
>
> Any pointers to instantiate them?
>
> I am not good at understanding what that beast of yum does as to post
> install script. Though I have created a mysql with CSV and blackhole
> engines about a year back and as I did it for a client of the company
> where I worked then and cannot have my grubby hands on that script.
>
> Any help appreciated.
>
> TIA
>
> --
> Regards,
> Rajagopal


Yum only downloads and installs RPM files, so in general you will use
the rpm command to get the details of the packages you installed.

You can see all the files included in a package by using "rpm --query
--list <package>".  For apache web apps, the centos style is to place
an include file in /etc/httpd/conf.d with the configuration for the
app, but your apps might have done something different.  Take a look
at the include file and see if you need to configure something.  There
may be docs in /usr/share/doc/<packagename> explaining what you need
to do.


❧ Brian Mathis