CentOS partitioning scheme

Source: Internet
Author: User
(1) Basic partition scheme:/: the recommended size is 5 GB or above. Swap: swap partition. the recommended size is 1 ~ of the physical memory ~ 2 times. (2) advanced partitioning solution:/boot: used to store processes related to Linux startup

(1) Basic partition plan:

/: The recommended size is 5 GB or above.
Swap: swap partition. the recommended size is 1 ~ of the physical memory ~ 2 times.

 

(2) advanced partitioning solution:
/Boot: used to store programs related to Linux startup, such as boot loader. the recommended size is 100 MB.
/: Root directory of the Linux system. all directories are mounted under this directory. the recommended size is 5 GB or above.
/Home: stores the data of common users, which is the home directory of common users. the recommended size is the remaining space.
Swap: implements virtual memory. the recommended size is 1 ~ of physical memory ~ 2 times.

 

(3) advanced partitioning solution:
/Boot: used to store programs related to Linux startup, such as boot loader. the recommended size is 100 MB.
/Usr: used to store applications in the Linux system. the related data is large. it is recommended that the data size be greater than 3 GB.
/Var: used to store frequently-changing data and log files in Linux. it is recommended that the value be greater than 1 GB.
/Home: stores the data of common users, which is the home directory of common users. the recommended size is the remaining space.
/: Root directory of the Linux system. all directories are mounted under this directory. the recommended size is 5 GB or above.
/Tmp: place the temporary disk in an independent partition to avoid affecting the system stability when the file system is full. The recommended size is 500 MB or more.
Swap: implements virtual memory. the recommended size is 1 ~ of physical memory ~ 2x (specified when centos is installed in the physical environment ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.