CentOS is one of the Linux distributions that is compiled from the source code released by Red Hat Enterprise Linux in accordance with open source rules. Because of the same source code, some servers that require highly stable use centos instead of the commercial version of Red Hat Enterprise Linux. The difference is that CentOS does not contain closed source software.
We use Linux as a server in the process, often on the hard disk partition how to more reasonable distribution and feel puzzled, especially just start contact with Linux friends, the server in the hard disk space of the reasonable distribution of the partition, the heart also has no bottom, now listed the following program for everyone to learn! Of course, you can also according to their own needs to make a more reasonable formulation!
Boot 100MB kernel and boot files
mount point: Select "Boot"
File system type: Using the default EXT4 log file system
Size: Enter the size of the allocation, in megabytes
Other size options: Select fixed size.
Swap&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; Swap space, typically twice times the server memory
/10G
mount point: Select/
File system type: Using the default EXT4 log file system
Size: Enter the size of the allocation, in megabytes
Other size options: Select fixed size.
/usr at least 5G, the entire Linux system is basically installed here. I like 10G.
mount point: Select/usr
File system type: Using the default EXT4 log file system
Size: Enter the size of the allocation, in megabytes
Other size options: Select fixed size.
/USR/LOACL/5 to 10 g is enough (Oracle do not pretend here, otherwise it will not play, hehe) We are accustomed to put the lamp to compile the installation of things here (this is the force of habit, the official recommended that we install OPT catalog)
The main is to put PHP website,
FileSystem won't have to be separated.
All remaining space is used to put PHP website, (example: Mount in/usr/local/apache2/htdocs/)
Heavy traffic attention to timely liquidation of temporary documents, in/tmp
Log files should also be noted
Summary: Hard disk partitions are often in the server began to put into use on the need to consider the problem, so in the process of planning in the prophase need to take into account the later use of the situation! This article gives you a better understanding of the server's formal production environment.