3.5.安装oracle11gr2 database 软件与创建数据库
3.5.1.安装Oracle 11gr2 Database
以oracle 用户登录到节点一,切换到软件安装目录,执行安装。
在oracle用户安装,首先将两个Oracle安装文件解压在一个文件夹中 |
[[email protected] ~]# su oracle [[email protected] root]$ cd /home/oracle [[email protected] ~]$ ll total 4 drwxr-xr-x 8 root root 4096 Aug 20 2009 database [[email protected] ~]$ cd database [[email protected] database]$ ./runInstaller Starting Oracle Universal Installer... Checking Temp space: must be greater than 120 MB. Actual 5388 MB Passed Checking swap space: must be greater than 150 MB. Actual 5860 MB Passed Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-10-17_06-01-14AM. Please wait ...
|
3.5.2. 创建数据库
在节点1上用oracle用户执行dbca命令, 选择 rac数据库点击next。
切换到Oracle用户下,并查看下环境变量 |
[[email protected] ~]# su - oracle [[email protected] ~]$ echo $PATH /u01/app/oracle/product/11.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin: /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin:/usr/java/jdk1.8.0_11/bin: /usr/java/jdk1.8.0_11/jre/bin:/u01/app/11.2.0/grid/bin:/home/oracle/bin [[email protected] ~]$ dbca |