Computing.Net > Forums > Linux > Help with RPM files, and root direc

Help with RPM files, and root direc

Reply to Message Icon

Original Message
Name: iN3cRyPT
Date: December 11, 2003 at 15:58:52 Pacific
Subject: Help with RPM files, and root direc
OS: Redhat 9.0
CPU/Ram: 400mhz
Comment:


Ok, i installed apache and it's working well and all but a RPM just isn't the same as compiling it. (as you can tell i'm kinda new to nix). What i'm wondering is where the apache config file is... there's a few other RPM files i've installed and i have no clue where they're config file is. since i got em off of www.rpmfind.net there's no help files or anything like that... THANKS SOO MUCH IN ADVANCE ;)


Report Offensive Message For Removal

Response Number 1
Name: anonproxy
Date: December 11, 2003 at 18:15:41 Pacific
Subject: Help with RPM files, and root direc
Reply: (edit)

Try these first:
/usr/local/apache/conf/httpd.conf
/etc/apache/httpd.conf
/etc/httpd/httpd.conf [Redhat default, IIRC]
/etc/httpd/conf/httpd.conf

Then look for the config file with the command:

find / -name 'httpd.conf'

The find command is very helpful.

Don't forget you are not at the mercy of forums. Linux documentation can get you far.


Report Offensive Follow Up For Removal

Response Number 2
Name: iN3cRyPT
Date: December 11, 2003 at 18:31:59 Pacific
Subject: Help with RPM files, and root direc
Reply: (edit)

Thanks, i'll rember the find command :)


Report Offensive Follow Up For Removal

Response Number 3
Name: 3Dave
Date: December 12, 2003 at 06:54:16 Pacific
Subject: Help with RPM files, and root direc
Reply: (edit)

You can get a list of files within an RPM package with:
$ rpm -ql packagename

Yep, "find" is a useful tool but can often take a while to go through an entire filesystem. If you keep your locate database up to date with "updatedb", then you can get a quick search response with:
$ locate httpd.conf


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Help with RPM files, and root direc

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software