最近从朋友处得到了一份oracle10g的beta版本.在安装过程中,遇到了一个小插曲,写在这里供大家参考.
我的机器是piii700,windows2000+service pack4.
点击setup.exe之后,出现的窗口信息如下:
using paramfile: g:\oracle10g\disk1\install\win32\oraparam.ini
starting oracle universal installer ...
checking required pre-requisites...
checking operating system version: must be 4.0, 5.0, 5.1 or 5.2. actual 5.0 passed
checking for service_pack: must be 1, 2 or 3. actual service pack 4 failed
<<<<
checking for min_display_colors 256. actual 4294967296 passed
some required pre-requisite checks have failed (see above). you must
correct these problems before continuing with the install, at which
time they will be re-checked. continue? (y/n) [n]
从中看出,oracle居然不支持service pack 4,不过按照常理来说,service pack新版本都是和旧版本兼容的.稍加分析,可以断定这是个小bug.在oracle的这个beta版本出来之前还没有service pack4.
看看第一行信息,使用的是g:\oracle10g\disk1\install\win32\oraparam.ini这个参数文件,那么是不是一些条件的边界值是在这里定义的呢?
找到该文件,打开,分析一下,果真是定义的一些检测系统的边界值.发现有这么两行:
[windows-5.0-required]
service_pack=1,2,3
可以看出,定义的是service pack的版本.ok,把它修改成:
service_pack=1,2,3,4
重新运行setup.exe .看到验证信息如下:
using paramfile: g:\oracle10g\disk1\install\win32\oraparam.ini
starting oracle universal installer ...
checking required pre-requisites...
checking operating system version: must be 4.0, 5.0, 5.1 or 5.2. actual 5.0
passed
checking for service_pack: must be 1, 2, 3 or 4. actual service pack 4 passed
checking for min_display_colors 256. actual 4294967296 passed
all required pre-requisite checks have passed.
checking if cpu speed is above 300 mhz. actual 696mhz passed
preparing to launch oracle universal installer from c:\docume~1\admini~1\locals~
1\temp\orainstall2003-08-23_02-32-20pm. please wait ...
已经通过.安装......
再回过头来,分析一下disk1\install\win32\oraparam.ini这个文件,可以看出安装的最小条件是:
cpu=300
256色分辨率
在nt4上安装需要sp6
从中看出oracle10g在windows平台上可能新加了一个检测文件.利用这个文件内容判定操作系统是否符合安装条件.
不知道正式版本中是不是这样.
附disk1\install\win32\oraparam.ini文件内容:
[oracle]
distribution=true
source=../../stage/products.jar
license_location=
jre_location=../../stage/components/oracle.swd.jre/1.3.1.6.0a/1/datafiles/expanded
jre_memory_options=" -mx96m"
default_home_location=\oracle\ora10beta1
default_home_name=orahome10beta1
no_browse=.net
nls_enabled=true
bootstrap=true
oui_version=2.3.0.5.0a
#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 <oui 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
[certified versions]
#you can customise error message shown for failure, provide value for certified_version_failure_message
windows=4.0,5.0,5.1,5.2
#windows nt 4.0
[windows-4.0-required]
#service pack for windows nt4.0, use %systemroot%\winnt ystem32\winver.exe to find version and service pack
service_pack=6a
#you can customise the message shown for service pack failure through service_pack_failure_message
#minimum display colours for oui to run
min_display_colors=256
#use min_display_colors_failure_message to customise message for failure of check for display colors
[windows-4.0-optional]
#minimum cpu speed required for oui in mhz
cpu=300
#cpu_failure_message, use to customise error message for cpu speed check
#windows 2000 use winver.exe to find version
[windows-5.0-required]
service_pack=1,2,3,4
#minimum display colours for oui to run
min_display_colors=256
[windows-5.0-optional]
#minimum cpu speed required for oui
cpu=300
#windows xp use winver.exe to find version
[windows-5.1-required]
#minimum display colours for oui to run
min_display_colors=256
[windows-5.1-optional]
#minimum cpu speed required for oui
cpu=300
#windows .net use winver.exe to find version
[windows-5.2-required]
#minimum display colours for oui to run
min_display_colors=256
[windows-5.2-optional]
#minimum cpu speed required for oui
cpu=300
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器