(红色部分为修改内容)
第一步,在磁盘下建一个文件夹,注意不要有空格,否则oracle安装时会出现警告。
第二步,用于进入安装界面后,检测环境在安装文件夹里搜索 "refhost.xml",共2个文件。
用记事本打开,看到
这样的代码,然后在下面添加这些(xml上下文之间不能有空格)
第三步,修改oracle安装文件下install的oraparam.ini文件,修改如下
[Oracle]
DISTRIBUTION=TRUE
SOURCE=../stage/products.xml
LICENSE_LOCATION=
JRE_LOCATION=../stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles
JRE_MEMORY_OPTIONS="
-mx96m"
DEFAULT_HOME_LOCATION=oracle\product\10.2.0\db
DEFAULT_HOME_NAME=OraDb10g_home
NO_BROWSE=/net
NLS_ENABLED=TRUE
BOOTSTRAP=TRUE
OUI_VERSION=10.2.0.3.0
##
JRE_VERSION is only for Windows. This is to copy accessbridge dlls
JRE_VERSION=1.4.2
#SHOW_HOSTNAME=ALWAYS_SHOW
shows the hostname panel always
#SHOW_HOSTNAME=NEVER_SHOW does not
the hostname panel
#SHOW_HOSTNAME=CONDITION_SHOW shows the hostname
panel on condition
SHOW_HOSTNAME=NEVER_SHOW
#THIN_JDBC_FILENAME is
optional and defaults to classes12.jar
#The value specified for this
should be packaged with OUI, and should
#be relative to
expanded stagedir>/jlib/
THIN_JDBC_FILENAME=classes12.jar
#RUN_OUICA
specifies the batch script name that needs to be run
#The script is
ouica.bat for win32, and ouica.sh for solaris.
#If the value is not
specified, then the OUICA script is not run
RUN_OUICA=ouica.bat
CLUSTERWARE={"oracle.crs","10.1.0.2.0"}
SILENT_VARIABLE_VALIDATION=TRUE
[Certified
Versions]
#You can customise error message shown for failure,
provide value for CERTIFIED_VERSION_FAILURE_MESSAGE
Windows=5.0,5.1,5.2,6.