JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Copying and Creating Oracle Solaris 11 Package Repositories     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

Preface

1.  Image Packaging System Package Repositories

2.  Copying IPS Package Repositories

3.  Providing Access To Your Repository

Retrieving Packages Using a File Interface

Configure an NFS Share

Set the Publisher Origin To the File Repository URI

Retrieving Packages Using an HTTP Interface

Configure the Repository Server Service

Start the Repository Service

Set the Publisher Origin To the HTTP Repository URI

4.  Maintaining Your Local IPS Package Repository

Retrieving Packages Using a File Interface

This section describes how to serve the local repository packages from a directory on your local network.

Configure an NFS Share

To enable clients to access the local repository via NFS, set the sharenfs property to create and publish the share.

# zfs create -o mountpoint=/export/repoSolaris11 rpool/repoSolaris11
# zfs set share=name=s11repo,path=/export/repoSolaris11,prot=nfs rpool/repoSolaris11
name=s11repo,path=/export/repoSolaris11,prot=nfs
# zfs set sharenfs=on rpool/repoSolaris11

Use one of the following tests to confirm that the share is published:

Set the Publisher Origin To the File Repository URI

To enable client systems to get packages from your local file repository, you need to reset the origin for the solaris publisher. Execute the following command on each client:

# pkg set-publisher -G '*' -M '*' -g /net/host1/export/repoSolaris11/ solaris
-G '*'

Removes all existing origins for the solaris publisher.

-M '*'

Removes all existing mirrors for the solaris publisher.

-g

Adds the URI of the newly-created local repository as the new origin for the solaris publisher.