System installation disk partition

Create a partition in linux:
/boot partition to place the boot file for system startup. The partition does not require too much. Generally, the
swap partition is about 500M to 1G. The swap partition is equivalent to virtual memory. If the physical memory is relatively small, the swap is generally 2 times the memory. The memory is relatively large, about 16G, and swap is generally the same as the physical memory. If the physical memory is relatively large, such as 128G, it can be set to half of the physical memory.
The / partition must be created as large as possible. The operating system needs to write logs from time to time.
/usr By default, the software is placed in this directory. Generally, it is about the same size as the root partition.
/var can store some application logs. Log

Guess you like

Origin blog.51cto.com/1012939/2546803