solaris patch installation for dummy

Important for solaris 10 user!

If your patch list included 141742-0?, make sure your /etc/ssh/sshd_config contain the following line for preferred encryption. Test it before start your patching.

Ciphers aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc

See the bug detail from here:

Here we go!

*. Use /var/spool/patch as the working directory, make sure it can access by “others” either 755 or 777

1. Upload all patch to /var/spool/patch
2. set umask 022 #Optional if changed the default umask
3. unzip all patch and remove it the zip file

cd /var/spool/patch
for x in *.zip; do
unzip $x; rm $x

5. start patch installation

cd /var/spool/patch
patchadd -M /var/spool/patch  `ls -1 | awk '{ORS=" ";print;}'` | tee -a /tmp/mypatch.log

6. check installed patch

cd /var/spool/patch
for patchname in *; 
echo $patchname=`patchadd -p | grep "Patch: $patchname" | wc -l

output installed=1, Not installed=0

Leave a Reply