Free Oracle 1Z0-820 Exam Braindumps (page: 11)


Configure the repository on the client by using the svccfg - s command so that the Solaris
publisher is connected to the new repository.
Refresh the application/pkg/server service.
Issue the pkgrepo refresh command to refresh the repository catalog

B. Configure the publisher on the client using the svcfg - s command so that the Solaris
publisher is connected to the repository at http://sysA.example.com
Refresh the application/pkg/server service.
Issue the pkgrepo refresh command to repository catalog

C. Use the pkg set-publisher command to change the URL of the publisher Solaris to
http://sysA.example.com.
Issue the pkg update command to update the OS image.

D. Add the new publisher http://sysA.example.com Solaris
Use the pkg set-publisher command to set the publisher search order and place
http://sysA.example.com of http://pkg.oracle.com/solaris/release
Issue the pkg publisher command to view the publishers.
Set the new publisher to sticky.
Issue the pkg update command to update the OS image.

Answer(s): C
You can use the pkg set-publisher command to change a publisher URI.

Changing a Publisher Origin URI
To change the origin URI for a publisher, add the new URI and remove the old URI. Use the -g
option to add a new origin URI. Use the -G option to remove the old origin URI.

# pkg set-publisher -g http://pkg.example.com/support \
-G http://pkg.example.com/release example.com

Note: You can use either the install or update subcommand to update a package.
The install subcommand installs the package if the package is not already installed in the
image. If you want to be sure to update only packages that are already installed, and not install
any new packages, then use the update subcommand.

Reference: Oracle Solaris 11 Express Image Packaging System Guide, Managing Package
Publishers
QUESTION: 11
alice is a user account used by Alice on a Solaris 11 system.
sadmin is a role account on the same system.


Viewing page 11 of 74
Viewing questions 41 - 44 out of 133 questions



Post your Comments and Discuss Oracle 1Z0-820 exam prep with other Community members:

1Z0-820 Exam Discussions & Posts