Compile and install
Step 0 : First rz -y the httpd-2.2.17.tar.gz file to the /root directory
Step 1. Unpack , premise
1>.mount /dev/cdrom /mnt (build your own local YUM warehouse)
/dev : device files
[root@zhg ~]# ls -l /dev/
Note: The light blue in the display content are symbolic link files ( shortcuts in Windows )
Classification: block device ( b ) ----> devices that can achieve random access, data blocks, such as disks
character device ( c ) --> linear device
equipment, which can be understood as sequential access, in units of characters, such as keyboard, mouse, monitor
Features: background black, foreground yellow
Device number: different devices of the same type, such as two identical hard drives installed
Major device number ( major ), minor device number ( minor )
/etc : Configuration files. Such as: [root@zhg ~]# cat /etc/passwd
/home : User home directory, each user's home directory defaults to /home/USERNAME
Example: [root @ zhg ~] # ls / home /
Display result: zhg
[root @ zhg ~] # su - zhg
[zhg @ zhg ~] $ pwd
Display result: /home/zhg
/root : The root user's home directory. It is not recommended to log in with root in the production environment. There is no home directory in traditional Unix systems.