LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-12-2004, 06:26 PM   #1
tiger0516
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
Newbie questions: about Apache & RPM


Hi Gurus

I am new to Linux. I just installed Apache to my linux. However, I find there are two Apache httpd.conf files, one is under /etc/httpd/conf and one is under /usr/local/apache2/conf.

I download Apache and installed it by default, so the /usr/local/apache2 should be the directory I just installed.

Can anyone tell me what's the difference between the system default one (etc/httpd) and the one I just created and installed?

I find the configure file in the /usr/local/apache2 does not work.

Learning from FHS website, it seems /usr/local/apache2/htdocs should not be an ideal place for default WWW directory, it should be /home/somewhere, right?

Also, I want to install a new package with RPM. How can I find if the xxx.rpm is in my machine? How can I find which packages have been installed? rpm -Va?

Thanks
 
Old 08-12-2004, 06:28 PM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
rpm -q package.rpm
for one package and
rpm -qa
for all packages on the system.
 
Old 08-12-2004, 06:35 PM   #3
tiger0516
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Jatt_thugz
rpm -q package.rpm
for one package and
rpm -qa
for all packages on the system.
Thanks for your help. Just use rpm -qa>list as your suggestion to get a full list of installed packages.

The install log (located in /root) tells me that there are lots of uninstalled packages. How can I find them? (install a package by "rpm -i package, right?) Is there any place I can download packages? Through redhat website?

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm -e & yum -remove. Easy questions. rickh Fedora 10 12-26-2005 10:46 AM
Newbie questions on fw & routing. fipeso Linux - Networking 2 04-25-2005 04:25 PM
Dual Boot, RPM...all newbie questions l2g Linux - Newbie 2 02-14-2004 01:50 PM
Newbie Kernel upgrade ? & up2date rpm hell lsgko Linux - Newbie 2 08-06-2003 06:59 PM
Newbie on Apache and PHP rpm install on RH8 1beagle Linux - General 5 03-11-2003 06:54 PM


All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration