In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How do I partition a linux disk? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!
Linux disk partition: 1. Linux disk can set boot partition, swap partition and root partition; 2, set partition mount directory; 3, assign partition to [/ home]; 4, set 100MB for [/ boot].
Linux disk partitions:
First, Linux can be divided into three partitions by default, namely, boot partition, swap partition and root partition.
Second, set the directory to be mounted in the partition
/-root directory, the only directory that must be mounted. Don't hesitate to pick a partition and mount it!
Swap-swapping partitions may not be necessary, but traditionally, mount it. Its capacity is only about equal to your physical memory, and if it exceeds twice the capacity of your physical memory, it is definitely a waste.
Third, it is recommended to partition a novice or computer with relatively small hard disk space for the first time in Linux.
The partition is shown below:
Fourth, set the directory to be mounted in the partition
/ home-this is your home directory. Usually the files you create are saved here, and you'd better assign a partition to it.
/ boot-if your hard drive does not support LBA mode, you'd better mount it. If you mount it, it should be safe to mount it in the first partition of your hard disk. Generally speaking, the mounted partition only needs to be 100m in size.
Fifth, for Linux advanced users, installation recommendations:
To add the above mounted directory:
6. Set up the directory to be mounted in the partition
/ var-if you want to do some server applications, consider assigning it a larger partition.
Seventh, it is recommended for Linux advanced Server users to install:
You can add the above mounted directory in the previous step:
Thank you for reading! After reading the above, do you have a general idea of how to partition linux disks? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.
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.