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 |
rpm -q package.rpm
for one package and rpm -qa for all packages on the system. |
Quote:
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 |
All times are GMT -5. The time now is 10:39 AM. |