1Z0-820 practice question 9 of 25
You are setting up a local image packaging System (IPS) package repository on your Oracle Solaris 11 server. The information and specifications that…
Full set: 133 questionsYou 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 solaris origin online http://pkg.oracle.com/solaris/release/ You will be replacing the current publisher with: PUBLISHER TYPE STATUS URI solaris origin online http://solaris.example.com/ 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?
To set up a local IPS package repository from an ISO image in Oracle Solaris 11, you must first populate the repository file system by copying the files using rsync (Option A). Next, configure the application/pkg/server SMF service by setting the pkg/instroot property to the repository path (Option D - noting a slight typo in the option's dot notation, but it provides the correct absolute path /export/IPS). Since the repository is a static copy from an ISO, set the pkg/readonly property to true (Option E). After configuring the properties, refresh (Option G) and enable (Option I) the SMF service. Finally, rebuild the repository catalog using pkgrepo rebuild to ensure the search indexes are up to date (Option J).
- B: Changing permissions to 700 restricts access and is not a required or recommended step for an IPS repository server.
- C: The path export/IPS lacks the leading slash, making it a relative path which will fail to resolve correctly.
- F: Setting pkg/readonly to false is incorrect for a static repository copied directly from a release ISO, as it is not meant to receive direct package publications.
- H: pkgrep refresh is not a valid command
- Oracle, Copying and Creating Package Repositories in Oracle Solaris 11.2, “How to Copy a Repository From a File”: documents mounting/copying repository media with rsync and running pkgrepo rebuild -s.
- Oracle, Copying and Creating Package Repositories in Oracle Solaris 11.2, “Serving a Local Repository Using the Package Depot Server”: documents svccfg -s application/pkg/server setprop pkg/instroot=..., pkg/readonly=true, svcadm refresh, and svcadm enable.
- Oracle Solaris 11.4 Reference Manual, pkgrepo(1), “rebuild” subcommand: rebuilds repository catalog/search data.
- Oracle Solaris 11.4 Reference Manual, pkg.depotd(8), SMF properties pkg/instroot and pkg/readonly.
Keep practicing
Take the free 1Z0-820 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 1Z0-820 practice questions
- Question 1You need to update an OS image on a client. The pkg publishers command displays the wrong…
- Question 3Select the five tasks that need to be performed on the Automated Installer (AI) install s…
- Question 4New features wore added to ZFS in Oracle Solaris11. Your justification to upgrade from So…
- Question 5Before booting test zone a non-global zone, you want to connect to the zone’s console so …
- Question 6You have been tasked with creating a dedicated virtual network between two local zones wi…
- Question 7You are configuring NFS on a server. Select the two statements that are true.
