Линукс Вэб сервер нь хуваалтын схем

Specifying a good partition scheme in Линукс can help when things go wrong. If a partition fails it will not effect the other partition’s data.

The following is a good partition scheme for a web server. Following numbers are for a 10Gb Hard Drive..

Contains all the files and directories to boot the Линукс kernel. Линуксийн цөмийн болон авгалдай ачаалагч дуудагч файлууд энд хадгалагддаг. This needs to be large enough to fit the Linux and GRUB loader files, as well as be able to allow for any future updates.
Хэмжээ: 10% (1Gb)

This is the root directory, where all other files appears. If a partition is not specified for other directories then they will be in this partition.
Хэмжээ: 25% (2.5Gb)

/Нүүр хуудас
Contains all users data and configuration files.
Хэмжээ: 25% (2.5Gb)

Hard disk space used to help free up memory. It is санал болгосон to put the swap size at least twice the size of the allocated memory.
Хэмжээ: 15% (1.5Gb)

Directory used by Linux to store temporary files. This directory is emptied at boot.
Хэмжээ: 10% (1Gb)

Contains files that may change in size such logs and mail boxes.
Хэмжээ: 15% (1.5Gb)

Partition sizes can also be resized if they fill up. The above is a guide for initial sizes at installation.

Хариу үлдээгээрэй