RHEL6.5安装 Oracle 11g + udev + ASM安装部署详解 (续一)

一世执手 提交于 2019-11-28 14:43:02

RHEL6.5安装 Oracle 11g + udev + ASM安装部署详解

[日期:2017-05-26] 来源:Linux社区  作者:sound [字体: ]
 
 

配置安装成功

配置安装Oracle 客户端

[root@rhel6 opt] # su - oracle
[oracle@rhel6 ~]$ vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth:  creating new authority  file  /home/oracle/ .Xauthority
New  'rhel6:2 (oracle)'  desktop is rhel6:2
Creating default startup script  /home/oracle/ .vnc /xstartup
Starting applications specified  in  /home/oracle/ .vnc /xstartup
Log  file  is  /home/oracle/ .vnc /rhel6 :2.log 
[root@rhel6 opt] # unzip p13390677_112040_Linux-x86-64_1of7.zip 
[root@rhel6 opt] # unzip p13390677_112040_Linux-x86-64_2of7.zip 
[root@rhel6 opt] # chown -R oracle.oinstall database/

VNC远程桌面安装Oracle软件

[oracle@rhel6 database]$ . /runInstaller

选择只安装Oracle软件(后续再建实例)

选择单实例节点安装

选择安装企业版

Oracle数据库软件安装位置(环境变量读取正确不需要修改)

由于测试环境内存偏小,所以这里可以忽略警告继续安装

以root用户执行所需的脚本

[root@rhel6 tmp] # /u01/app/oracle/product/11.2.0/root.sh
Performing root user operation  for  Oracle 11g
The following environment variables are  set  as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/product/11 .2.0
Enter the full pathname of the  local  bin directory: [ /usr/local/bin ]: 
The contents of  "dbhome"  have not changed. No need to overwrite.
The contents of  "oraenv"  have not changed. No need to overwrite.
The contents of  "coraenv"  have not changed. No need to overwrite.
Entries will be added to the  /etc/oratab  file  as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Finished product-specific root actions.

安装完成

Oracle和ASM配置安装完成接下来安装配置ASM,建instance

以grid用户远程桌面登陆,配置ASM磁盘

[grid@rhel6: /home/grid ]$asmca

以oracle用户远程桌面登陆,配置创建数据库

[oracle@rhel6 database]$ dbca

选择创建数据库

由于这里是实验环境选择第一项

配置instance名

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!