安装与配置10g (xp)

一、Oracle 10g安装步骤

1.     Checking Prerequisites先决条件检查

根据提示Oraparam.ini 中记录了先决条件,如果这个文件被损坏或重命名,将无法正常启动OUI,另外,关于未找到先决条件检查,有可能是目录中出现中文,也有可能是oraparam.ini文件中关于该OS版本的required确实没有,网络上有关于在LINUX下安装因为TEMP小于69M,而无法进入安装程序的问题。

2.     Installation Choices 安装选项

    Basic Installation 基本安装

What database product do you want to install?

l   Enterprise Edition—Oracle's full featured database product which provides data management for enterprise-level applications. It is engineered for mission-critical, high-security online transaction processing (OLTP) and data warehousing environments.

企业版安装:拥有全部的Oracle 10g特性。

l   Standard Edition—This installation type is suitable for workgroup or department-level applications, and for small to medium sized enterprises. It is engineered to provide core relational database management services and options.

标准版安装:支持部分oracle 高级选项,但不支持DG,不支持增量备份,单通道,不支持高级复制。

l   Personal Edition (Windows operating systems only)—This installation type installs the same software as the Enterprise Edition, but supports only a single-user development and deployment environment.

个人版安装:与企业版功能一样,但仅支持单一用户环境。

l   Custom Install—This installation type enables you to customize the Enterprise Edition. Use Custom Install to add a component to your existing installation that would not normally be installed or prevent certain components from being installed.

定制版安装:在企业版的基础之上,对组件安装进行控制。

3.     产品特定先决条件检查

不要以为单纯用oraparam.ini就能瞒天过海,在安装过程中还有一些检查是绕不过去的。不过依然有办法可以通过检查。比如在WIN7下安装10G

网络配置要求:未通过

oracle安装要求:Microsoft LoopBack Adapter配置为系统的主网络适配器,不用管他也可以继续安装,网络上提出过解决方法:通过添加新硬件的方法。

4.     创建数据库的类型

          Do you want to create a starter database in addition to installing the Oracle software?

l   General Purpose       一般用途

l   Transaction Processing 事务处理 OLTP DML操作居多,面向应用层

l   Data Warehouse       数据仓库 OLAP 面向决策层

5.     What are your Database Configuration Options?

指定数据库配置选项

全局数据库名,name.domain,每个数据库至少有一个SID引用。注意到这里两个名称是一致的。

The Global Database Name is the full name of the database that uniquely distinguishes it from any other database.区别与其他数据库的唯一标识。

6.     选择数据库管理选项

使用grid control管理数据库

使用database control管理数据库

7.     数据库存储选项

文件系统

This default option creates database files that are managed by your operating system's file system. You can specify the directory path where database files are to be stored. Oracle Database can create and manage the actual files. If you are not certain of which option to use, choose the default selection of File System.

ASM存储

This functionality enables you to define a pool of storage (called a disk group) in which Oracle automatically manages database file placement and naming. For environments with a large number of disks, this option simplifies database administration and maximizes performance. Disk mirroring and striping are performed automatically.

Automatic Storage Management requires a separate instance to configure and manage disks groups.

祼设备

This option enables you to manage your storage devices outside of the operating system file system by providing Oracle Database with unformatted physical disk space called raw devices. This method is primarily used in Oracle Real Application Clusters (RAC) environments. If you select this option, ensure that the raw devices have been created with an operating system command, and that they are not being used for any other purposes or by other Oracle databases.

8.     指定备份和恢复选项

不启动自动备份

启动自动备份

这里设一个flash_recovery_area

另:备份作业身份证明:system eureka

9.     指定数据库方案的口令

因为执行对数据库的启停等操作要求特权用户,ORACLE提供了一些预置账户,集成了不同的功能,最为著名的就是SYS\SYSTEM。数据库创建完成后便会启动,预加载的schema在安装结束后即失效(口令过期)并锁定(lock),但一部分用户及其schema是不能被锁的,这部分用户必须被配置口令。

10.   我看到空间要求是C45MB,包括44B临时空间,D盘要求空间673MB

接下来进行安装程序….

安装日志位于C:\Program Files\Oracle\Inventory\logs

DBCA创建数据库操作日志D\oracle\product\10.2.0\db_1\cfgtoollogs\dbca\test

创建完成后有以下信息:

全局数据库名:test

系统标识符:test

服务器参数文件名:$oracle_home/dbs/spfiletest.ora

Database Control URL http://JZT-HWW:1158/em 一对一

注:所有数据库账户(除去SYS,SYSTEM,DBSNMPSYSMAN外)都已锁定。

此时在口令管理中,可以解锁被锁定的其它数据库账户。

我们发现有不少账户都被锁定了,这些账户基于某些特性和操作有用,包括:OUTLNMDSYSORDSYS等等,暂时不用为其解锁。

iSQL*Plus URL为:http://jzt-hww:5560/isqlplus

iSQL*Plus DBA URL为:http://jzt-hww:5560/isqlplus/dba

安装完成以后,OracleServiceTEST服务自启动。

二、升级程序安装

关闭所有ORACLE相关服务,安装目录位于已安装程序主目录下。Oracle Configuration Manager注册的用途似乎与Oracle提供的上传服务有关,现不探求。

安装日志见:C:\Program Files\Oracle\Inventory\logs

iSQL*Plus URLhttp://jzt-hww:5561/isqlplus

iSQL*Plus DBA URL为:http://jzt-hww:5561/isqlplus/dba

此时5560端口失效

三、创建数据库说明

因为我们选择了在数据库安装时创建一个test数据库,Oracle完成安装后,就将数据库启动了。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24355950/viewspace-669959/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/24355950/viewspace-669959/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值