Σχήμα Διαμέρισης ενός Linux Web Server
Καθορισμός ένα καλό σύστημα διαμέρισμα στο Linux μπορεί να βοηθήσει όταν τα πράγματα πάνε στραβά. Εάν ένα διαμέρισμα αποτύχει δεν θα επηρεάσει τα στοιχεία του άλλου διαμερίσματος του.
Το παρακάτω είναι ένα καλό σύστημα διαμέρισμα για έναν web server. Following numbers are for a 10Gb Hard Drive..
/μπότα
Περιέχει όλα τα αρχεία και τους καταλόγους για την εκκίνηση του πυρήνα Linux. Ο πυρήνας Linux και τα αρχεία φορτωτή εκκίνησης GRUB αποθηκεύονται εδώ. 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)
[swap]
Hard disk space used to help free up memory. It is recommended to put the swap size at least twice the size of the allocated memory.
Μέγεθος: 15% (1.5Gb)
/tmp
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.
