Solaris 补丁的安装方法

weixin_38048553 2005-09-08 03:59: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                                                           |
  +---------------------------------------------------------------------------+
...全文
26 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
内容概要:本文档介绍了一个基于MATLAB/Simulink平台的综合性科研资源共享项目,核心内容为四旋翼无人机俯仰姿态保持的模糊自整定PID控制系统设计与仿真,提供完整的Matlab代码和Simulink仿真实现资源。项目进一步拓展至无人机轨迹跟踪、多控制策略对比(如线性MPC、非线性NMPC、强化学习RL及混合MPC-RL)、储能优化、电力系统调度、路径规划、神经网络预测等多个前沿科研方向。文档强调科研不仅需要严谨思维与勤奋,更要善于“借力”,通过成熟案例启发创新思路,帮助研究者避免误区,利用高质量资源激发科研灵感,加速高水平成果的复现与产出。; 适合人群:具备一定MATLAB编程基础,从事自动化、控制工程、电力系统、机器人或人工智能等相关领域的科研人员、研究生及工程师,尤其适合希望快速复现高水平论文成果的研究者。; 使用场景及目标:① 实现模糊PID控制在无人机姿态控制中的应用与仿真;② 对比分析不同先进控制策略(如MPC、RL)在轨迹跟踪中的性能表现;③ 借助提供的代码与模型,完成科研项目中的仿真验证、论文复现或算法优化任务。; 阅读建议:建议读者按照资源目录顺序逐步学习,优先掌握核心控制方法(如模糊PID、MPC)的实现逻辑,结合代码与仿真模型进行调试与改进,从而深化对控制理论的理解并推动自身科研工作的创新。
内容概要:本文档围绕“2023年IEEE ICMA顶刊复现多欠驱动水面无人艇误差约束协同路径跟踪控制(Matlab代码实现)”展开,详细介绍了一项针对多欠驱动水面无人艇的协同路径跟踪控制技术的研究与实现。该研究通过引入误差约束机制,旨在提升无人艇在复杂海洋环境下的路径跟踪精度与系统稳定性。文档不仅提供了完整的Matlab代码实现,还涵盖了控制算法的设计原理、数学建模过程以及仿真实验结果分析。此外,文档还列举了多个相关科研方向,如智能优化算法、机器学习、路径规划、无人机控制、电力系统优化等,展示了其在多学科交叉领域的广泛应用前景,并倡导科研工作者善用工具资源,提升研究效率。; 适合人群:具备一定编程基础,尤其是熟练掌握Matlab/Simulink环境的科研人员、工程师,以及对无人艇控制、路径跟踪、协同控制、非线性系统控制等领域感兴趣的研究生和高校学者。; 使用场景及目标:① 开展多欠驱动水面无人艇的协同路径跟踪控制研究;② 设计与实现具有误差约束的先进控制算法;③ 利用Matlab进行控制系统建模、仿真与性能验证;④ 探索将智能优化算法与现代控制理论相结合,解决复杂工程系统中的实际控制问题。; 阅读建议:建议读者按照文档的逻辑顺序系统学习,重点理解控制算法的设计思路与数学推导过程,并结合所提供的Matlab代码进行动手实践与仿真调试,以深化对理论知识的掌握。同时,鼓励读者积极查阅相关领域的最新文献,紧跟学术前沿,不断拓展研究视野,激发创新灵感。

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧