电脑技术学习

Solaris系统管理培训(第五章:补丁维护)

dn001
什么是Patch?;
简单的说,补丁就是一些替换现存的文件和目录的文件目录集合。补丁纠正应用程序的错误或增加功能。;
Patch编号;
每个补丁都有编号。例如补丁号为101945,版本是34的话,这个补丁的目录名就是101945-34.;

patchadd命令用于安装补丁:;
#;cd;/tmp;
#;ls;
105160-01;ps_data;sdt_fl8zKOI_;
#;patchadd;105160-01;
Checking;installed;packages;and;patches...;
Verifying;sufficient;filesystem;capacity;(dry;run;method);
Installing;patch;packages...;
Patch;number;105160-01;has;been;successfully;installed.;
See;/var/sadm/patch/105160-01/log;for;details;
Patch;packages;installed:;
SUNWdtbas;

patchrm用于删除补丁;
#;patchrm;105633-06;
Checking;installed;packages;and;patches...;
Patch;105633-06;has;been;backed;out.;
#;

下面的命令用于检查系统的补丁情况;
#;patchadd;-p;
Patch:;105160-05;Obsoletes:;Requires:;Incompatibles:Packages:;SUNWdtbas;
#;showrev;-p;
Patch:;105160-05;Obsoletes:;Requires:Incompatibles:;Packages:;SUNWdtbas;

标签: