`

Install Oracle 10g and 11g in Windows XP SP2.

阅读更多
1           Firstly, I try to install oracle 11g in Windows XP SP2. Although I setup the loopback adaptor correctly in step #4, the em can’t be configured and started successfully. I tried the command in step #2 and #3 so many times after installation, but it failed finally. At last I resorted to installing oracle 10g in my windows from step #4.
 
2           Oracle 支持在具有 DHCP 分配的 IP 地址的系统上进行安装
 
The check result from Oracle installer is like this,
 
    2007-11-23 10:35检查完成。此次检查的总体结果为: 未执行 <<<<
建议案: Oracle 支持在具有 DHCP 分配的 IP 地址的系统上进行安装。但在安装之前, 必须将 Microsoft LoopBack Adapter 配置为系统的主网络适配器。有关在配置有 DHCP 的系统上安装软件的详细信息, 请参阅 Installation Guide。
 
解决:
 
到控制面板/添加硬件,在向导中选择“是,已经连接了此硬件”→“网络适配器”→“Microsoft Loopback Adapter”,添加完成,你会发现新建了个“本地连接”,用的就是这个假的“Microsoft Loopback Adapter”(因为根本就没有连接这个硬件,只是骗下Oracle而已)。把这个本地连接的IP设置一下(例如10.10.10.1)。好了,现在回 去重新让Oracle检测一遍吧,应该通过了吧。
 
常用的命令:
 
创建一个EM资料库
emca -repos create
重建一个EM资料库
emca -repos recreate
删除一个EM资料库
emca -repos drop
配置数据库的 Database Control
emca -config dbcontrol db
删除数据库的 Database Control配置
emca -deconfig dbcontrol db
重新配置db control的端口,默认端口在1158
emca -reconfig ports
emca -reconfig ports -dbcontrol_http_port 1160
emca -reconfig ports -agent_port 3940
先设置ORACLE_SID环境变量后,启动EM console服务
emctl start dbconsole
先设置ORACLE_SID环境变量后,停止EM console服务
emctl stop dbconsole
先设置ORACLE_SID环境变量后,查看EM console服务的状态
emctl status dbconsole
 
配置dbconsole的步骤
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
重新配置dbconsole的步骤
emca -repos drop
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
 
3           If the em console service can not be started normally, please try to recreate the EM console,
3.1          emctl status dbconsole
3.2          emca -repos drop emca -repos create emca -config dbcontrol db emctl start dbconsole
3.3          emctl stop dbconsole emctl start dbconsole
 
4           How to install the oracle 10g in XP?
4.1          Install DHCP.
4.1.1     From the Start menu, select Control Panel .
4.1.2     Double-click Add Hardware to start the Add Hardware wizard.
4.1.3     On the Welcome screen, click Next .
4.1.4     On the Is the hardware connected? screen, select Yes, I have already connected the hardware , and click Next .
4.1.5     On the The following hardware is already installed on your computer screen, select Add a new hardware device , and click Next .
4.1.6     On the The wizard can help you install other hardware screen, select Install the hardware that I manually select from a list , and click Next .
4.1.7     From the list, select the type of hardware you are installing screen, select Network adapters , and click Next .
4.1.8     On the Select Network Adapter screen, make the following selections:
4.1.8.1    Manufacturer : select Microsoft .
4.1.8.2    Network Adapter : select Microsoft Loopback Adapter .
4.1.9     Click Next .
4.1.10 On the The wizard is ready to install your hardware screen, click Next .
4.1.11 On the Completing the Add Hardware Wizard screen, click Finish .
4.1.12 If you are using Windows 2003, restart your computer.
4.1.13 Right-click My Network Places on the desktop and choose Properties . This displays the Network Connections control panel.
4.1.14 Right-click the connection that was just created. This is usually named Local Area Connection 2. Choose Properties .
4.1.15 On the General tab, select Internet Protocol (TCP/IP) , and click Properties
4.1.16 In the Properties dialog, do the following:
4.1.16.1    IP Address: Enter a non-routable IP for the loopback adapter. Oracle recommends the following non-routable addresses - 10.10.10.1
4.1.16.2       2.Subnet mask: Enter 255.255.255.0.
4.1.16.3       3.Leave all other fields empty.
4.1.16.4       4.Click OK.
4.1.17 Click OK.
4.1.18 Click OK in the Local Area Connection 2 Properties dialog.
4.1.19 Restart the computer.
4.2          Edit file C:\WINDOWS\system32\drivers\etc\host as,
4.2.1     10.10.10.1      robert-cn.cn.oracle.com     robert-cn
4.2.2     127.0.0.1       localhost
4.3          Open System Properties, and select the Computer Name tab. In Full computer name, make sure you see the hostname is robert-cn.cn.oracle.com which is the same one with previous step. The short name should be robert-cn when you click the change button.
4.4          Then install the oracle.
4.5          The console url is https://localhost:1158/em/console/aboutApplication you can get the page by command emctl status dbconsole .
 
5           At this time if you access the em console, you can login correctly. But when you view some information, it blows up with some exception like this. java.lang.Exception: Exception in sending Request :: null
5.1          Open the file db_1/sysman/admin/supportedtzs.lst .
5.2          Find the time zone of your OS or the one one hour later than your OS time zone. For example, my OS’s Timezone is (GMT+08:00)Beijing, ChongQing, HongKong, Wulumuqi, so I need to try these with GMT+08:00 or GMT+07:00
5.3          Put their name in file db_1/HOSTNAME_orcl/sysman/config/emd.properties like this.
agentTZRegion=Asia/Shanghai or agentTZRegion= Asia/Jakarta
5.4          Then try these commands.
emctl stop dbconsole
emctl resetTZ agent
emctl start console
5.5          Please refer to them.
 
6           Now you can access the em console normally.
分享到:
评论

相关推荐

    windowsServer2008_64位安装oracle10G全过程

    ### Windows Server 2008 64位安装Oracle 10G全过程详解 #### 一、概述 本文档详细介绍了在Windows Server 2008 64位系统上安装Oracle 10G数据库的全过程。对于初次接触此过程的技术人员来说,这将是一个非常有价值...

    Oracle 10 windows安装手册(doc版)

    在Windows操作系统上安装Oracle 10g是一项基础但重要的任务,本篇将详细讲解Oracle 10g在Windows环境下的安装过程。 一、安装前准备 在开始安装Oracle 10g之前,确保你的系统满足以下硬件和软件需求: 1. 操作系统...

    Installation Guide 10g Release 2 (10.2) for Microsoft Windows (32-Bit).pdf

    根据提供的文档信息,本文将详细解析Oracle Database 10g Release 2 (10.2)在Microsoft Windows 32位系统上的安装指南中的关键知识点。 ### 一、概述 Oracle Database 10g Release 2 (10.2)是Oracle公司发布的一款...

    有关Win7问题和oeacle安装资料

    该错误提示是因为Oracle 10g官方仅支持Windows XP SP2/SP3 (5.1) 和 Windows Server 2003 (5.2) 操作系统,而不直接支持Windows 7 64位 (6.1)。 2. **错误2**:网络配置问题。安装过程中提示无法获取有效的IP地址...

    端口查看工具

    o Added Module Filename column (works only on XP/SP2) * Version 1.36: o Fixed bug: The main window lost the focus when the user switched to another application and then returned back to CurrPorts....

    CX_Install

    考虑到问题难以定位,最终选择了**Windows Server 2003 64-bit SP2 英文版**(虚拟机)作为安装环境,并成功安装了几乎所有组件(除了Xcelerator客户端在安装的最后一步出现错误,但不影响正常使用)。 #### 三、...

    测试培训教材

    Note: To run a system test, you must install the System Test Remote Agent Add-in and the Mercury Quality Center Connectivity Add-in on the machine where the test is to be run. For more information on ...

    smallworld的入门手册

    - Windows XP (SP2, 64位) - Windows Vista (SP2, 32/64位) - Windows 7 (32/64位) - Windows Server 2003 (SP2, 32/64位) - Windows Server 2008 SP2 (32位) - Windows Server 2008 R2 (64位) - Citrix® ...

    VirtualBox+虚拟机上安装部署IBM+HMC+v7.3.4

    - **硬件**:本案例使用的是Lenovo ThinkPad T61笔记本电脑,配备T7300 CPU和2GB内存,操作系统为Windows XP Professional SP2。 - **软件**: - **VirtualBox v2.1.0**:免费的虚拟机软件,可以从官网下载。 - **...

Global site tag (gtag.js) - Google Analytics