由于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
Size: 1337085275 bytes
MD5: B6D817796614FC077B486CBC35E7D63B
SHA1: 4E0D4E461F45DE1775D3E629516334E33B8A7857
CRC32: 7EB1C6A4
cksum: 4181069701

文件名: winx64_12c_database_2of2.zip
Size: 1373044868 bytes
MD5: 71E341F7B2F9C7D1A85FF37DFF0D76BC
SHA1: D7F91F238FC67DDDE83D51061559F8998F533FC6
CRC32: AB6F68ED
cksum: 847151935

文件名: win64_11gR2_database_1of2.zip
Size: 1213501989 bytes
MD5: 88A2167F14CBE00D30F51DCD6D3E58D0
SHA1: DC3ADE4EB73A2BFDFFAFBC2DED6FB305C33ADF64
CRC32: FDCB91A3
cksum: 3906682109

文件名: win64_11gR2_database_2of2.zip
Size: 1007988954 bytes
MD5: 1D6DCA5535917B5D076D3DB3AF64DFFA
SHA1: A32056B6645AD4E4C9C9E610827D33D60A0DBBF5
CRC32: 8F276FC7
cksum: 1232608515

文件名: 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

Logo

更多推荐