1Z0-820 · Question #41
You are setting up a local image packaging System (IPS) package repository on your Oracle Solaris 11 server. The information and specifications that you have are as follows: The Oracle Solaris11 repos
The correct answer is A. Perform an rsync on the ISO image to copy the files from the ISO image to the /export/IPS file system. C. Use the svccfg command to set the pkg/inst_root property to export/IPS. E. Use the svccfg command to set the pkg/readonly property to the application/pkg/server service to true. G. Refresh the application/pkg/server service with the svcadm refresh command. H. Refresh the package repository with the pkgrep refresh command.. Setting up a local IPS repository requires copying content, configuring the SMF service, and making it accessible - each correct option maps to one of those phases. Why A, C, E, G, H are correct: (A) rsync copies the repository content from the downloaded ISO into /export/IPS - w
Question
You are setting up a local image packaging System (IPS) package repository on your Oracle Solaris 11 server. The information and specifications that you have are as follows:
The Oracle Solaris11 repository ISO image has been downloaded into the /repo directory (a zfs file system). The current publisher is:
PUBLISHER TYPE STATUS URI publisher with:
PUBLISHER TYPE STATUS URI The location of the repository will be /export/IPS. This ZFS file system has already been created. Among the steps you will perform is to set the publisher to the local repository by using the pkg set - publisher command. Which six other steps are required to set up the local IPS package repository?
Options
- APerform an rsync on the ISO image to copy the files from the ISO image to the /export/IPS file system.
- Bchmod 700 on/export/IPS
- CUse the svccfg command to set the pkg/inst_root property to export/IPS.
- DUse the svccfg command to set the pkg.inst_root property to /export/IPS.
- EUse the svccfg command to set the pkg/readonly property to the application/pkg/server service to true.
- FUse the svccfg command to set the pkg/readonly property for the application/pkg/server service false.
- GRefresh the application/pkg/server service with the svcadm refresh command.
- HRefresh the package repository with the pkgrep refresh command.
- JRun the pkhrepo rebuild command to rebuild the repository catalog.
How the community answered
(33 responses)- A82% (27)
- B3% (1)
- D9% (3)
- F6% (2)
Explanation
Setting up a local IPS repository requires copying content, configuring the SMF service, and making it accessible - each correct option maps to one of those phases.
Why A, C, E, G, H are correct: (A) rsync copies the repository content from the downloaded ISO into /export/IPS - without this the service has nothing to serve. (C) svccfg must set the pkg/inst_root property (using a forward-slash, the SMF property group separator) so the application/pkg/server service knows where the repository lives. (E) Setting pkg/readonly to true is correct for a local mirror: clients only pull from it, nothing publishes to it. (G) svcadm refresh applies the svccfg changes to the running service. (H) pkgrepo refresh updates the repository catalog so clients can discover available packages.
Why the distractors are wrong: (B) chmod 700 is not a required step - no specific permission change is needed here. (D) uses pkg.inst_root (dot separator), which is wrong SMF syntax; the correct property name is pkg/inst_root. (F) sets pkg/readonly to false, which would allow publishing - the opposite of what a read-only local mirror needs. (J) pkgrepo rebuild is for repairing a corrupted catalog, not for initial setup.
Memory tip: Think of the flow as Copy → Configure → Lock → Restart → Refresh (rsync → inst_root → readonly=true → svcadm refresh → pkgrepo refresh). The key trap is the dot vs. slash distinction: SMF always uses slashes in property names (pkg/inst_root, pkg/readonly).
Topics
Community Discussion
No community discussion yet for this question.