Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Solaris 11 introduces the IPS or Image Packaging System. This provides a simple way to install, update and manage software across your Solaris 11 platforms. The installation of Solaris will normally provide you with the internet based repositories based in Oracle. Where you have many servers it does make sense to have your own local repository from where software updates can be delivered rather than each host accessing the internet. In this tutorial we look at setting up such a local repository and access the repo both locally from the repo host and remotely for other Solaris 11 Hosts.
We then simply copy the contents of the /mnt/repo directory through to the repo directory we just created. Make note of the trailing / indication we copy the contents of /mnt/repo/ ; without it we would copy the contents and the directory to the target.
Set to read only # svccfg -s application/pkg/server setprop pkg/readonly=true Double check by reading back the properties and view the default port # svcprop -p pkg/inst_root application/pkg/server # svcprop -p pkg/readonly application/pkg/server # svcprop -p pkg/port application/pkg/server Have the service refresh its configuration # svcadm refresh application/pkg/server Start the service and set for auto-start # svcadm enable application/pkg/server Display the service status # svcs application/pkg/server
Access to the repository can always be tested via a browser, pointing to the same URL
Summary
We have seen in this example how quickly it is possible to have a local IPS repository up and running to service software requests for Solaris 11.