MD5 files are checksum files that ensure the downloaded archive (TAR) files were not damaged during transfer. To use MD5 to verify the download follow these steps:
- Download the .MD5 and its corresponding .TAR file to the same folder on the appliance. The instructions that accompany the updates will instruct you to copy the files to the /tmp folder and this document will assume the files were transferred to the /tmp folder.
- Note: When transferring files to the appliance using a file transfer utility such as WinSCP you must ensure that the files are transferred in BINARY mode. Most of these utilities will transfer files in ASCII mode, which will damage the files.
- SSH to the appliance or access the console.
- Acquire Root access by typing:
- Provide the root password.
- Change to the directory that you downloaded the .MD5 and .TAR files to.
- Check the md5sum by typing:
md5sum -c <md5 filename>
digest -v -a md5 <md5 filename>
If you have only one md5 file in the folder, you can run:
md5sum -c *.md5
digest -v -a *.md5
- Note you must be in the same folder as the MD5 and TAR files when you run md5sum, you cannot type in the path to the MD5 file.
md5sum -c hotfix-451-6-30.md5
It should return "OK". Any other response indicates a corrupted file and you will need to transfer the files again to the /tmp folder.
Check the md5sum in Windows
You must use an application to use the downloaded files checksum using the md5. There is more than one available for free on the internet.
Use the one you prefer and follow its instructions on how to use it.