Oracle SolarisTM 11 11/11 Release Repository Image
images available in
1)Single image case
#lofiadm -a <full_path_to>/sol-11-1111-repo-full.iso /dev/lofi/1
#mount -F hsfs /dev/lofi/1 /mnt
#rsync -aP /mnt/repo <destination>
2)Using a USB Flash Device
#rmformat -l
#rmmount
#dd if=sol-11-1111-repo-full.iso of=<device name> ibs=32K obs=32K
#rmformat -b '<label>' <device name>
3)Using DVD Media
To record the image to the media, simply insert the blank media, and
execute the following command:
cdrecord sol-11-1111-repo-full.iso
4)Multiple ISO case
lofiadm -a <full_path_to>/sol-11-1111-repo-p01.iso /dev/lofi/1
mount -F hsfs /dev/lofi/1 /mnt
rsync -aP /mnt/repo <destination>
umount /mnt
lofiadm -d /dev/lofi/1
lofiadm -a <full_path_to>/sol-11-1111-repo-p02.iso /dev/lofi/1
mount -F hsfs /dev/lofi/1 /mnt
rsync -aP /mnt/repo <destination>
umount /mnt
lofiadm -d /dev/lofi/1
note:- Be aware that a trailing slash on /mnt/repo above (e.g. '/mnt/repo/')
would copy the contents of the directory instead of the directory
itself which will not provide the expected results. In addition, the
<destination> must be the same for both rsync invocations.
Using the repository data
svccfg -s application/pkg/server setprop \
pkg/inst_root=<data_source>/repo
svccfg -s application/pkg/server setprop pkg/readonly=true
By default, pkg.depotd(1M) will listen for connections on port 80. You
can change this by executing the following command:
svccfg -s application/pkg/server setprop pkg/port=<port_number>
svcadm refresh application/pkg/server
svcadm enable application/pkg/server
pkg set-publisher -G '*' -g <origin> solaris
In case you are interested in making money from your visitors by running popunder advertisments - you can use one of the most established companies: Propeller Ads.
ReplyDelete