六、安装数据库软件
1 修改oracle用户当前的语言设置。
1.export LANG=en_US.UTF-8
2 修改DISPLAY环境变量。
1.export DISPLAY=10.71.124.224:0.0
3 运行oracle安装程序“/media/runInstaller
4选择“Basic Installation”,取消“Create Starter Database”复选框,单击“Next”
5保持默认设置,单击“Next”
6 在SUSE 10系统下安装oracle 11g可能会产生1个警告,可以忽略,继续进行安装。
7 install
8
9 安装结束后,将弹出“Execute Configuration scripts”窗口,如图所示。根据窗口上的提示信息,新打开一个终端窗口,以root用户登录,执行以下命令。
1.1. 执行“orainstRoot.sh”脚本。
2./opt/oraInventory/orainstRoot.sh
3.2. 显示如下信息:
4.Changing permissions of /opt/oraInventory to 770.
5.Changing groupname of /opt/oraInventory to oinstall.
6.The execution of the script is complete
7.3. 执行“root.sh”脚本。
8./opt/oracle/product/11g/root.sh
9.4. 显示如下信息:
10.Running Oracle 11g root.sh script
11.The following environment variables are set as:
12. ORACLE_OWNER= oracle
13. ORACLE_HOME= /opt/oracle/product/11g
14.Enter the full pathname of the local bin directory: [/usr/local/bin]:
15. Copying dbhome to /usr/local/bin ...
16. Copying oraenv to /usr/local/bin ...
17. Copying coraenv to /usr/local/bin ...
18.Creating /etc/oratab file...
19.Entries will be added to the /etc/oratab file as needed by
20.Database Configuration Assistant when a database is created
21.Finished running generic part of root.sh script.
22.Now product-specific root actions will be performed.
23.
24.Finished product-specific root actions.
10 然后继续安装。
在“Execute Configuration scripts”对话框中单击“OK”。
好了,安装就这样完成了。
本篇文章来源于 Linux公社网站(www.linuxidc.com) 原文链接:http://www.linuxidc.com/Linux/2011-09/43015p2.htm