Difference between revisions of "BXadmin:Install"

From CCGB
Jump to: navigation, search
 
Line 1: Line 1:
 
= Solaris 10 Update 9 =
 
= Solaris 10 Update 9 =
 +
Basics:
 +
<pre>
 +
/usr/sfw/bin/wget http://admin.bx.psu.edu/install/solaris-10-post_install.sh
 +
sh solaris-10-post_install.sh
 +
</pre>
  
* Disable services. Things like sma will be enabled by cfengine for monitoring FMD over snmp, but let's assume we're not going to do that, and make the zone as bare-bones to start with.
+
pkgutil/cfengine:
 
+
<pre>
<pre>for foo in webconsole cde-printinfo cde-login dmi snmpdx sendmail rpc_ticotsord cde-spc stlisten finger stdiscover telnet ftp shell:default shell:kshell rquota rlogin cde-ttdbserver fc-cache rusers cde-calendar-manager smserver xfs stfsloader rstat wbem nfs/mapid nfs/status nfs/cbd ogl-select ppd-cache-update sac sma seaport ; do svcadm disable $foo ; done ;</pre>
+
/usr/sfw/bin/wget ftp://ftp.bx.psu.edu/mirrors/opencsw/pkgutil-`uname -p`.pkg
 
+
pkgadd -d pkgutil-`uname -p`.pkg
* Edit /etc/passwd to move root's homedir to /root
+
echo "mirror=ftp://ftp.bx.psu.edu/mirrors/opencsw/current/" >> /etc/opt/csw/pkgutil.conf
* Edit /etc/security/policy.conf to change CRYPT_DEFAULT and reset root's password
+
/opt/csw/bin/pkgutil -i cfengine -y
* Install cfenging, if applicable:
+
mkdir -p /var/cfengine/inputs
<pre>mkdir -p /var/cfengine/inputs
+
/usr/sfw/bin/wget http://admin.bx.psu.edu/install/cfengine-update.conf -O /var/cfengine/inputs/update.conf
mv update.conf /var/cfengine/inputs/
 
 
/opt/csw/sbin/cfkey
 
/opt/csw/sbin/cfkey
 
/opt/csw/sbin/cfagent -qv -f update.conf
 
/opt/csw/sbin/cfagent -qv -f update.conf
 
/opt/csw/sbin/cfagent -qv</pre>
 
/opt/csw/sbin/cfagent -qv</pre>

Latest revision as of 14:24, 20 July 2011

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