How do i find the proper linux config file?
Hello, I'm a linux n00b reeeeeally eager to learn more about linux. I'm currently running redhat9 with a pretty full install. I'm working with Apache, mysql, php, vsftpd, and plenty more programs. The question I'm having is how do I identify the *correct* conf file for a particular installation. For example, when I search for httpd.conf, I find like 6 different paths. Some paths don't really have the conf file and some are files and not directories. So how do I locate the correct Apache config file?
Thanks in advance! Justin |
httpd.conf typically resides in /etc/ or /etc/apache/
/etc/ is the main configuration directory -- most configuration options about services for the OS will lay within there, somewhere. :) The other ones your finding are either backup copies, or examples. -Shade |
it's /etc/httpd/conf/httpd.conf.
samba config file is /etc/samba/smb.conf you can find out the path/syntax for various conf files by looking at the man pages, like man samba/man httpd. |
All times are GMT -5. The time now is 03:25 AM. |