Upgrade Solaris X64 with Oracle Support

Summary

This passage leads you to upgrade your Solaris to latest SRU.

This passage is based on upgrade from Oracle Solaris 11.2.5.5.0 to Oracle Solaris 11.3.23.5.0.

For SRU 10.5, SRU 11.4 and 12.4 or above, there are some minor differences such as you may need to uninstall some packages or

Check OS version & publisher

To check your detailed OS version, run pkg info entire.

Example:

$ pkg info entire
         Name: entire
      Summary: entire incorporation including Support Repository Update 
               (Oracle Solaris 11 11/11 SRU 10.5).
  Description: This package constrains system package versions to the same
               build.  WARNING: Proper system update and correct package
               selection depend on the presence of this incorporation.
               Removing this package will result in an unsupported system.  For
               more information see https://support.oracle.com/CSP/main/article
               ?cmd=show&type=NOT&doctype=REFERENCE&id=1372094.1.
     Category: Meta Packages/Incorporations
        State: Installed
    Publisher: solaris
      Version: 0.5.11 (Oracle Solaris 11 SRU 10.5)
Build Release: 5.11
       Branch: 0.175.0.10.0.5.0
Packaging Date: Fri Aug 03 18:26:27 2012
         Size: 5.45 kB
         FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.0.10.0.5.0:20120803T182627Z

If you don’t have neither “(Oracle Solaris 11 SRU XXX)” in your Version item nor the version has only 3 digits (example: A.B.C), it means that your OS has not configured any SRU. For further infomation, refer to appendix.

To check whick publisher is set, type pkg publisher.

Example:

$ pkg publisher
PUBLISHER         TYPE     STATUS URI
solaris           origin   online https://pkg.oracle.com/solaris/support

If you got “Unable to contact any configured publishers.”, you may have set a wrong publisher.

In case that you have wrong publisher, run pkg unset-publisher <the_publisher_that_you_want_to_delete> to remove the wrong publisher.

Configure publisher

If you have a wrong publisher, you will need to add a new publisher.

Here we will use Oracle Support as example.

Go to Oracle pkg register site, click on Solaris 11 support, apply for key and certificate. Download and put it to your own directory.

Use folllowing command to add publisher.

# pkg set-publisher \
    -k <your_own_path>/pkg.oracle.com.key.pem \
    -c <your_own_path>/Desktop/pkg.oracle.com.certificate.pem \
    -G "*" -g https://pkg.oracle.com/solaris/support/ solaris

Upgrade and reboot

You can either choose a version to upgrade or upgrade to the latest version.

If you want to upgrade to desinated version, run pkg list -u to show upgrades available for you current OS version.

Then run # pkg update --accept entire@<the_version_you_like> to upgrade to desinated version.

If you want to upgrade to the latest version, run # pkg update --accept.

For both these 2 ways, after downloading updates, pkg will install upgrades automatically.

Finally reboot you machine.

Appendix

Solaris version:

  • 0.5.11 (Oracle Solaris 11 SRU 10.5): 0.5.11 with SRU 10.5
  • 0.5.11: 0.5.11 without any SRU
  • 0.5.11 (Oracle Solaris 11.3.23.5.0): 0.5.11 with SRU 23.5

Documents

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值