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
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?
B: Set the correct permissions.
Serving a Local Repository Using SMF
First, create a ZFS file system to hold the repository.
Next, make a local copy of the IPS repository file.
Make the contents of the repository file available to thepkg.depotd(1M) server, using thelofiadmcommand to mount the ISO image.
4. (A) Copy the repository files to the ZFS file system you created. This will increase the performance of repository accesses and avoid the need to remount the .iso image each time the system restarts. (Be sure to use /mnt/repo, not /mnt/repo/, so that you copy the repo directory and not just the files and subdirectories in the repo directory.)
# rsync -aP /mnt/repo /export/repo2010_11
You can use the df command to confirm the copy:
5. Once the files are copied, unmount the image and deallocate the block device.
6. Now that your local copy is ready, use thesvccfgcommand to configure the repository server service, specifying the location of your local repository and settingreadonlytotrue:
(D)# svccfg -s application/pkg/server setprop pkg/inst_root=/export/repo2010_11/repo
(E)# svccfg -s application/pkg/server setprop pkg/readonly=true
7. Start thepkg.depotdrepository service:
(G) # svcadm refresh application/pkg/server
(I) # svcadm enable application/pkg/server
http://www.oracle.com/technetwork/articles/servers-storage-admin/localrepositories-1377242.html
Ma
17 days agoBrunilda
22 days agoStephane
28 days agoDorthy
1 month agoMicheline
1 month agoVirgie
1 month agoHelaine
2 months agoVicki
2 months agoElouise
2 months agoPauline
3 months agoBettyann
3 months agoKris
3 months agoCasie
3 months agoJoana
3 months agoSamira
3 months agoSharika
4 months agoGabriele
4 months agoPamella
4 months agoJustine
4 months agoShad
4 months agoDaniel
5 months agoStephane
5 months agoMarica
5 months agoLynelle
5 months agoCarisa
2 days agoRima
7 days agoJacob
12 days agoMaynard
4 months ago