Monday, January 3, 2011

Under Server uses reasonable choose Linux partition

Second,/CHROOT and/CACHE partition.

In the Linux operating system, there are two very special partition. They are called a CHROOT partition and/CACHE partition. Both of these zones is not a Linux operating system on the partition must exist. The two partitions need exist directly in the Linux runs services. If the partition is/chroot yDNS server, Apache Server and the other needs to change the root directory of the server. /Cache partition is prepared for the Proxy server. If you do not intend to install SquidProxy server, you do not have to create/cache partition.. However in practice, the two application services combined with the performance of the server to improve a lot and more secure. So if your system administrator to deploy on a Linux server, mail server, FTP server, and so on, you need to pay attention to a hard disk partition, if you need to create these special partition. If some network application services may need to change the root directory, then the partition is needed to establish this/chroot partition. In the partition arrangement, particularly reserves 400 megabytes of disk space to change the root directory (called chrooted) programs, such as DSN server and other software. This is necessary because these application services, some of the files and other executable programs are installed on the partition. So what use CHROOT? short, CHROOT is change program is executed under the root where the reference. Because by default, the root directory of the Linux operating system as/root. Sometimes, for reasons of security or other purposes, a system administrator to change the location of the root directory. Limit other application services access the operating system root directory. In particular, just so you want to require a change to the root directory of the service settings of this special partition, mainly because this partition has the following special functions. If you can prevent users access certain files, enhance system security. If the limit is chroot users can execute programs, such as SetUid programs, or would result in Load of the Compiler, and so on. That is, the partition format used primarily/chroot for security reasons. In addition, another use CHROOT is that you can use to have a basic up to the Linux operating system to install a Linux version of the operating system. It is often said of dual operating system. Chroot tool is the Linux operating system has the tools, the meaning of the surface, it is the root directory from a chroot to a different root directory. In a Linux operating system to install another operating system, is the use of the chroot. First create the basis for chroot run, and then through the chroot environment to the new root directory, and then use the package management tools to the new operating system on the other package is installed. This is the basic principle. As this is not to talk about in this article, so here is a rough description. If the Linux operating system is not as server, but rather as a normal operating system to use, it is not necessary to establish these two special partition format.

No comments:

Post a Comment