使用环境:
PC:Macbook Pro
系统:Mac OS X 10.9.2 RHEL5.0 X86_64
软件:PD 9.0
数据库版本:Oracle Database 11gR2
1.分区情况
由于作实验 分配给虚拟机的内存是2G 硬盘大小50G
/boot 100M
/swap 4G
/tmp 3G
/ 42G
分区官方文档说明:
Available RAM | Swap Space Required |
---|---|
Between 1 GB and 2 GB | 1.5 times the size of RAM |
Between 2 GB and 16 GB | Equal to the size of RAM |
At least 1 GB of disk space in the /tmp
directory
Starting with Oracle Database 11g,
the Automatic Memory Management feature requires more shared memory (/dev/shm)
and file descriptors. The shared
memory should be sized to be at least the greater of MEMORY_MAX_TARGET
and MEMORY_TARGET
for
each Oracle instance on that computer.[有点不明白,需要再看看]
做实验暂时规划10G
[root@localhost ~]# df -h /dev/shm/
Filesystem Size Used Avail Use% Mounted on
shmfs 10G 0 10G 0% /dev/shm
2.包安装时配置yum源遇到的问题。
[root@localhost yum.repos.d]# yum clean
Failed to set locale, defaulting to C
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Options Error: Error parsing '/media/RHEL_5.8\\ x86_64\\ DVD/Server/': URL must be http, ftp, file or https not ""
file路径内不能出现空格,空格需用%20代替。
3.RHEL安装结束时,在firstboot配置时,关闭防火墙、SELINUX。为什么?
个人理解为oracle使用时,需要进行远程链接,而防火墙和selinux严格的安全机制有可能导致部分服务无法使用(selinux是一款为了提高系统安全性的软件:对系统服务,文件权限,网络端口访问有极其严格的限制),不利于oracle的使用。
4.终端ssh登录PD下RHEL虚拟机后,如何显示图形界面?
安装X11 完成以后使用 ssh -X user@192.168.0.2登录
输入xhost + 然后使用xclock查看图形界面是否能显示
总结:配置时一定参考官方联机文档,这样才能最大程度保证不出错。