The old machine's Linux hard disk plan

  

The system's demand for the hard disk is related to the open service of the host just mentioned. So, besides this, is there any other precautions? Of course, there is the classification of the data. With security considerations. I often find that some friends on the network are asking "My Linux host is causing abnormal shutdown due to power jump. As a result, it is impossible to boot. How is this good?" Oh, fortunately, you can use fsck to solve the hard disk. The problem, the trouble may need to re-install Linux! Brains! In addition, because Linux is a multi-tasking multi-tasking environment, it is likely that there are already many people in the above information, if you need to re-install, light It is crazy to move and back up the data! So the partitioning consideration of the hard disk is very important! At the same time, the planning of the hard disk is one of the main murderers of your "headache" for Linux freshmen! Because of the hard disk The segmentation technique requires a considerable degree of awareness of the Linux file structure before it can be more well-planned! So in the next few chapters, Birds will focus on this aspect, which is quite important to get started. Because of this, it is especially recommended that Linux fresh people only cut two sectors first, respectively, the root directory /with Swap! On how to explain the basic hard disk partitioning mode!

The easiest way to cut: In the process of Linux installation, there must be at least two partitions, one is 『 /』, the other is Is the virtual memory "Swap", if your hard disk is very small (for example, a small hard disk smaller than 1GB), then the use of this split method will be better! However, the guarantee is a relatively unsafe cutting method;

A little more troublesome way: In the default case, since the Linux operating system is placed in /usr/, you can cut this part a bit larger, and because the user's information is Under /home, so this can be larger, and under /var is the login file for all the default servers, and the default path for mail and WWW is under /var, so this space can be increased! So, The required directories are:

/

/usr

/home

/var

Swap

Take VBird as an example, usually I will want my post. The host is bigger, so my /var usually gives a few gigabytes in size, so you don't have to worry about the lack of mail space! In addition, because I open the SAMBA service, I provide each research room staff. The data backup space, so hey, the space opened by /home is also very large! As for the space of /usr/, you only need to give 2? 3 GB! All of these are related to the hosting service you originally expected! Therefore, Please pay special attention to your service project! Then come to plan the hard disk!

In any case, when you start playing Linux, it is recommended to install all the kits in the same partition area, that is. The root directory /, after learning the relevant information, especially the Linux file and directory usage framework, and then re-installing and planning Linux, you can get the environment you need!

The two examples I have planned before, I have to declare first, my example is not necessarily the best, because everyone's considerations are different, I just provide the relatively better ones. Oh

Case I:!

provide services: home five computers to share ADSL line, and set up NAT Server, Mail Server, WWW Server, SAMBA and other services. In addition, for multiple boot systems.

Erection hardware:

CPU uses P-166;

RAM size is 64MB RAM;

Network card is crab card;

The hard drive capacity is 3.2 GB;

The display card selects S3 Virge VGA.

Unplug the CD-ROM, mouse, keyboard, screen, etc. after installation! Only the network cable and power cable are connected to the host!

Hard disk cutting:

Provide 500 MB for Windows 98;

1GB for /var (specially for mail settings);

100 MB for Swap;

The rest of the space is given /

Case 2:

Providing services: Provide Proxy server services for the entire organization, and provide numerical model simulation of relevant personnel in the unit (this mode consumes system resources!).

Erection hardware:

Using a dual CPU architecture (because it requires a lot of computation);

Using a GeForce 2 MX graphics card (because the numerical mode simulation is complete, you need to icon Displayed on the screen to debug);

Use two 30 GB hard drives (required for numeric mode storage, space required by Proxy);

Use 3COM network card (Proxy 呦!) ;

Use 512 MB of RAM.

Hard disk cutting:

6 GB for Proxy (/proxy1, /proxy2, /proxy3 each 2 GB);

1GB for Swap (required for numeric mode); Br>

5 GB to /;

The rest are given to /disk1 and /disk2

In the above case, case one is a small-scale host system, so as long as The host can be erected with the equipment that is expected to be eliminated! The only thing that may need to be purchased is the network card! Oh! In Case 2, because I need a lot of numerical operations, and because of the Proxy service provided by many computers Therefore, you need a large hard disk space, and a better network card to match! Please remember this work, because the next chapter before you actually install Linux, you must first plan the host!

Copyright © Windows knowledge All Rights Reserved