AD

Linux Directory Configuration Overview

FHS (Filesystem Hierarchy Standard) standard defines three directories
1 /: boot the system with the
2. / Usr: with software installation / implementation of relevant
3. / Var: operation of the system

Root (/) where the tank should be as small as possible split, and the application software installed and is best not to split the root directory in the same tank, keep the root as possible. This not only better performance, the root directory where the file system is also less prone to problems.
Root (/), the content:
/ Bin: put a lot of the implementation of the system files, but / bin rather special. Because / bin is placed in a single maintenance mode can also be operating instructions.
/ Boot: This directory is used primarily in place to open the opportunity to file, including the Linux kernel file and boot menu and boot the necessary configuration files.
/ Dev: device is any device and interface to file the form in the directory which the.
/ Etc: the system almost all the main configuration file placed in this directory, such as personnel, account password file, initiate a variety of services documents.
/ Home: home folder
/ Lib: Power will use the library, as well as in / bin or / sbin following command calls the library
/ Media: removable devices, including CD-ROM, / media / cdrom
/ Mnt: mount some additional equipment being
/ Opt: the directory to place third-party software, such as the KDE graphical interface
/ Root: the system administrator's home folder
/ Sbin: boot, repair, restore system commands needed to
/ Srv: network service is activated, the service needs of the data directory, such as the www pages of data in / srv / www /
/ Tmp: temporary files place to place

Boot process, only root will be mounted the other partitions are mounted in the boot ongoing.
Five with the root directory must not be separated on different partitions: / etc / bin / dev / lib / sbin

/ Usr content
usr: UNIX Software Resource, UNIX operating system software resources, similar to the Windows [C: \ Windows \ + C: \ Program files \] a synthesis of these two directories.
/ Usr / bin: Users can use commands on here, and / bin difference (whether the power-related)
/ Usr / include: C / C + + header files
/ Usr / lib: Library of application software, the target file
/ Usr / local: install their own software
/ Usr / sbin: Non-system required for normal operation of the system command
/ Usr / share: share files
/ Usr / src: source generally placed where the kernel source to put the proposal / usr / src / linux /


/ Var content if / usr is to install a larger hard disk capacity will take up the directory, / var is in operation the system will gradually take up hard disk capacity of the directory.
/ Var / ** running the application itself will produce some temporary files
/ Var / lib: program needs to use the directory to place the data files
/ Var / lock: some devices can only be one person, so some facilities need to lock
/ Var / log: Log files are placed Directory
/ Var / mail: personal e-mail directory
/ Var / run: some program or service is activated, the PID will they be placed in this directory
/ Var / spool: put some of the queue data


For details, see **linux.vbird**/
标签: necessary configuration, root directory, software installation, temporary files, graphical interface, data directory, linux kernel, third party software, boot process, home folder, boot menu, boot repair, boot the system, maintenance mode, additional equipment, operat, filesystem hierarchy standard, unix software, software resource, configuration overview
分类: OS
时间: 2011-06-17

相关文章

  1. FHS standard linux directory configuration

    [[email protected] home]# ll / Grand total 146 drwxr-xr-x 2 root root 4096 2010-02-26 bin drwxr-xr-x 4 root root ...
  2. Linux file attributes and directory configuration

    Linux command help command is the name of man in our Linux system, by default, all system user accounts and th ...
  3. 3 minutes to understand Linux directory structure

    3 minutes to understand Linux directory structure http://www.linuxdiyf.com/bbs/thread-102369-1-1.html 3 minute ...
  4. Ubuntu Linux directory structure

    Ubuntu Linux directory structure Standard directory structure and important files / Root / Bin basic command o ...
  5. Linux common commands and Linux server configuration (change)

    Linux common commands and Linux server configuration First, add a user useradd command Examples: # Useradd-m-g ...
  6. Linux install configuration Jdk1.6 + Tomcat6 + Apache2.2.x + jk_mod1.2 Detailed

    Linux install configuration Jdk1.6 + Tomcat6 + Apache2.2.x + jk_mod1.2 details Java code This to Redhat AS5, t ...
  7. Linux server configuration

    Linux server configuration [Catalog] One, Linux based network service configuration Second, NFS server with Th ...
  8. Linux kernel configuration file. Config and Makefile

    ========================================== Preliminary Makefile ========================================== Lin ...
  9. View Linux hardware configuration

    How do I view Linux hardware configuration information N on the Internet to find a long, found a good document ...
  10. linux directory structure 1

    linux directory structure: Through the map, you can see in the linux root (/) directory of directories. bin di ...
  11. Oracle 10G Linux host configuration automatically start the next memo

    Oracle 10G Linux host configuration automatically start the next process credit, use the root user to modify / ...
  12. Linux directory Xiangjie and common commands Quick Check Guide

    Linux directory Xiangjie and common commands Quick Check Guide.
  13. [Maven web] jar package depth engineering reference copy directory configuration WEB-INF/LIB

    ] [Maven web project will jar package depth reference copy directory configuration WEB-INF/LIB
  14. Unix / Linux directory permissions: rwx other than s

    Had previously been a Linux directory permissions do not understand which of the s, is finally understand. Exa ...
  15. Redhat Linux network configuration (dual-card dual gateway setup)

    Redhat Linux network configuration: Is basically a Linux network configuration by modifying a few configuratio ...
  16. Bird Brother linux private kitchens (Basics - 9.Linux file attributes and directory configuration) Notes

    1 In our Linux systems, the default case, all the systems and the general status of user accounts, as well as ...
  17. Bird Brother linux private kitchens (Basics - 9.Linux file attributes and directory configuration) command

    1, change their group: chgrp [Root @ linux ~] # chgrp [-R] dirname / filename ... Parameters: -R: recursive co ...
  18. Linux font configuration and management

    Font files As previously mentioned, the font file records according to an encoding standard set of characters ...
  19. linux red5 configuration

    First need to install Red5 java development environment required to run jdk, all my files are saved to the / r ...