设为首页 收藏本站
查看: 590|回复: 0

[经验分享] Install Oracle 10g and 11g in Windows XP SP2.

[复制链接]

尚未签到

发表于 2016-5-21 11:57:43 | 显示全部楼层 |阅读模式
1           Firstly,I try to install oracle 11g in Windows XP SP2. Although I setup theloopback adaptor correctly in step #4, the em can’t be configured andstarted successfully. I tried the command in step #2 and #3 so manytimes after installation, but it failed finally. At last I resorted toinstalling 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 地址的系统上进行安装。但在安装之前, 必须将 MicrosoftLoopBack Adapter 配置为系统的主网络适配器。有关在配置有 DHCP 的系统上安装软件的详细信息, 请参阅Installation Guide。
 
解决:
 
到控制面板/添加硬件,在向导中选择“是,已经连接了此硬件”→“网络适配器”→“Microsoft LoopbackAdapter”,添加完成,你会发现新建了个“本地连接”,用的就是这个假的“Microsoft LoopbackAdapter”(因为根本就没有连接这个硬件,只是骗下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 dropemca -repos createemca -config dbcontrol dbemctl start dbconsole
3.3          emctl stop dbconsoleemctl start dbconsole
 
4           How to install the oracle 10g in XP?
4.1          Install DHCP.
4.1.1     From the Startmenu, select Control Panel.
4.1.2     Double-click Add Hardwareto 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.10On the The wizard is ready to install your hardware screen, click Next.
4.1.11On the Completing the Add Hardware Wizard screen, click Finish.
4.1.12If you are using Windows 2003, restart your computer.
4.1.13Right-click My Network Placeson the desktop and choose Properties. This displays the Network Connections control panel.
4.1.14Right-click the connection that was just created. This is usually named Local Area Connection 2. Choose Properties.
4.1.15On the Generaltab, select Internet Protocol (TCP/IP), and click Properties
4.1.16In the Properties dialog, do the following:
4.1.16.1    IPAddress: Enter a non-routable IP for the loopback adapter. Oraclerecommends 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.17Click OK.
4.1.18Click OK in the Local Area Connection 2 Properties dialog.
4.1.19Restart 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-cnwhen you click the change button.
4.4          Then install the oracle.
4.5          The console url is https://localhost:1158/em/console/aboutApplicationyou can get the page by command emctl status dbconsole.
 
5           Atthis time if you access the em console, you can login correctly. Butwhen you view some information, it blows up with some exception likethis. java.lang.Exception: Exception in sending Request :: null
5.1          Open the file db_1/sysman/admin/supportedtzs.lst.
5.2          Findthe time zone of your OS or the one one hour later than your OS timezone. 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.
              http://read.newbooks.com.cn/info/115091.html
http://forums.oracle.com/forums/thread.jspa?threadID=334048&start=0&tstart=0
http://www.itpub.net/750634,3.html
 
6           Now you can access the em console normally.

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-219916-1-1.html 上篇帖子: 删除 Windows 本地存储的用户名和密码 下篇帖子: windows主机资源Snmp OIDs CPU, Memory, Disk等
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表