How To Update Local IPS Package Repository

Days ago,oracle released Oracle  Solaris 11 SRU 2 repo iso image. It contains only the IPS packages that have been added or changed since the initial release of Solaris 11 11/11. It can be used to update a system running Solaris 11 11/11, including systems which are not connected to the internet.

Before you begin

Download following REPO ISO IMAGE From metalink:

1.Oracle Solaris 11 SRU 1 REPO ISO IMAGE

2.Oracle Solaris 11 SRU 2 REPO ISO IMAGE

I created a local package repository server,following picture is my server configuration.

image

Mount REPO ISO IMAGE files:

image

Change mode:

The server is by default in read-only mode,you should change it to write mode then you can update IPS Package Repository.After that,use svcadm command to restart the server.

image

Using pkgrecv command to update:

image

image

Finally,update your system by new IPS Package Repository.

image

Configure a Name for the Repository

I copied SRU2 package to local filesystem /tools/update.The default name is solaris,you can find it from pkg5.repository file:

image

Using following command to change prefix's value.

image

Fore more information from here.

本文出自 “candon123” 博客,谢绝转载!

你可能感兴趣的:(oracle,only,connected,including,following)