Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux Partition for introduction to Linux Learning Foundation

Shulou Source: shulou.com Published: 2022-06-02 06:16:35 11月13日 Update

To install Linux, you must first have an image file. Take CentOS as an example, you can obtain the image on the official website or some domestic image Server. You can choose Everything or minimal iso according to your needs. The details of the installation are not written here, but some instructions are given for some of the key steps.

1. Linux boot mode

2. Linux partition mode

Note: use the remaining space, which is usually used when the physical machine is dual-system.

3. Typical zoning strategy

3.1 General Partition Policy

/ boot boots the system, and some files related to the Linux kernel are placed here. Usually 200m will be fine.

Swap swap partition, which can be used as memory temporarily to prevent system exception caused by insufficient memory. When the memory is less than 8 gigabytes, 1.5 to 2 times the memory is fine. If it is more than 8G, it is enough to divide into 8G.

/ how much disk is left, give it all to /

Data is more important.

/ boot boots the system, and some files related to the Linux kernel are placed here. Usually 200m will be fine.

Swap swap partition, which can be used as memory temporarily to prevent system exception caused by insufficient memory. When the memory is less than 8 gigabytes, 1.5 to 2 times the memory is fine. If it is more than 8G, it is enough to divide into 8G.

/ 50-200g

/ data how much is left, how much is given?

Tags: Memory system file time mirror surplus insufficient kernel way policy important critical typical data steps physics disk space details selection Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Technology Redmi Apple NVidia