zoukankan      html  css  js  c++  java
  • Linux系统指令/工具设定文件

    开机

    • 核心文件:/boot/vmlinuz
    • 虚拟文件系统镜像:/boot/initrd|/boot/initramfs
    • 核心模组位置:/lib/modules/
    • 核心源码:/usr/src/linux|/usr/src/kernels/
    • 需要核心载入模组的设定文件位置:/etc/modules-load.d/*.conf
    • 需要核心带参数载入模组的设定文件位置:/etc/modprobe.d/*.conf
    • 模组依赖文件:/lib/modules/$(uname -r)/modules.dep
    • 核心模组文件:*.ko
    • 文件系统挂载:/etc/fstab
    • grub2设定文件:/boot/grub2/grub.cfg
    • grub设定文件修改生成:/etc/default/grub,/etc/grub.d/

    函数库

    • 默认路径:/usr/lib,/usr/lib64
    • 动态函数库:libxxx.so
    • 静态函数库:libxxx.a
    • 核心:xxx.ko
    • 函数库载入缓存配置:/etc/ld.so.conf

    shell环境

    • /etc/profile
    • ~/profile
    • ~/bashrc  {/etc/bashrc}

    系统服务

    • daemon初始化环境设定文件目录:/etc/sysconfig/
    • 服务与端口对应参考设定文件:/etc/services

    systemd

    • 服务设定位置:
      • /usr/lib/systemd/system/
      • /run/systemd/system/
      • /etc/systemd/system/(一般为连接文件)
    • service设定文件:
      • /usr/lib/systemd/system/*.service: 预设设定文件
      • /etc/systemd/system/system/*.service.d/: 用户个性化设定文件,会被加入设定
      • /etc/systemd/system/system/*.service.wants/: 连结文件,启动该服务后推荐启动的其他服务
      • /etc/systemd/system/system/*.service.requires/: 连结文件,启动该服务之前,需要预先启动的服务

    systemV

    • super daemon管理:xinetd/inetd
    • xinetd设定文件:主要设定文件(预设值)/etc/xinetd.conf |各daemon个性化设定文件目录/etc/xinetd.d/
    • 各服务各自设定文件目录:/etc/

    用户与群组

    • /etc/passwd
    • /etc/shadow
    • /etc/group
    • /etc/gshadow
    • /etc/default/useradd   {SKEL=/etc/skel}
    • /etc/login.defs
    • /etc/sudoers

    磁盘配额

    • /etc/projects
    • /etc/projid

    磁盘阵列

    • /etc/mdadm.conf

    PAM模组

    • /etc/pam.d/
    • /lib64/security/
    • /etc/security/

    定时任务

    • /etc/at.allow
    • /etc/at.deny
    • /etc/cron.allow
    • /etc/cron.deny
    • /etc/crontab
    • /etc/cron.d/     (/etc/cron.hourly/,/etc/cron.daily/,/etc/cron.weekly/,/etc/cron.monthly/)
    • /etc/anacrontab

    日志

    • /etc/rsyslog.conf
    • /etc/rysylog.d/
    • /etc/logrotate.conf
    • /etc/logrotate.d/

    SELinux

    • /etc/selinux/config

    网络 /etc/sysconfig/

    • /etc/sysconfig/network-scripts/ifcfg-连接名称 网络配置(ip,netmask/prefix等)
    • /etc/sysconfig/network-scripts/route-连接名称 路由设置 
    • /etc/hostname

    软件管理

    • yum设定文件:/etc/yum.conf
    • yum仓库设定:/etc/yum.repos.d/*
    • pacman实际设定:/etc/pacman.conf
    • pacman设定:/etc/pacman.d/

    其他

    • /etc/nologin.txt
    • /etc/nologin
  • 相关阅读:
    第三周作业 1802王兆明
    3.19 第二次作业
    Android-----------ListView练习
    Android----------------------滚动视图练习
    Android-------------------CheckBox小练习
    Android注册
    Android登陆界面
    第一上机练习~~~~~~~~~~~~~~~~~~~~~~~~~~~~武汉一定要加油!!!
    第一上机练习~~~~~~~~~~~~~~~~~~~~~~~~~~~~武汉一定要加油!!!
    第5上机练习~~~~~~~~~~~~~~~~~~~~~~~~~~~~武汉一定要加油!!!
  • 原文地址:https://www.cnblogs.com/wanghaoxiang/p/8333816.html
Copyright © 2011-2022 走看看