免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2639 | 回复: 4
打印 上一主题 下一主题

Solaris 补丁的安装方法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-08 15:59 |只看该作者 |倒序浏览
近日看到很多朋友在询问solaris补丁的安装方法,刚好这两天我也安装了一下,
所以拿出来和大家共享。
希望对大家有用。
(关键是要以但用户模式启动)
这是一个转载的solaris789PTF的安装方法摘要。
---------------------------
PTF Installation Procedure:
---------------------------

PTF Installation on PRIMEPOWER 200/250/400/450/600/650/850 and
GP7000F model 200/200R/400/400A/400R/600/600R:
------------------------------------------------------

  In the Console window of the system to be patched, become superuser and
  shutdown the system.
  +---------------------------------------------------------------------------+
  |% su                                                                       |
  |Password:<password>;                                                        |
  |# /usr/sbin/shutdown -y -i0                                                |
  +---------------------------------------------------------------------------+
  Boot the system in single-user mode.
  +---------------------------------------------------------------------------+
  |{0} ok boot -s                                                             |
  | .                                                                         |
  | .                                                                         |
  | .                                                                         |
  |INIT: SINGLE USER MODE                                                     |
  |Type Ctrl-d to proceed with normal startup,                                |
  |(or give root password for system maintenance):<password>;                  |
  +---------------------------------------------------------------------------+
  Mount all file systems.
  +---------------------------------------------------------------------------+
  |# /usr/sbin/mountall -l                                                    |
  +---------------------------------------------------------------------------+
  Start Volume Management
  +---------------------------------------------------------------------------+
  |# /etc/init.d/volmgt start                                                 |
  +---------------------------------------------------------------------------+
  Insert the correct Solaris OS level PTF CD-ROM for your operating system or
  the Unbundled PTF CD-ROM in the CD-ROM drive.

  Install all patches from the SOLOS list by running the Rpatchadd command.
  For more information on the command refer to the Rpatchadd(1M) man page in
  the PTF Guide section 4.1.
  The below is an example of the installation of all Solaris 7 OS patches on
  a PRIMEPOWER 200, 400, 600.
  +---------------------------------------------------------------------------+
  |# cd /cdrom/cdrom0/bin                                                     |
  |# ./Rpatchadd -P SOLOS                                                     |
  |                                                                           |
  |Hardware Platform: FJSV,GPUS    PRIMEPOWER 200,400,600 / GP7000F model 200,|
  |400,600                                                                    |
  |CPU              : FJSV,SPARC64-III  SPARC64-III(less than 360MHz)         |
  |OS Version       : 5.7          Solaris 7(SunOS5.7)                        |
  |Cluster          : 7                                                       |
  |Sub Cluster      : SOLOS        SOLOS contains all patches                 |
  |Patch List       : .FUS_SOLOS                                              |
  |                                                                           |
  |CD-ROM      : Solaris7                                                     |
  |PTF         : R05081                                                       |
  |                                                                           |
  |Type 'y' to continue, 'n' to break: y                                      |
  | .                                                                         |
  | .                                                                         |
  | .                                                                         |
  |Rpatchadd completed.                                                       |
  |See on line 1 of /var/sadm/ptf/log1 for more details                       |
  |#                                                                          |
  +---------------------------------------------------------------------------+

  Install any required unbundled patches by running the Rpatchadd command.
  For more information on the command refer to the Rpatchadd(1M) man page in
  the PTF Guide section 4.1.
  For a list of all unbundled patches refer to Appendix A in the "TF Guide
  Solaris Unbundled PTF for Solaris OS" of "README".
  The below is an example of the installation of the unbundled patches for
  pgx32-2.1 software.
  +---------------------------------------------------------------------------+
  |# ./Rpatchadd pgx32-2.1                                                    |
  |                                                                           |
  |CD-ROM      : Unbundled2                                                   |
  |PTF         : R05081                                                       |
  |                                                                           |
  |Type 'y' to continue, 'n' to break: y                                      |
  | .                                                                         |
  | .                                                                         |
  | .                                                                         |
  |Rpatchadd completed.                                                       |
  |See on line 3676 of /var/sadm/ptf/log1 for more details                    |
  |#                                                                          |
  +---------------------------------------------------------------------------+

  Check patch installation log files in /var/sadm/ptf directory for warnings
  and errors. For more information on messages in the log files refer to
  section 2.6(each OS) or section 2.7 (Unbundled) in each PTF Guide.
  Check the installed patch information by executing the Rpatchinfo command.
  +---------------------------------------------------------------------------+
  |# ./Rpatchinfo -i -L                                                       |
  |ID   S NAME         VERSION     CLUSTER    PATCH-LIST     TIME             |
  |0001 a Solaris7     R05081      7          .7             050729:09:19:00  |
  |0002 a Unbundled2   R05081      pgx32-2.1  .pgx32-2.1     050729:11:33:00  |
  +---------------------------------------------------------------------------+

  Change directory to /, eject the CD-ROM, and reboot the system.
  +---------------------------------------------------------------------------+
  |# cd /                                                                     |
  |# eject cdrom                                                              |
  |# /usr/sbin/shutdown -y -i6 -g0                                            |
  +---------------------------------------------------------------------------+


PTF Installation on PRIMEPOWER 800/900/1000/1500/2000/2500/HPC2500 and
GP7000F model 800/1000/2000:
----------------------------------------------------------------------

  In the RC2000 window for the partition to be patched, become superuser and
  shutdown the partition.
  +---------------------------------------------------------------------------+
  |partition# su                                                              |
  |Password:<password>;                                                        |
  |partition# /usr/sbin/shutdown -y -i0                                       |
  +---------------------------------------------------------------------------+
  Boot the partition in single-user mode.
  +---------------------------------------------------------------------------+
  |{0} ok boot -s                                                             |
  | .                                                                         |
  | .                                                                         |
  | .                                                                         |
  |INIT: SINGLE USER MODE                                                     |
  |Type Ctrl-d to proceed with normal startup,                                |
  |(or give root password for system maintenance):<password>;                  |
  +---------------------------------------------------------------------------+
  Mount all file systems.
  +---------------------------------------------------------------------------+
  |partition# /usr/sbin/mountall -l                                           |
  +---------------------------------------------------------------------------+
  Activate the network.
  +---------------------------------------------------------------------------+
  |partition# /etc/init.d/inetinit start                                      |
  +---------------------------------------------------------------------------+
  Start the RPC service.
  +---------------------------------------------------------------------------+
  |partition# /etc/init.d/rpc start                                           |
  +---------------------------------------------------------------------------+
  Activate the network interface.
  +---------------------------------------------------------------------------+
  |partition# /etc/init.d/inetsvc start                                       |
  +---------------------------------------------------------------------------+
  Start the NFS client.
  +---------------------------------------------------------------------------+
  |partition# /etc/init.d/nfs.client start                                    |
  +---------------------------------------------------------------------------+

  Insert the correct Solaris OS level PTF CD-ROM for your operating system or
  the Unbundled PTF CD-ROM in the System Management Console (SMC) CD-ROM drive.

  NFS Mount the CD-ROM on the partition to be patched.
  +---------------------------------------------------------------------------+
  |partition# /usr/sbin/mount -F nfs -o ro <SMC hostname>;:/cdrom/cdrom0 /mnt  |
  +---------------------------------------------------------------------------+

  Install all patches from the SOLOS list by running the Rpatchadd command.
  For more information on the command refer to the Rpatchadd(1M) man page,
  section 4.1 in each PTF Guide.
  The below is an example of the installation of all Solaris 7 OS patches on
  a PRIMEPOWER model 800, 1000, or 2000.
  +---------------------------------------------------------------------------+
  |partition# cd /mnt/bin                                                     |
  |partition# ./Rpatchadd -P SOLOS                                            |
  |                                                                           |
  |Hardware Platform: FJSV,GPUSK   PRIMEPOWER 800,1000,2000 / GP7000F model 10|
  |00,2000                                                                    |
  |CPU              : FJSV,SPARC64-IV   SPARC64-IV(equal or more than 360MHz) |
  |OS Version       : 5.7          Solaris 7(SunOS5.7)                        |
  |Cluster          : 7                                                       |
  |Sub Cluster      : SOLOS        SOLOS contains all patches                 |
  |Patch List       : .FUKK_SOLOS                                             |
  |                                                                           |
  |CD-ROM      : Solaris7                                                     |
  |PTF         : R05081                                                       |
  |                                                                           |
  |Type 'y' to continue, 'n' to break: y                                      |
  | .                                                                         |
  | .                                                                         |
  | .                                                                         |
  |Rpatchadd completed.                                                       |
  |See on line 1 of /var/sadm/ptf/log1 for more details                       |
  |partition#                                                                 |
  +---------------------------------------------------------------------------+

  Install any required unbundled patches by running the Rpatchadd command.
  For a list of all unbundled patches refer to Appendix A in the "TF Guide
  Solaris Unbundled PTF for Solaris OS" of "README".
  The below is an example of the installation of the unbundled patches for
  ESF1.6 software.
  +---------------------------------------------------------------------------+
  |partition# ./Rpatchadd ESF1.6                                              |
  |                                                                           |
  |CD-ROM      : Unbundled1                                                   |
  |PTF         : R05081                                                       |
  |                                                                           |
  |Type 'y' to continue, 'n' to break: y                                      |
  | .                                                                         |
  | .                                                                         |
  | .                                                                         |
  |Rpatchadd completed.                                                       |
  |See on line 3676 of /var/sadm/ptf/log1 for more details                    |
  |partition#                                                                 |
  +---------------------------------------------------------------------------+

  Check patch installation log files in /var/sadm/ptf directory for warnings
  and errors. For more information on messages in the log files refer to
  section 2.6(each OS) or section 2.7(Unbundled) in each PTF Guide.
  Check the installed patch information by executing the Rpatchinfo command.
  +---------------------------------------------------------------------------+
  |partition# ./Rpatchinfo -i -L                                              |
  |ID   S NAME         VERSION     CLUSTER    PATCH-LIST     TIME             |
  |0001 a Solaris7     R05081      7          .7             050729:09:19:00  |
  |0002 a Unbundled1   R05081      ESF1.6     .ESF1.6        050729:11:33:00  |
  +---------------------------------------------------------------------------+

  Change directory to /, unmount the shared CD-ROM, and reboot the partition.
  +---------------------------------------------------------------------------+
  |partition# cd /                                                            |
  |partition# /usr/sbin/umount /mnt                                           |
  |partition# /usr/sbin/shutdown -y -i6 -g0                                   |
  +---------------------------------------------------------------------------+
  On the SMC, change directory to / and eject the CD-ROM.
  +---------------------------------------------------------------------------+
  |smc# cd /                                                                  |
  |smc# eject cdrom                                                           |
  +---------------------------------------------------------------------------+

论坛徽章:
0
2 [报告]
发表于 2005-09-08 16:35 |只看该作者

Solaris 补丁的安装方法

补丁都有说明,安装之前多看看。

鼓励楼主。

论坛徽章:
0
3 [报告]
发表于 2005-09-08 17:01 |只看该作者

Solaris 补丁的安装方法

是一个补丁集,直接执行一个命令就可以了.

论坛徽章:
0
4 [报告]
发表于 2005-09-08 19:37 |只看该作者

Solaris 补丁的安装方法

难道所有补丁都要打吗,兼容性会好吗?

论坛徽章:
0
5 [报告]
发表于 2005-09-09 14:20 |只看该作者

Solaris 补丁的安装方法

这个就是README的SUMMARY
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP