暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Solaris如何查看安装版本及Patch列表

原创 eygle 2008-03-03
998
今天有个朋友在MSN上问到,在Solaris上安装Oracle8i需要安装那些OS的Patch,这实在不是一个容易回答的问题。

Oracle8i已经很久没有碰了,不过还好,可以随手找一个系统,查看一下现有的OS版本及Patch序列。



查看OS版本及Patch列表可以使用 showrev 命令,这是Solaris上的一个常用命令:

bash-2.03# man showrev

Reformatting page.  Please Wait... done



Maintenance Commands                                  showrev(1M)



NAME

    showrev - show machine and software revision information



SYNOPSIS

    /usr/bin/showrev [ -a ]  [ -p ]  [ -w ]  [ -c command  ]  [

    -s hostname ]



showrev 命令缺省的输出显示系统版本号及Hostid等信息:

bash-2.03# showrev

Hostname: testdbserver

Hostid: 8368b11d

Release: 5.8

Kernel architecture: sun4u

Application architecture: sparc

Hardware provider: Sun_Microsystems

Domain:

Kernel version: SunOS 5.8 Generic 108528-25 Oct 2003



如果想查询更详细的Patch列表,可以使用

showrev -p

showrev -a

显示会非常细致。



从Oracle10g开始,Oracle会自动检测系统的补丁安装情况,如果缺少相应的补丁,Oracle就会发出警告。

这是Oracle10g的一大增强,现在看起来还是有必要的。



-The End-

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论