« 《深度解析Oracle》之《深入浅出Oracle》 | Blog首页 | Oracle10g OCR及Voting Disk的备份 »
Solaris如何查看安装版本及Patch列表
作者:eygle | 【转载请注出处】|【云和恩墨 领先的zData数据库一体机 | zCloud PaaS云管平台 | SQM SQL审核平台 | ZDBM 数据库备份一体机】
链接:https://www.eygle.com/archives/2008/03/solaris_patch_showrev.html
今天有个朋友在MSN上问到,在Solaris上安装Oracle8i需要安装那些OS的Patch,这实在不是一个容易回答的问题。链接:https://www.eygle.com/archives/2008/03/solaris_patch_showrev.html
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-
历史上的今天...
>> 2011-03-03文章:
>> 2009-03-03文章:
>> 2006-03-03文章:
By eygle on 2008-03-03 10:16 | Comments (0) | System | 1814 |