1Z0-821 · Question #81
The default publisher on your system is: You want to update the Oracle Solaris 11 environment on your system, but you are not able to connect this system to the Internet to access the default Oracle…
The correct answer is D. pkg set-publisher to set the origin for the publisher. Solaris 11 Express makes it pretty easy to set up a local copy of the repository. A common reason folks need access to a local repository is because their system is not connected to the Tthe pkg set-publisher command can be used to for example add a publisher or to enable or…
Question
The default publisher on your system is:
You want to update the Oracle Solaris 11 environment on your system, but you are not able to connect this system to the Internet to access the default Oracle repository. A repository has been Which command would you choose to connect your system to the local repository?
Options
- Apkg publisher to specify the new publisher
- Cpkg add-publisher to add the new publisher
- Dpkg set-publisher to set the origin for the publisher
How the community answered
(55 responses)- A9% (5)
- C16% (9)
- D75% (41)
Explanation
Solaris 11 Express makes it pretty easy to set up a local copy of the repository. A common reason folks need access to a local repository is because their system is not connected to the Tthe pkg set-publisher command can be used to for example add a publisher or to enable or disable a publisher. Note: Example Adding a Publisher Use the -g option to specify the publisher origin URI. Example Specifying the Preferred Publisher Use the -P option to specify a publisher as the preferred publisher. The specified publisher moves to the top of the search order. You can specify the -P option when you add a publisher or you can modify an existing publisher. # pkg set-publisher -P example.com Example Enabling or Disabling a Publisher Use the -d option to disable a publisher. The preferred publisher cannot be disabled. A disabled publisher is not used in package operations such as list and install. You can modify the properties of a disabled publishers. Use the -e option to enable a publisher. # pkg set-publisher -d example2.com
Topics
Community Discussion
No community discussion yet for this question.