a、确保网络畅通,即可连接到Internet。
b、已经安装了yum包管理工具。
c、切换到目录 /etc/yum.repos.d/
d、获取配置文件并进行相应修改wget http://public-yum.oracle.com/public-yum-ol6.repo(所需安装版本项下字段enabled=0更改为enabled=1)
e、使用yum安装oracle-rdbms-server-11gR2-preinstall包(oracle-rdbms-server-11gR2-preinstall)
f、校验内核修改日志及原文件备份情况
校验结果 [[email protected] ~]# cd /var/log/oracle-rdbms-server-11gR2-preinstall/results/ [[email protected] results]# ls orakernel.log [[email protected] results]# more orakernel.log
#orakernel.log文件的最后一句给出了相关的备份信息
#下面是查看备份文件
[[email protected] results]# cd /var/log/oracle-rdbms-server-11gR2-preinstall/backup [[email protected] backup]# ls May-16-2014-14-53-37 [[email protected] backup]# cd May-16-2014-14-53-37/ [[email protected] May-16-2014-14-53-37]# ls grub.conf limits.conf orakernel.log sysctl.conf
#校验Oracle用户,注,需要为Oracle用户修改密码,此处省略
[[email protected] ~]# cat /etc/passwd |grep oracle oracle:x:54321:54321::/home/oracle:/bin/bash [[email protected] ~]# cat /etc/group |grep dba dba:x:54322:oracle [[email protected] ~]# cat /etc/group |grep oinstall oinstall:x:54321: