In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
I. structure information under the root of the liunx system directory (/) boot directory storage boot system startup file information etc directory storage system service configuration file information opt/usr directory storage user installed third-party software program information root system super management user's home directory home ordinary user's home directory var directory storage system log file tmp directory Temporary data storage directory sbin directory binary Super Admin command file directory (super Binary) bin directory binary ordinary user command file directory (Binary) media directory for audio, Video pictures lib directory repository files directory lib64 directory stores 64-bit library files directory level official materials: http://www.pathname.com/fhs/pub/fhs-2.3.html II, / etc directory important documents 1. Nic configuration file path information: / etc/sysconfig/network-scripts/ifcfg-eth0 / etc/sysconfig/network-scripts/ifcfg-eth0 function: configure Nic address information 2, Domain name service profile path information: / etc/resolv.conf / etc/resolv.conf function: whether you can access the name or domain name information 3, Local domain name resolution profile path information: / etc/hosts / etc/hosts function: local name resolution (used to access different servers Generally used for local development website testing) 4. Boot command file path information: / etc/rc.local / etc/rc.local function: automatically run command information after system startup. 5. System automatic mount file path information: / etc/fstab / etc/fstab function: to achieve automatic storage device mount 6. Environment variable profile and permanent setting aliases profile path information: / etc/profile / etc/profile function: for setting environment variables and permanent setting aliases 7, System runlevel file path information: / etc/initab / etc/initab function: define which software programs are opened automatically after the system is turned on. 8. System login prompt file path information: / etc/motd / etc/motd function: display prompt information after logging into the system file path information: / etc/issue and / etc/issue.net / etc/issue and / etc/issue.net function: display a prompt message before logging into the system. 9. System hostname profile path information: / etc/hostname / etc/hostname function: used to repair hostname 10, Selinux security profile file path information: / etc/selinux/config / etc/selinux/config function: selinux security service 11. System character optimization file path information: / etc/locale.conf / etc/locale.conf function: avoid Chinese garbled 12, System remote connection optimization file path information: / etc/ssh/sshd_config / etc/ssh/sshd_config function: solve the slow remote connection Increase connection speed 13, system prompt optimize file path information: / etc/profile / etc/profile function: add a special environment variable PS1 (ps1 setting for example: PS1=' [\ [\ e [31]) 1m\]\ u\ [\ e [0m\] @\ [\ e [34ET1m\]\ h\ [\ e [0m\]\ [\ e [32bot 1m\]\ W\ [\ e0m\]\ [\ e [33] 1m\]\ t\ [\ e [0m\]\ $'prompt setting) 14. System version information file path information: / etc/radhat-release / etc/radhat-release function: store linuxcentos version information
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.