BXadmin:Install

From CCGB
Jump to: navigation, search

Solaris 10 Update 9

Basics:

/usr/sfw/bin/wget http://admin.bx.psu.edu/install/solaris-10-post_install.sh
sh solaris-10-post_install.sh

pkgutil/cfengine:

/usr/sfw/bin/wget ftp://ftp.bx.psu.edu/mirrors/opencsw/pkgutil-`uname -p`.pkg
pkgadd -d pkgutil-`uname -p`.pkg
echo "mirror=ftp://ftp.bx.psu.edu/mirrors/opencsw/current/" >> /etc/opt/csw/pkgutil.conf
/opt/csw/bin/pkgutil -i cfengine -y
mkdir -p /var/cfengine/inputs
/usr/sfw/bin/wget http://admin.bx.psu.edu/install/cfengine-update.conf -O /var/cfengine/inputs/update.conf
/opt/csw/sbin/cfkey
/opt/csw/sbin/cfagent -qv -f update.conf
/opt/csw/sbin/cfagent -qv