ehxz 发表于 2006-12-20 00:09:46

Oracle 10g 的基本配置方法。 (Zt)

<font face="宋体"> 首先,安装之前确保你下载了Oracle10g_win32_db&#46;zip,官方网站上有。</font><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; TEXT-INDENT: -15&#46;75pt; mso-char-indent-count: -1&#46;5"><font size="3"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">1</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">.安装</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">Oracle 10 g</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">时,客户端与服务器段都需要安装</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">net manager(Oracle </span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">监听器,其配置方法下面会有介绍</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">)</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">,按照</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">Oracle10g_win32_db\Disk1\install</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">路径,打开</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">install,</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">按照默认设置选择</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">Enterprise Editon </span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">点击下一步即可。</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></font></p><p /><p /><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; TEXT-INDENT: -15&#46;75pt; mso-char-indent-count: -1&#46;5"><font size="3"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">2</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">.当提示选择密码的时候,会有四个默认的</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">username,(sys,system,sysman,dbsnmp),</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">这里可以更改登陆密码。</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">Server </span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">的密码现统一设为</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">oracle</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">。(可由此进入</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">sql plus</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">)。在后面有</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">language</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">选项中可选择多国语言,通常添加英语,中国语和日语。(在控制面板的地域选项中当把语言更改为相应选项的时候可在</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">oem</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">或者</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">sql</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">等应用界面上看到相关语言显示)。</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></font></p><p /><p /><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; TEXT-INDENT: -15&#46;75pt; mso-char-indent-count: -1&#46;5"><font size="3"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">3</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">.当安装完成后,打开程序中的</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">database configuration assistant</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">创建数据库,这里可自由命名数据库。具体方法参照本目录下的资料</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">---Oracle10g</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">数据库的创建。</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></font></p><p /><p /><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><font size="3"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">4</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">.</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">Oracle10g</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">安装完成后会有一个已经建立的默认的数据库</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">orcl</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">。</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></font></p><p /><p /><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; TEXT-INDENT: -15&#46;75pt; mso-char-indent-count: -1&#46;5"><font size="3"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">5</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">.配置监听器,监听器的作用是用户在客户端建立的用来识别网络上某数据库的逻辑名,该名字封装了数据库服务器地址和数据库名字等关键信息。打开</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">net manager,</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">按照一下图示配置。</span></font></p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; TEXT-INDENT: -15&#46;75pt; mso-char-indent-count: -1&#46;5"><font size="3"><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></font><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></p><p /><p /><p /><p /><p /><p /><p> </p><p> </p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; mso-para-margin-left: 1&#46;5gd"><font size="3"><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">主机名字为服务器上的</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">IP</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">地址,配置完毕后要测试一下看是否已经连接成功,测试时默认用户名为</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">scott,</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">密码为</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">tiger</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">。如果连接不成功,那么应该相应进行具体配置。</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></font></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><font size="3"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">6</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">.监听程序配置成功后,打开安装完毕后给出的提示信息的</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">url </span></font></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt"><font size="3"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">(<span style="mso-spacerun: yes"> </span></span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">当安装完毕后应该有以下的信息给出:</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></font></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; mso-para-margin-left: 1&#46;5gd"><font size="3"><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">以下的</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"> J2EE </span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">应用程序已经配置</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">, </span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">并且可用下面列出的</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"> URL </span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">来访问Oracle 10g 的oem。</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></font></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; mso-para-margin-left: 1&#46;5gd"><font size="3"><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">数据库配置文件已经安装到</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"> D:\oracle\product\10&#46;1&#46;0,</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">同时其他选定的安装组件也已经安装到</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"> D:\oracle\product\10&#46;1&#46;0\db_1</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">。</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></font></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; mso-para-margin-left: 1&#46;5gd"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"><font size="3">Ultra Search URL: </font></span></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; mso-para-margin-left: 1&#46;5gd"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"><font size="3">http://server:5620/ultrasearch </font></span></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; mso-para-margin-left: 1&#46;5gd"><font size="3"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">Ultra Search </span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">管理工具</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"> URL: </span></font></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; mso-para-margin-left: 1&#46;5gd"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"><font size="3">http://server:5620/ultrasearch/admin </font></span></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; mso-para-margin-left: 1&#46;5gd"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"><font size="3">iSQL*Plus URL: </font></span></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; mso-para-margin-left: 1&#46;5gd"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"><font size="3">http://server:5560/isqlplus </font></span></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; mso-para-margin-left: 1&#46;5gd"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"><font size="3">Enteprise Manager 10g Database Control URL: </font></span></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; mso-para-margin-left: 1&#46;5gd"><font size="3"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"><a href="http://serverip:5500/em">http://serverIP:5500/em</a>)</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">如图</span></font><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></p><p /><p /><p /><p /><p /><p> </p><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; mso-para-margin-left: 1&#46;5gd"><font size="3"><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">登录后可对数据库进行管理。</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></font></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; TEXT-INDENT: -15&#46;75pt; mso-char-indent-count: -1&#46;5"><font size="3"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">7</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">.打开程序中的</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">sql plus,</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">输入命令用户名,口令和主机字符串可以登录使用</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">sqlplus</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">,其中主机字符串为服务器上的数据库名字,如默认的数据库</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">orcl</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">。如监听程序没有配置完成,那么用户将无法在客户机上进入</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">sqlplus</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">并对数据库进行操作。</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></font></p><p /><p /><p /><p /><p /><p class="MsoNormal" style="MARGIN: 0mm 0mm 0pt 15&#46;75pt; TEXT-INDENT: -15&#46;75pt; mso-char-indent-count: -1&#46;5"><font size="3"><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"><span style="mso-spacerun: yes"> </span></span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">特别要注意的事,每个用户名分别对应</span><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">oem</span><span lang="ZH-CN" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN">中的方案名称,其包含了在这个方案下的数据表和视图等等信息。</span></font><span lang="EN-US" style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN"></span></p><p /><p /><p /><p /><p /><p>小弟刚接触10g,看到网上没什么中文安装资料,手痒发了一下,欢迎大家切磋指教</p><p /><p /><p /><p /><p /><p /><p /><p /><p /><p /><p /><p /><p /><p /><p /><p /><p /><p /><p /><p /><p /><p />
页: [1]
查看完整版本: Oracle 10g 的基本配置方法。 (Zt)