手记

How To Update Local IPS Package Repository


Days ago,oracle released Oracle  Solaris 11 SRU 2 repo iso p_w_picpath. 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.

p_w_picpath

Mount REPO ISO IMAGE files:

p_w_picpath

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.

p_w_picpath

Using pkgrecv command to update:

p_w_picpath

p_w_picpath

Finally,update your system by new IPS Package Repository.

p_w_picpath

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:

p_w_picpath

Using following command to change prefix's value.

p_w_picpath

Fore more information from here.

©著作权归作者所有:来自51CTO博客作者candon123的原创作品,谢绝转载,否则将追究法律责任

oracleconnectedfollowingSolaris


0人推荐
随时随地看视频
慕课网APP