How to configure a local repository in Solaris 11.3

This post provides the steps needed to create a local repository that will act as Repository Server for other Solaris 11 hosts. Once completed, clients can use this repository server to get updates over the local network instead of via the internet.

Respository Server

After that we'll see the client host using the Repository Server to get updates over the local network.

Setup repository for Solaris clients

Configure and update the Solaris clients using the HTTP repository server:

# pkg set-publisher -O http://10.1.1.100 solaris
# pkg publisher
# pkg list -af entire
# pkg update --accept entire
# beadm list
# shutdown -y -g0 —r

Replace 10.1.1.100 with the IP address for your repository server