当前位置:文档之家› 安装solaris10补丁

安装solaris10补丁

1.1.1 安装Solaris 10补丁
系统安装完毕后,可以通过网络安装补丁,也可以通过netterm等软件来登陆进去安装补丁。

以root身份进入系统,插入补丁光盘,即EIS第1张光盘。

1.# cd /cdrom/cdrom0/sun/install
2.# ./setup-standard.sh
开始安装,在安装过程中提出的问题:
Sun keyboard Power button to be disabled? [y/n]: y
Are the buttons & dials to be disabled? [y/n]: y
Are remote root logins to be allowed? [y/n]: y
Do you wish to add the SFS packages? [y/n]: y
Do you want to continue with the installation of <SUNWsan> [y,n,?]
y
随后的问题问是否安装包、是否继续安装,都回答y
Do you wish to ENABLE the alternate break sequence? [E/n]: 回答
n
Do you want to install the ACT package? [y/n]: 回答y
enter base directory for install (Default /opt/CTEact) [?,q] 直接回车
Do you wish to enable the email of panic facility [y] [y,n,?] 回答
n
所选择的基本目录</opt/CTEact>必须存在于开始安装之前,
Do you want this directory created now [y,n,?,q] [y,n,?,q]
y
Do you want to continue with the installation of <CTEact> [y,n,?]
y
Do you want to continue with the installation of <SUNWexplo> [y,n,?]
y
Do you want to continue with the installation of <SUNWexplu> [y,n,?]
y
Agree to these terms? [y,n] y
Absolute path name for Explorer defaults file? [/etc/opt/SUNWexplo/default/explorer]:
以下问题都直接回车。

不用填任何东西。

Company name []:
Contract ID []:
System serial number []:
Contact name []:
Contact email address []:
Phone number []:
Address (line 1) []:
Address (line 2) []:
City []:
State []:
Zip []:
然后
Please select your geo from this list - 1) AMERICAS 2) EMEA 3) APAC
选择3
Please Enter the two character Country code or enter ? for a list of countries. 输入cn
Would you like all explorer output to be sent to: explorer-database-apac@
at the completion of explorer when -mail or -e is specified?[y,n] 填n
然后下面的问题都直接回车,直到出现如下信息:
You have answered:
Company name:
Contract ID:
System serial number:
Contact name:
Contact email address:
Phone number:
Address (line 1):
Address (line 2):
City:
State:
Zip:
Country: China
Country Code: CN
Geography: APAC
Mail output to:
Mail output from:
Mail on data load:
Are these values okay?
填y确认。

Do you wish to schedule explorer in cron? [y,n] 填n
安装完成之后如果它会提示:
You must log out & back in for the environment to be updated
Alternative: to test beforehand enter . /.profile
这时候输入命令
# . /.profile
3.开始安装patch
以root身份登陆进系统,执行如下命令:
# cd /cdrom/cdrom0/sun/patch/10
# unpack-patches
Are you ready to unpack patches into /tmp/10? [y/n]: 回答y
如果出现提示You should run: cd /tmp/10; ./install_all_patches 这时按照它的要求运行:
# cd /tmp/10; ./install_all_patches
注意:
如果出现提示不是You should run: cd /tmp/10; ./install_all_patches ,这时按照它的要求运行。

安装过程大概会持续一个小时
4.安装完成后用sync; sync;init 6重新启动系统
5. 在系统启动结束后,要将3-4的步骤再重复做一遍(打系统patch需要两次)。

相关主题