linux-Package Management-rpm Command Management-checksum

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.