跳至主要内容

博文

目前显示的是 一月, 2012的博文

solaris publisher

#mkdir /pkg #mkdir /repo #cat sol-11-1111-repo-full.iso-a sol-11-1111-repo-full.iso-b > sol-11-1111-repo-full.iso #vi /etc/rc3.d/S99mountpkg #!/bin/sh mount -F hsfs /pkg/sol-11-1111-repo-full.iso /repo #pkg unset-publisher solaris (if you set solaris as mirror directly, that will caused problem, they need connection directly to the original one) #pkg set-publisher -g  file:///repo/repo -P solaris #pkg publisher PUBLISHER                             TYPE     STATUS   URI solaris                               origin   online   file:///repo/repo/ #pkg update