Software >> OS >> Unix >> Solaris >> 11 >> IPS >> How to populate your package repository from internet or from an ISO file

(1) Copying from Oracle Solaris Release repository via Internet

e.g.

# pkgrecv -s http://pkg.oracle.com/solaris/release/ -d /export/repoSolaris11 ’*’

 

(2) Copying a Repository Froma File (in .ISO image)

download the following from Oracle

  • sol-11-1111-repo-full.iso-a
  • sol-11-1111-repo-full.iso-b

# cat sol-11-1111-repo-full.iso-a sol-11-1111-repo-full.iso-b > sol-11-1111-repo-full.iso

# lofiadm -a sol-11-1111-repo-full.iso

# mount -F hsfs /dev/lofi/1 /mnt

# rsync -aP /mnt/repo/ /export/repoSolaris11

# umount /mnt