IPS Repository

From BMC Computer Science Systems
Jump to: navigation, search

Quick guide to setting up an IPS repository for Solaris packages.

pkgrepo create $ROOT
pkgrepo -s $ROOT add-publisher $PUBLISHER
pkgrepo -s $ROOT set publisher/prefix=$PUBLISHER
pkgrepo -s $ROOT refresh
svccfg -s pkg/server add $PUBLISHER
svccfg -s pkg/server:$PUBLISHER addpkg pkg application
svccfg -s pkg/server:$PUBLISHER setprop pkg/port = $PORT
svccfg -s pkg/server:$PUBLISHER setprop pkg/inst_root = $ROOT
svccfg -s pkg/server:$PUBLISHER addpg general framework
svccfg -s pkg/server:$PUBLISHER addropvalue general/complete astring: $PUBLISHER
svccfg -s pkg/server:$PUBLISHER addpropvalue general/enabled boolean: true
svccfg -s pkg/server:$PUBLISHER setprop pkg/proxy_base = astring: http://pkg.cs.brynmawr.edu/$PUBLISHER