Rpm-v httpd See if the file information in the installed Apache package has been modified by someone
RPM-/etc/httpd/conf/httpd.conf Edit Modify the Apache package configuration file httpd.conf
Enter "402G" in command mode and jump to line 402
Enter "A" in command mode and enter "Index.aspx" in insert mode
Press "ESC" key to exit insert mode back to command mode press two "Z" key to save the Apache configuration file currently being edited
Rpm-v httpd again to see if the file information in the installed Apache package has been modified by someone
The information displayed is divided into three paragraphs, specifically: What modifications the file has made to modify the type of the file to which the file is modified
No modification of the "." Said, "S.5 ...." T "means that the first bit has been modified (s means that the file size has changed) and the second bit has not been modified (with". "). Indicates no modification), the third bit has been modified (5 indicates that the contents of the file have changed), fourth to seventh bits have not been modified (with "."). Indicates no modification), the eighth bit is modified (t means that the file's modification time has changed). "C" indicates the configuration file.
If the installed package file is modified incorrectly, or is partially missing, you need to remove some files from the installation package instead of reinstalling the package, and the package files need to be extracted from the Linux system.
linux-Package Management-rpm Command Management-checksum