此内容没有您所选择的语言版本。
1.3. Verify Downloaded Files
Procedure 1.2. Verify File Checksums on Red Hat Enterprise Linux
Obtain checksum values for the downloaded file
- Go to https://access.redhat.com/jbossnetwork/. Log in if required.
- Select your Product and Version.
- Select the packages you want to verify. Once you have chosen them, navigate to the Software Details page.
- Take note of the MD5 and SHA-256 checksum values.
Run a checksum tool on the file
- Navigate to the directory containing the downloaded file in a terminal window.
- Run
md5sum downloaded_file
. - Run
shasum downloaded_file
.
Example output:[localhost]$ md5sum jboss-dv-installer-[VERSION]-redhat-[VERSION].jar MD5 (jboss-dv-installer-[VERSION]-redhat-[VERSION].jar) = 0d1e72a6b038d8bd27ed22b196e5887f [localhost]$ shasum jboss-dv-installer-[VERSION]-redhat-[VERSION].jar a74841391bd243d2ca29f31cd9f190f3f1bdc02d jboss-dv-installer-[VERSION]-redhat-[VERSION].jar
- Compare the checksum values returned by the
md5sum
andshasum
commands with the corresponding values displayed on the Software Details page. - Download the file again if the two checksum values are not identical. A difference between the checksum values indicates that the file has either been corrupted during download or has been modified since it was uploaded to the server. Contact Red Hat Support for assistance if after several downloads the checksum does not successfully validate.
Note
No checksum tool is included with Microsoft Windows. Download a third-party MD5 application such as MD5 Summer from http://www.md5summer.org/.