HP-UX如何打补丁

从网上下载后安装:
1. mv PHxx_yyyy /Patches
2. cd Patches
3. sh PHxx_yyyy
4. more PHxx_yyyy.text
5. swinstall -s PHxx_yyyy.depot

从光盘安装:
1. mkdir /patchCD
2. mount /dev/dsk/cxtxdx /patchCD
3. swinstall -s /patchCD

从磁带安装:
swinstall -s /dev/rmt/0m

列出所有已安装补丁:
swlist -l patch '*.*, c=patch'

移除补丁:
swremove PHxx_yyyy

确定补丁运行正常后,移除备份:
swmodify -x patch_commit=true PHxx_yyyy

你可能感兴趣的:(HP-UX,patch,c)