在 Linux x86 上安装 Oracle 数据库 10g
作者:John Smiley
学习在 RHEL 2.1、RHEL 3 或 SLES 8 上从头安装 Oracle 数据库 10g 的基础知识(仅用于评估)
http://www.oracle.com/technology/global/cn/pub/articles/smiley_10gdb_install.html#config
windows下的oracle 10g的安装详解:
http://www.8xif.com/doc/oracle-10g-installed-under-windows-operating-diagram.html
Red Hat Enterprise Linux 5下安装Oracle全程图解
http://www.linuxidc.com/Linux/2009-06/20390.htm
redhat linux enterprise 5 安装Oracle10G
http://blog.csdn.net/ling_iori/archive/2009/04/13/4068186.aspx
问题1.
正在检查网络配置需求...检查完成。此次检查的总体结果为: 失败 <<<<
问题: 安装检测到系统的主 IP 地址是 DHCP 分配的地址。
建议案: Oracle 支持在具有 DHCP 分配的 IP 地址的系统上进行安装。但在安装之前, 必须将
Microsoft LoopBack Adapter 配置为系统的主网络适配器。 有关在配置有 DHCP 的系统上安装软件的详
细信息, 请参阅 Installation Guide。
如果在此跳过此问题,则在后期配置数据库时会出现这个错误:Invalid value null for parameter PORT
解决方法:
http://support.microsoft.com/?kbid=236869
How To Install Microsoft Loopback Adapter in Windows 2000
View products that this article applies to.
Article ID : 236869
Last Review : July 14, 2004
Revision : 3.1
This article was previously published under Q236869
On This Page
SUMMARY
Manual Installation
Unattended Installation
APPLIES TO
SUMMARY
The Microsoft Loopback adapter is a tool for testing in a virtual network environment where access to a network is not feasible. Also, the Loopback adapter is essential if there are conflicts with a network adapter or a network adapter driver. Network clients, protocols, and so on, can be bound to the Loopback adapter, and the network adapter driver or network adapter can be installed at a later time while retaining the network configuration information. The Loopback adapter can also be installed during the unattended installation process.
Back to the top
Manual Installation
1. Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Hardware.
2. Click Add/Troubleshoot a device, and then click Next.
3. Click Add a new device, and then click Next.
4. Click No, I want to select the hardware from a list, and then click Next.
5. Click Network adapters, and then click Next.
6. In the Manufacturers box, click Microsoft.
7. In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next.
8. Click Finish.
After the adapter is installed successfully, you can configure its options manually, as with any other adapter. Note that if the TCP/IP properties are configured to use DHCP (the default), the adapter will eventually use an autonet address (169.254.x.x/16) because it is not actually connected to any physical media.
Back to the top
Unattended Installation
Modify the Unattend.txt file using the following example as a guide to install the Microsoft Loopback adapter: [NetAdapters]
Adapter01=Params.Adapter01
[Params.Adapter01]
InfID="*msloop" ; Microsoft Loopback Adapter
ConnectionName = "MS Loopback Adapter"
[NetProtocols]
MS_TCPIP=Params.MS_TCPIP
; TCP/IP parameters
; Use parameter values specific to your network
[Params.MS_TCPIP]
AdapterSections=params.TCPIP.Adapter01
DNS=yes
DNSSuffixSearchOrder=mycorp.com
EnableLMHosts=No
; Adapter Specific TCP/IP parameters
; Use parameter values specific to your network
[params.TCPIP.Adapter01]
SpecificTo=Adapter01
DNSDomain=mycorp.com
DNSServerSearchOrder=192.168.5.251
WINS=no
DHCP=no
IPAddress=192.168.5.10
SubnetMask=255.255.255.0
DefaultGateway=192.168.5.254
Back to the top
--------------------------------------------------------------------------------
APPLIES TO
• Microsoft Windows 2000 Server
• Microsoft Windows 2000 Advanced Server
• Microsoft Windows 2000 Professional Edition
• Microsoft Windows 2000 Datacenter Server
Back to the top
Keywords:kbhowto kbhowtomaster kbnetwork KB236869
到控制面板/添加硬件,在向导中选择“是,已经连接了此硬件”→“网络适配器”→“Microsoft Loopback Adapter”,添加完成,你会发现新建了个“本地连接”,用的就是这个假的“Microsoft Loopback Adapter”(因为根本就没有连接这个硬件,只是骗下Oracle而已)。把这个本地连接的IP设置一下(例如192.168.0.8)。好了,现在 回去重新让Oracle检测一遍吧,应该通过了吧。
问题2,
在linux如果出现类似问题(Invalid value null for parameter PORT )
解决:
是/etc/hosts中IP或主机名设置错误引导致的,该问题在安装前的检查中就应该已经有过JAVA的报错了
问题3:
oracle10g 端口号的问题
我在安装oracle10g的样本数据库时出现了下面的错误,导致EM控制台不能启动,以前我在机器上装过oracle10g而且成功了!有谁知道解决吗?
无法在指定的范围内为以下进程分配端口: JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
有关详细资料, 请参阅 F:/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/oraTest/emConfig.log 中的日志文件。
2006-6-12 21:42:23 oracle.sysman.emcp.EMConfig perform
配置: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: 无法在指定的范围内为以下进程分配端口: JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2266)
at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:430)
at java.lang.Thread.run(Thread.java:534)
解决:
emca -reconfig dbcontrol
重新配置一下就可以了 或者 通过 database configuration assistant 重新配置一下该数据库。