In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
I. Linux directory structure
It all starts with the root, the lunix directory is not the same as Windos. It has no partition and no disk letter.
II. Important catalogue uses of Linux
1 / Root directory important directory use
1.1GroupBin-normal user command file directory
1.2:/sbin-Super user directory file directory
1.3Rank _ etc-saves the profile information directory
1.4Rank lib-32-bit database
1.5:/lib64-64-bit library file
1.6 Plus Root-superuser home directory
1.7 home-home directory for ordinary users
1.8VAR-keep frequently changing data directories
1.9Virgo boot-system boot file directory
1.10 Pluto devo-system device configuration directory
1.11Rank mntRod-system temporary mount directory
1.12Granger tmp-system temporary file directory
1.13Groupusr-the root directory of the system (root backup)
1.14GRAPH opt-saves third-party program data
1.15 Pluto procc-system process and kernel information directory
2./etc directory important directory use
2.1:/etc/sysconfig/network-scripts/ifcfg-eth0
Network card profile
2.2:/etc/reslov.conf
Linux system DNS client profile
2.3.1:CentOS6 version / ect/hostname
2.3.2:CentOS7 version / ect/sysconfig/network
Hostname profile
2.4:/etc/hosts
DNS parsing file local to the system
2.5:/etc/fstab
Configure files to be automatically mounted by boot devices
2.6:/etc/rc.local
A file that stores the commands of the boot self-startup program
2.7:/etc/inittab
Configuration files such as system startup, run level, etc.
2.8:/etc/profile / etc/bashrc
Files that configure the environment variables / aliases of the system
2.9:/etc/profile.d
The directory where the script executed after the user logs in
2.10:/etc/issue / etc/issue.net
Configure a file that displays information before the user logs in to the terminal
2.11:/etc/init.d
The directory where the software startup program is located
2.12:/etc/motd
Configure a file that displays prompts after the user logs in to the system
2.13:/etc/redhat-release
A file that declares redhat version number and name information
2.14:/etc/sysctl.conf
Linux kernel parameter settings file
3./usr directory important directory use
3.1:/usr/local
The default location path for compiling and installing software
3.2:/usr/src
The directory where the source files are stored
Important directory uses of the 4./var directory
4.1:/var.log
Record the directory where the system and software operation information files are located
4.2:/var/log/messages
System-level log file
4.3:/var/log/secure
User login information log file
4.4:/var.log/dmesg
A log file that records hardware information loading
Important directory uses under the 5./proc directory
5.1:/proc/meminfo
System memory information
5.2:/proc/cpuinfo
Information about the system processor
5.3:/proc/lodavg
System load information, the result of uptime
5.4:/proc/mounts
List of loaded file systems
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.