In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to introduce the important subdirectories of the linux system, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
Introduction of important subdirectories of linux system
Yesterday, I introduced the structure of the root directory of the system and the function of the first-level directory. Today, let's take a look at some important directories that the system needs to understand.
1 、 / etc/sysconfig/network-scripts/ifcfg-ehth0
Configuration file of the network card
We can modify the parameters of the network card through vi / etc/sysconfig/network-scripts/ifcfg-ehth0
You can also modify the parameters of the network card by using the command setup
2. / etc/resolv.conf sets the file of the local DNS
You can also use vi / etc/resolv.conf to modify the DNS configuration
3. / etc/hosts user IP and name (domain name) corresponding resolution configuration file
It is very practical in the actual production environment, mainly for server migration.
4. / etc/sysconfig/network modify machine name and network card startup and gateway configuration file
5. / etc/fstab records the files of the file system to be mounted when booting
6. / etc/inittab sets what kind of running level the init process will set the system to when the system starts and the files set by the relevant startup files
7. / the directory where the software startup service (system startup service) installed by etc/init.d is located
8. / configuration file for global environment variables of etc/profile system
9. / etc/issue displays the user's information before login
10. / etc/motd user login prompt
We edit the configuration file to write the prompt text, save the exit, and then log in to the system again to prompt the message.
11. / etc/group user's group name and related information
12. / etc/passwd system all user account information files
13. / etc/shadow system password information files for all users
14. / var/log/secure login system access information files (system security log files)
15. / var/spool/cron/ scheduled task configuration file
All scheduled tasks of the system are stored in this directory
After reading the above, do you have any further understanding of how to introduce the important subdirectories of the linux system? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.