Linux下常用配置文件整理


整理了Linux下常用配置文件。

etc/httpd/conf/httpd.conf

/etc/rc.local   有时可以读出来apache的路径

/usr/local/apache/conf/httpd.conf

/var/www/html/apache/conf/httpd.conf

/home/httpd/conf/httpd.conf

/usr/local/apache2/conf/httpd.conf

/usr/local/httpd/conf/httpd.conf

/etc/apache/httpd.conf

/usr/local/lib/php.ini

/etc/hosts.deny 定义禁止访问本机的主机

/etc/bashrc bash shell 的系统全局配置

/etc/group 系统用户组的定义文件

/etc/httpd/httpd.conf

/etc/issue 显示Linux核心的发行版本信息(用于本地登陆用户)

/etc/issue/net 显示Linux核心和发行版本信息(用于远程登陆用户)----没成功

/etc/ssh/ssh_config   ssh配置文件

/etc/termcap 终端定义和配置文件www.bkjia.com

/etc/xinetd.d

/etc/mtab     包含当前安装的文件系统列表   有时可以读取到当前网站的路径

RedHat-release:包含识别当前Red Hat 版本号的字符串

shells:列出可用在系统上的shell命令行解释器(bash,sh,csh等).

/etc/vsftpd/vsftpd.conf

/etc/xinetd.conf xinetd 配置文件

/etc/protocols 列举当前可用的协议

/etc/logrotate.conf 维护 /var/log 目录中的日志文件

/etc/ld.so.conf “动态链接程序”(Dynamic Linker)的配置。

我在我的系统中安装了非常有用的 wget 实用程序。/etc/ 中有一个 /etc/wgetrc 文件
/etc/wgetrc

Linux操作系统用户配置文件
/etc/passwd

/etc/shadow

/etc/inputrc

DNS客户机配置文件,设置DNS服务器的IP地址及DNS域名
/etc/resolv.conf

内容为Default Router的ip地址
Redhat 5.x: /etc/sysconfig/network

/etc/sendmail.cf (Linux) Sendmail(EMAIL服务器)配置文件
/etc/sendmail.cw 本地主机名

相关内容