歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Linux下常用配置文件整理

Linux下常用配置文件整理

日期:2017/2/28 16:26:23   编辑: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.linuxidc.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 本地主機名

Copyright © Linux教程網 All Rights Reserved