经尝试,发现原来Windows XP也可以装Oracle10g,并不需要装虚拟机和Windows xx Server;
查看Oracle10g Installation Guide,打开Oracle10.2\database\doc\index.htm,阅读2.4.1 Installing on DHCP Computers,便可知道;
大致意识是需要安装和配置 Loopback Adapter,具体配置方法如下:
【控制面板】-【添加硬件】-选择"是,我已连接了此硬件"-【下一步】-选择"添加新的硬件设备"-【下一步】-搜索并自动安装新硬件-【下一步】-选择"网络适配器"-【下一步】-选择"Microsoft Loopback Adapter"-【下一步】,然后到【控制面板】-【网络连接】-为刚建立的连接手动配置一个可用的IP,当该连接显示连接成功时,打开命令提示符,输入命令ipconfig /all,出现类似如下的结果,表示配置成功了。
C:\Documents and Settings\叶>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : 2bab847d3d884f7
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : No
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : NVIDIA nForce Networking Controll
Physical Address. . . . . . . . . : 00-30-18-A7-10-83
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Lease Obtained. . . . . . . . . . : 2008年3月19日 19:55:29
Lease Expires . . . . . . . . . . : 2008年3月26日 19:55:29
Description . . . . . . . . . . . : NVIDIA nForce Networking Controll
Physical Address. . . . . . . . . : 00-30-18-A7-10-83
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Lease Obtained. . . . . . . . . . : 2008年3月19日 19:55:29
Lease Expires . . . . . . . . . . : 2008年3月26日 19:55:29
Ethernet adapter 本地连接 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
Description . . . . . . . . . . . : Microsoft Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
完成了Loopback Adapter的安装,再安装Oracle10g,一切顺利进行,在Eclipse下连接数据库成功。
转载于:https://blog.51cto.com/yejq8/66794