配置文件文件夹下常用配置文件整理(/etc目录)
系统用户配置文件 /etc/passwd
系统密码文件 /etc/shadow
组基本信息 /etc/group
IP与主机名映射文件 /etc/hosts
yum仓库配置文件 /etc/yum.repos.d/*.repo
selinux配置文件 /etc/selinux/config
chrony服务配置文件 /etc/chrony.conf
ftp服务配置文件 /etc/vsftpd/vsftpd.conf
http服务配置文件 /etc/httpd/conf/httpd.conf
网卡配置文件 /etc/sysconfig/network-scripts/ifcfg-ens33
系统全局环境变量 /etc/profile
用户专属环境变量 ~/.bash_profile
DNS配置文件 /etc/resolv.conf
系统版本信息 cat /etc/redhat-release
cpu信息 cat /proc/cpuinfo
存放端口号的配置文件 /etc/service
当前系统支持的shell类型(只是其中的一部分,还有其他shell在别的路径下) /etc/shells
查看系统内核版本 cat /proc/version 和 uname -a
资源限制配置文件(最大文件描述符) /etc/security/limits.conf
本文汇总了系统中/etc目录下的重要配置文件,包括用户密码、主机映射、yum仓库、SELinux设置、 chrony同步、FTP、HTTP服务、网络接口、环境变量、DNS、系统信息、CPU、资源限制等,助您快速理解并管理系统配置。
1730

被折叠的 条评论
为什么被折叠?



