eygle.com   eygle.com
eygle.com  
 

« March 2, 2008 | Blog首页 | March 4, 2008 »



March 3, 2008

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

作者:eygle

出处:http://blog.eygle.com

今天有个朋友在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-

Posted by eygle at 10:16 AM | Comments (0)



CopyRight © 2004-2008 eygle.com, All rights reserved.