CentOs Linux Partition Recommendations

Source: Internet
Author: User

Hard disk partitioning scheme

Installing a Linux system on a computer, partitioning the hard disk is a very important step, and here are a few of the partitioning schemes.

(1) Scenario 1 (Desktop)
/boot: Used to store the Linux system boot-related programs, such as boot loader, etc., the recommended size is 100MB.
/: The root directory of the Linux system, all directories are hung under this directory, the recommended size is more than 5GB.
/home: The data for ordinary users is the host directory of ordinary users, the recommended size is the remaining space.
Swap: Implements virtual memory, the recommended size is one or more times of physical memory.

(2) Scenario 2 (server)
/boot: Used to store the Linux system boot-related programs, such as boot loader, etc., the recommended size is 100MB.
/usr: used to store applications in Linux systems, with more relevant data, more than 3GB is recommended.
/var: used to store frequently changing data and log files in Linux systems, more than 1GB is recommended.
/home: The data for ordinary users is the host directory of ordinary users, the recommended size is the remaining space.
/: The root directory of the Linux system, all directories are hung under this directory, the recommended size is more than 5GB.
/tmp: The temporary disk in a separate partition, you can avoid the system when the file system is full of stability affected. The recommended size is above 500MB.
Swap: Implements virtual memory, the recommended size is one or more times of physical memory.

CentOs Linux Partition Recommendations

Related Article

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.