Downloading latest Solaris patch clusters
The following script will automatically download the latest Solaris Recommended Patch Clusters. Using wget's --timestamp flag, Clusters are only downloaded if they are newer than the local copy.
You must register for a Sun Online Account
in order to download Solaris Recommended Patch Clusters. A valid Sun
Service Plan is required to download the Solaris 10 Cluster. Read Document 82023 for more information.
#!/bin/sh
SUN_ONLINE_USER="YOUR_SUN_ONLINE_USER"
SUN_ONLINE_PASSWORD="YOUR_SUN_ONLINE_PASSWORD"
RELEASES="2.5.1 2.6 7 8 9 10"
for RELEASE in $RELEASES ; do
wget --no-verbose
--timestamping --http-user="$SUN_ONLINE_USER"
--http-passwd="$SUN_ONLINE_PASSWORD" --no-check-certificate
"https://sunsolve.sun.com/private-cgi/pdownload.pl?target=${RELEASE}_Recommended&method=h" -O ${RELEASE}_Recommended.zip
done
Back to brandonhutchinson.com.
Last modified: 2007/07/02