1、上传补丁包
sftp> cd /
sftp> ls
bin boot cgroup
dev etc home
lib lib64 lost+found
media misc mnt
net opt proc
root sbin selinux
srv sys szyappgx
tmp usr var
sftp> cd m
media/ misc/ mnt/
sftp> cd media/
sftp> ls
sftp> lcd E:\shuili
sftp> lls
p27919965_1036_Generic.zip
sftp> put p27919965_1036_Generic.zip
Uploading p27919965_1036_Generic.zip to /media/p27919965_1036_Generic.zip
100% 96196KB 1479KB/s 00:01:05
E:/shuili/p27919965_1036_Generic.zip: 98505677 bytes transferred in 65 seconds (1479 KB/s)
sftp>
2、解压改名
[root@SZYAPPSER02 bin]# cd /media/
[root@SZYAPPSER02 media]# ks
-bash: ks: command not found
[root@SZYAPPSER02 media]# ls
p27919965_1036_Generic.zip
[root@SZYAPPSER02 media]# unzip -q p27919965_1036_Generic.zip -d p27919965_1036_Generic
[root@SZYAPPSER02 media]# ls
p27919965_1036_Generic p27919965_1036_Generic.zip
[root@SZYAPPSER02 media]# cd p27919965_1036_Generic
[root@SZYAPPSER02 p27919965_1036_Generic]# ls
B47X.jar patch-catalog_26112.xml README.txt
[root@SZYAPPSER02 p27919965_1036_Generic]# mv patch-catalog_26112.xml patch-catalog.xml
[root@SZYAPPSER02 p27919965_1036_Generic]# ls
B47X.jar patch-catalog.xml README.txt
3、停服务
[root@SZYAPPSER02 utils]# ps -ef | grep weblogic
root 3683 3615 1 Jan17 ? 3-15:01:30 /opt/jdk1.6.0_45/bin/java -server -Xms2048m -Xmx2048m -XX:MaxPermSize=2048m -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/bea/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=/opt/bea/wlserver_10.3 -Dwls.home=/opt/bea/wlserver_10.3/server -Dweblogic.home=/opt/bea/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/opt/bea/patch_wls1036/profiles/default/sysext_manifest_classpath:/opt/bea/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
root 3787 3719 0 Jan17 ? 04:55:03 /opt/jdk1.6.0_45/bin/java -server -Xms2048m -Xmx2048m -XX:MaxPermSize=2048m -Dweblogic.Name=Proxy_Server -Djava.security.policy=/opt/bea/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/opt/bea/wlserver_10.3/server/lib/cacerts -da -Dplatform.home=/opt/bea/wlserver_10.3 -Dwls.home=/opt/bea/wlserver_10.3/server -Dweblogic.home=/opt/bea/wlserver_10.3/server -Dweblogic.management.discover=false -Dweblogic.management.server=http://10.21.0.200:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/opt/bea/patch_wls1036/profiles/default/sysext_manifest_classpath:/opt/bea/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
root 3918 3849 0 Jan17 ? 1-10:25:15 /opt/jdk1.6.0_45/bin/java -server -Xms2048m -Xmx2048m -XX:MaxPermSize=2048m -Dweblogic.Name=Managed_Server_1 -Djava.security.policy=/opt/bea/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/opt/bea/wlserver_10.3/server/lib/cacerts -da -Dplatform.home=/opt/bea/wlserver_10.3 -Dwls.home=/opt/bea/wlserver_10.3/server -Dweblogic.home=/opt/bea/wlserver_10.3/server -Dweblogic.management.discover=false -Dweblogic.management.server=http://10.21.0.200:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/opt/bea/patch_wls1036/profiles/default/sysext_manifest_classpath:/opt/bea/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
root 9212 9087 0 09:14 pts/0 00:00:00 grep weblogic
[root@SZYAPPSER02 utils]# ps -ef | grep weblogic
root 3683 3615 1 Jan17 ? 3-15:01:31 /opt/jdk1.6.0_45/bin/java -server -Xms2048m -Xmx2048m -XX:MaxPermSize=2048m -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/bea/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=/opt/bea/wlserver_10.3 -Dwls.home=/opt/bea/wlserver_10.3/server -Dweblogic.home=/opt/bea/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/opt/bea/patch_wls1036/profiles/default/sysext_manifest_classpath:/opt/bea/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
root 3787 3719 0 Jan17 ? 04:55:03 /opt/jdk1.6.0_45/bin/java -server -Xms2048m -Xmx2048m -XX:MaxPermSize=2048m -Dweblogic.Name=Proxy_Server -Djava.security.policy=/opt/bea/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/opt/bea/wlserver_10.3/server/lib/cacerts -da -Dplatform.home=/opt/bea/wlserver_10.3 -Dwls.home=/opt/bea/wlserver_10.3/server -Dweblogic.home=/opt/bea/wlserver_10.3/server -Dweblogic.management.discover=false -Dweblogic.management.server=http://10.21.0.200:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/opt/bea/patch_wls1036/profiles/default/sysext_manifest_classpath:/opt/bea/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
root 3918 3849 0 Jan17 ? 1-10:25:16 /opt/jdk1.6.0_45/bin/java -server -Xms2048m -Xmx2048m -XX:MaxPermSize=2048m -Dweblogic.Name=Managed_Server_1 -Djava.security.policy=/opt/bea/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/opt/bea/wlserver_10.3/server/lib/cacerts -da -Dplatform.home=/opt/bea/wlserver_10.3 -Dwls.home=/opt/bea/wlserver_10.3/server -Dweblogic.home=/opt/bea/wlserver_10.3/server -Dweblogic.management.discover=false -Dweblogic.management.server=http://10.21.0.200:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/opt/bea/patch_wls1036/profiles/default/sysext_manifest_classpath:/opt/bea/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
root 9219 9087 0 09:17 pts/0 00:00:00 grep weblogic
[root@SZYAPPSER02 utils]# kill -9 3683 3787 3918
[root@SZYAPPSER02 utils]# ps -ef | grep weblogic
root 9225 9087 0 09:18 pts/0 00:00:00 grep weblogic
[root@SZYAPPSER02 utils]# ps -ef | grep java
root 9241 9087 0 09:24 pts/0 00:00:00 grep java
4、查版本看补丁对不对