由于Oracle官网只提供了cksum的值用于校验安装包的完整性,但cksum是Unix和Linux上的命令, windows下面没有。。。
网上搜了一大堆,基本是建议你安装Linux或者使用cygwin.其实还有一个更简单的方法就是使用UnxUtils包,这个里面包含的命令如下
agrep.exe expand.exe makedepend.exe su.exe ansi2knr.exe expr.exe makemsg.exe sum.exe basename.exe factor.exe man.exe sync.exe bc.exe fgrep.exe md5sum.exe tac.exe bison.exe find.exe mkdir.exe tail.exe bunzip2.exe flex.exe mkfifo.exe tar.exe bzip2.exe fmt.exe mknod.exe tee.exe bzip2recover.exe fold.exe mv.exe test.exe cat.exe fsplit.exe mvdir.exe touch.exe chgrp.exe gawk.exe nl.exe tr.exe chmod.exe gclip.exe od.exe type.exe chown.exe gplay.exe paste.exe uname.exe cksum.exe grep.exe patch.exe unexpand.exe cmp.exe gsar.exe pathchk.exe uniq.exe comm.exe gunzip.exe pclip.exe unrar.exe compress.exe gzip.exe pr.exe unshar.exe cp.exe head.exe printenv.exe unzip.exe csplit.exe id.exe printf.exe uudecode.exe cut.exe indent.exe pwd.exe uuencode.exe date.exe install.exe recode.exe wc.exe dc.exe join.exe rm.exe wget.exe dd.exe jwhois.exe rman.exe wget.hlp df.exe less.exe rmdir.exe which.exe diff.exe lesskey.exe sdiff.exe whoami.exe diff3.exe libfl.a sed.exe xargs.exe dircolors.exe libfl.lib seq.exe yes.exe dirname.exe ln.exe shar.exe zcat.exe du.exe logname.exe sleep.exe zip.exe echo.exe ls.exe sort.exe egrep.exe m4.exe split.exe env.exe make.exe stego.exe里面有cksum.exe,在windows下校验Oracle安装包就不成问题了
下载UnxUtils
下载地址:http://sourceforge.net/projects/unxutils/
下载完成之后解压,并将usr\local\wbin目录添加到系统环境变量PATH中
之后就可以在cmd命令下直接使用cksum了
上面图中的校验结果是4181069701
在看看Oracle官网提供的校验吗:http://www.oracle.com/technetwork/cn/database/enterprise-edition/downloads/database12c-win64-download-1968077.html
结果一致,说明安装包没有损坏。
注意:Linux中的cksum结果中的计算方法与CRC16、CRC32的计算方法不一致
附11g64位的校验码
来源地址:http://www.oracle.com/technetwork/cn/database/enterprise-edition/downloads/112010-win64soft-086667-zhs.html
补充几个版本的几个校验结果
文件名: winx64_12c_database_1of2.zip文件名: win32_11gR2_database_1of2.zip
Size: 1625721289 bytes
MD5: DFB1D53E34068D5326A06242F01F11EB
SHA1: AA02BE4664A9844CDED044F6FD95C2B6D17ABDD8
CRC32: C8DE13C5
cksum: 1105328507
文件名: win32_11gR2_database_2of2.zip
Size: 631934821 bytes
MD5: C8D936BD1C5B8BE237E206B1EB8364E5
SHA1: B0E6A7F72B84136A0AFE03D3AA16F8B588A3186C
CRC32: 3286534A
cksum: 3052614747