The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /opt/oracle/oradb/home
Enter the full pathname of the local bin directory: [/usr/local/bin]:
图1-42 运行脚本
步骤 20 在如图1-43所示的对话框中,单击“Exit”。
图1-43 安装完成
步骤 21 在如图1-44所示的对话框中,单击“Yes”。
图1-44 退出安装
1.4 检查安装正确性
通过连接Oracle 数据库来确定安装是否正确。安装完成后,oracle 数据库默认为开启状态。
步骤 1 以oracle 用户登录SuSE Linux 操作系统。
步骤 2 在命令窗口中执行如下命令查看数据库状态。
> lsnrctl status
如果系统回显如下信息,表示数据库监听正常。
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 10-FEB-2009 14:41:59
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.71.129.26)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 09-FEB-2009 17:11:29
Uptime 0 days 21 hr. 30 min. 29 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/oradb/home/network/admin/listener.ora
Listener Log File /opt/oracle/oradb/home/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.71.129.26)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "omsdb" has 1 instance(s).
Instance "omsdb", status READY, has 1 handler(s) for this service...
Service "omsdbXDB" has 1 instance(s).
Instance "omsdb", status READY, has 1 handler(s) for this service...
Service "omsdb_XPT" has 1 instance(s).
Instance "omsdb", status READY, has 1 handler(s) for this service...
The command completed successfully
步骤 3 连接到数据库,查看版本信息。
> sqlplus system/system用户密码@omsdb
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 11 09:43:54 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 – Production
显示类似如上信息,表明可以正常连接到Oracle 数据库进行数据查询,Oracle 数据库安装正确。
1.5 FAQ
1.5.1 安装操作系统组件
Oracle 10g安装需要用到操作系统的一些特定组件,如果这些组件没有安装或组件版本达不到要求,Oracle 10g会安装失败。
步骤 1 进入YaST2控制中心。
步骤 2 选择左边列表中的“System”,单击右边框中的“Install and Remove Software”。
步骤 3 在“Search”文本框中输入组件名称,如gcc,按“Enter”键。
步骤 4 在查询结果中选中该组件,单击“Accept”。
如果系统弹出类似对话框提示组件版本冲突,选中每个组件下以“Downgrade”开头的选项,如“Downgrade cpp-3.3.3-43.41 to Version 3.3.3.-43.24”和“Downgrade libstdc++-3.3.3-43.41 to Version 3.3.3-43.24”,单击“OK--Try Again”。作者: fengerapple 时间: 2013-1-25 17:22
Thank you very much for sharing!The good man!The good life of peace!