Disks and partitions
Hard disk partitions are divided into primary partitions, extended partitions, and logical partitions. A hard disk can have up to 4 primary partitions, where one primary partition can be replaced with an extended partition, and a hard disk can have only one extended partition, where multiple logical partitions may be partitioned within the extended partition.
The disk device name is as follows:
-The system's first IDE Interface's hard disk is called /dev/hda and so on . The partition is represented by a numeric number. such as:/dev/hda1/dev/hdb2
-Number 1~4 is reserved for primary or extended partitions, and the logical partition number starts with 5 .
the name of the-sas/scsi/sata/usb interface hard disk is expressed in /dev/sd[a-p].
High-scale enterprise partitioning scheme:
/boot 200MB
/50GB
/var 20GB
Swap 2048
/usr 100gb/usr/local
/Home 100GB
/ and swap Most important must exist
Network configuration
/etc/sysconfig/network-scripts/ifcfg-eth0
Device=eth0
Bootproto=static
Hwaddr=08:00:27:f0:95:dd
ipaddr=192.168.1.150
netmask=255.255.255.0
gateway=192.168.1.1
Onboot=yes
Changing the language environment
/etc/sysconfig/i18n
Toggle Boot Level
/etc/inittab