说明,首先要先在Oracle官网下载好,Oracle11g的安装包,在安装时,由于是自己试验部属,所以最好选安装,个人版,不过企业版,标准版也可以,安上后选择单实例就好,并且切记是只安装软件,不能选择配置数据库,我们这里要讲的是手动安装的方法。完上上面工作之后,下面开始
1 准备参数文件initMYDB.ora 路径E:\app\wangxiaobo\admin\mydb\pfile\initMYDB.ora
内容如下:
##############################################################################
# Copyright (c) 1991, 2001, 2012 by Oracle Corporation
##############################################################################
###########################################
# Shared Server
###########################################
dispatchers="(PROTOCOL=TCP)(SERVICE=ORCLXDB)"
###########################################
# Miscellaneous
###########################################
compatible=11.2.0.0.0
diagnostic_dest=E:\app\wangxiaobo
memory_target=1288699904
###########################################
# Security and Auditing
###########################################
audit_file_dest=E:\app\wangxiaobo\admin\mydb\adump
audit_trail=db
remote_login_passwordfile=EXCLUSIVE
###########################################
# Database Identification
###########################################
db_domain=""
db_name='mydb'
###########################################
# File Configuration
###########################################
control_files=("E:\app\wangxiaobo\oradata\mydb\control01.ctl","E:\app\wangxiaobo\flash_recovery_area\mydb\control02.ctl")
db_recovery_file_dest=E:\app\wangxiaobo\flash_recovery_area
db_recovery_file_dest_size=4039114752
###########################################
# Cursors and Library Cache
###########################################
open_cursors=300
###########################################
# System Managed Undo and Rollback Segments
###########################################
undo_tablesp