what the blog?

{upgrade in progress..}

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: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6850734

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
done

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 *; 
do 
echo $patchname=`patchadd -p | grep "Patch: $patchname" | wc -l
done`

output installed=1, Not installed=0

solaris

levin • October 15, 2009


Previous Post

Next Post

Leave a Reply