安装过程...

安装进度大约到65%时会有错误提示:
Error in invoking target 'collector' of makefile '/opt/Oracle/102/sysman/lib/ins_emdb.mk'.

同时oraInventory/logs/目录下的安装日志文件里面会有如下类似错误提示:

这是oracle安装程序的一个bug,可以忽略此错误继续安装,对系统没什么影响。
在Configuration Assistants 时会出现错误提示:
OUI-25031:Some of the configuration assistants failed.

分析:主机名映射错误
解决:修改/etc/hosts文件,增加IP地址与主机名的映射如下:

接着会遇到错误提示:
ORA-27125:unable to create shared memory segment

解决:
1. 确定安装oracle所使用的用户组
# id oracle
可以看到oracle组dba id 为501。
2. 修改内核参数
echo "501" >/proc/sys/vm/hugetlb_shm_group
就可以了。
