(1) Partition Mode
As mentioned above, disk partitioning is the most important part of the installation process. CentOS presets four partition modes:
<1> delete all partitions on the selected disk and create the default partition structure:
If this mode is selected, your hard disk will be used by Linux, and all partitions in the hard disk will be deleted, and then the partition structure will be re-established by the preset method of the installer, pay special attention to the usage!
<2> Delete Linux partitions on the selected driver and create the default partition structure:
In this hard disk, Only Linux partitions are deleted, and then the partitions are re-created by default of the installer.
<3> use the free space in the selected drive and create the default partition structure:
If there is still unsplit disk space in your hard disk (note that it is not split, rather than there is no data in the partition !), After this project is used, it will not change the original partition, but will only build the default partition for the remaining unsplit blocks.
<4> create a custom partition structure:
This is what we want to use! Do not use the preset Splitting Method of the installer. Use the required splitting method.
(2) custom partition Mode
As shown in the "disk partition Settings" dialog box, select "create custom partition structure. Create four partitions:/,/boot,/home, and swap.
After you press 'Next', the following Partition window appears. This screen is mainly divided into three major blocks:
The top part is the partition of the hard disk. Currently, because the hard disk is not partitioned, the entire partition is displayed and it is Free. In the middle is the command area, and below is the device file name, mount point directory, file system type of each partition, whether to format, partition capacity, start and end of the magnetic column number, etc.
As for the command area, there are a total of six blocks. RAID and LVM are special hard disk applications. We will introduce this part separately. The functions of other commands are as follows:
New: adds a new partition, that is, the partition action, to create a new disk partition;
Edit: edit an existing disk partition. You can click the partition you want to modify in the actual status display area, and then click 'edit' to edit the partition.
Delete: delete a disk partition. Similarly, You must select the partition you want to delete in the actual status display area.
Resetting: restores the original disk partition status.
Tips: Of course, your system and the author's system cannot be exactly the same, so the hard disk information on your screen should not be the same as the author's! So don't be too nervous when you see the difference. That's normal.
Next, create the root directory (/) partition. After you press "new", the following screen is displayed. Because the root directory we need is a Linux File System, the default file system is ext3. As for the mount point, you can manually enter or use the mouse to select. Enter the required disk capacity in MB. However, since the author's system only has one hard disk, it cannot be freely selected in the "allowed drive.
If you want to know what file system types are supported by Linux, click the ext3 button in the following figure.
The file system types are:
Ext2/ext3: Applicable file system type in Linux. Because the ext3 file system has a log record while restoring the system quickly, we recommend that you select a new ext3 instead of using ext2.
Physical volume (LVM): This is a mechanism used to elastically adjust the file system capacity. It can increase or decrease the capacity of your file system without changing the original file content.
Software RAID: simulates the disk array function with software based on the features of the Linux operating system.
Swap: The swap space! Because swap does not use directory tree mounting, you do not need to specify a mount point when using swap.
Vfat: The file system types supported by both Linux and Windows. If your host's hard drive has both Windows and Linux operating systems, you can build a vfat file system for data exchange.
We continue to press "new" to create the/boot partition. Enter the correct information in sequence, including the mount point, file system type, and size. Make sure that the partition is located at the beginning of the entire hard disk. Therefore, we select "force-partitioning" for/boot ". As shown in:
The final result of creating a/boot partition is as follows. It will take the initiative to move the/boot special directory to the front of the hard disk, so you will see that the hard disk partition of/boot is/dev/hda1, the starting column is 1. As shown in:
In, press "new" to switch the space (swap ). As mentioned above, because swap is a swap space, there is no need for a mount point. Select "swap" in "file system type", as shown in ".
Tips: Some installers do not specify swap as memory 1 ~ A warning message is sent twice. In this case, you only need to ignore the warning message and click Next.
Let's continue to complete the last partition/home. Press "new" and enter the correct information in sequence, including the mount point, file system type, and size.
Shows the final result of the partition. You will find that the system automatically converts/dev/hda4 into extended partitions. Then, all the capacity is assigned to/dev/hda4, and swap is allocated to/dev/hda5.
8. Boot Loader settings
As shown in, the GRUB boot installation window is displayed. You can use the default settings and click "Next.
Tips: to set the password for the boot loader, select "Use the boot loader password" and enter the password in the pop-up window, as shown in.
9. Network Configuration
Next, SET network parameters, as shown in. DHCP is enabled on the network adapter by default, that is, the IP address is automatically obtained by default. You can use the default settings.
If the reader uses a fixed IP address, click "edit". In the displayed dialog box, select the check box before "manual setting", enter the IP address and subnet mask, and click "OK, next, set host name and gateway information, as shown in.
10. Select a Time Zone
Because the world is divided into 24 time zones, you need to tell the system where the time zone is. As shown in, you can select Beijing, or directly use the mouse to select on the map. Pay special attention to UTC, which is related to "Daylight Saving Time". We do not need to select this option, otherwise it will cause time zone confusion, resulting in the system display time is different from the local time.
11. Set the administrator password (root password)
The following is the most important "system administrator password" setting, as shown in. In Linux, the default name of the system administrator is root. Note that this password is very important. It must be at least 8 characters long and contain special characters.
12. Select the software package to install
Select "customize now" and click "Next", as shown in.
Select the required software package from the details options (you can select all software packages for beginners), as shown in, and click "Next". The system checks the dependencies of the selected software, as shown in.
13. Prepare for Installation
After confirming the selected software package, go to the interface shown in, and start to install the Linux system. After the installation is complete, you can view/root/install. log Installation log File for installation information, you can also view the/root/anaconda-ks.cfg file for setup information during installation.
14. Start Linux Installation
Start installation. The installation screen displays the time required, the name of each software package, and a brief description of the software package.
After the installation is complete, everything is complete. When the final screen appears, take out the CD and press the "reboot" button to start it, as shown in.
The installation is successful. reboot the system.
This article is from the StarFlex blog, please be sure to keep this source http://tiankefeng.blog.51cto.com/8687281/1372414