In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 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 the basic knowledge of the CentOS system, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
Some friends have been wondering about the fog of the CentOS system. If there is no graphical interface, how can I read the contents of my CD? For those who are familiar with it, this is very easy, but for those who do not understand the CentOS system, they feel that they do not know how to start. Today is the right time to install something, use a CD, and learn a trick to record it, so that they will not forget it in the future.
The CentOS system maps each physical device to a file, which is placed under the / dev file (the directory in the CentOS system is also a file), and the optical drive maps to a file called cdrom. The mount command is the basic command for mounting the optical drive, which can be followed by parameters. Choose the mount point before mounting the CD-ROM drive. Here I mount the file under / Media/CentOS. CentOS is the newly created file.
Knowledge used in CentOS system
Parameters.
-V display program version
-h display auxiliary message
-v displays more messages and is usually used with-f for debugging.
-a Mount all file systems defined in / etc/fstab.
The command-F is usually used with-a, which generates a stroke for each mount action to be executed. When the system needs to hang a large number of NFS file system, you can speed up the action of hanging.
-f is usually used for debugging purposes. It causes mount not to perform the actual mount action, but to simulate the entire mount process. Usually used with-v.
-n generally speaking, mount will write a piece of data in / etc/mtab after hanging up. However, you can use this option to cancel this action if there is no writable file system in the system.
-smurr equals-o ro-w equals-o rw
-L hangs the hard drive with a specific label on it.
-U hangs up the file system with the file division serial number. -L and-U only make sense when files such as / proc/partition exist.
-t specifies the type of file system, which is usually not required. Mount automatically selects the correct type.
-o async turns on asynchronous mode, and all file read and write actions are performed in asynchronous mode.
-o sync executes in synchronous mode.
-o atime
-o noatime when atime is opened, the last call time of the archive is updated each time the archive is read. When we use the flash file system, we may choose to turn this option off to reduce the number of writes.
-o auto
-o noauto toggles auto hang mode on / off.
-o defaults uses the default options rw, suid, dev, exec, auto, nouser, and async.
-o dev
-o nodev-o exec
-o noexec allows executable files to be executed.
-o suid
-o nosuid allows execution files to be executed under root permissions.
-o user
-o nouser users can perform mount/umount actions.
-o remount remounts a suspended file system in a different way. For example, a system that used to be read-only is now re-hung in read-write mode.
-o ro hangs in read-only mode.
-o rw hangs in read / write mode.
-o loop= uses loop mode to attach a file to the system as if it were a hard disk partition.
This knowledge is what we understand and can use when we are using CentOS system.
After reading the above, do you have any further understanding of the basic knowledge of CentOS 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.