Chinaunix首页 | 论坛 | 博客
  • 博客访问: 311533
  • 博文数量: 95
  • 博客积分: 3010
  • 博客等级: 中校
  • 技术积分: 840
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-01 13:05
文章分类

全部博文(95)

文章存档

2009年(8)

2008年(87)

我的朋友

分类: LINUX

2008-07-24 00:19:01

在 Linux 上安装 数据库 11g目的在本教程中,您将会学习如何在 Linux 安装 数据库 11g.

    主题本教程包括下列主题:

    概述在 Linux 上安装 Oracle 数据库 11g测试安装总结

    概述您将使用 Oracle Universal Installer 来安装 Oracle 数据库 11g 软件并创建一个数据库。

    返回主题列表

    在 Linux 上安装 Oracle 数据库 11g要安装 Oracle 软件,必须使用 Oracle Universal Installer.

    1. 在这一安装中,您需要使用 DVD 或 DVD 版本。在本教程中,将从已的版本进行安装。在 DVD 文件解压缩的目录中,打开终端窗口终入以下内容:

    。/runInstaller.sh

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done">

     2. 安装的产品为 Oracle Database 11g.选定该产品并单击 Next.

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done">

     2. 您将通过一个入门级数据库来执行基本安装。输入 orcl 作为 Global Database Name 以及 oracle 作为 Database Password 并确认口令。然后单击 Next.

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done">

        3. 您需要指定 Inventory 目录。位置应该设置为 /u01/app/oracle/oraInventory.接受默认的 Operating System 级名 oinstall.然后单击 Next.

 

    4. 安装程序现在将验证系统是否满足安装和配置所选产品的最低要求。继续前改正任何报告的错误。检查成功完成后,单击 Next.

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done">

     5. Oracle Configuration Manager 允许您将配置信息与 Metalink 帐户相关联。您可在该窗口上选择启用它。然后单击 Next.

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done">

    4. 安装程序现在将验证系统是否满足安装和配置所选产品的最低要求。继续前改正任何报告的错误。检查成功完成后,单击 Next.

 

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done">

 

 


=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done"> 

    7. Configuration Assistants 窗口显示。

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done"> 

    8. 正在创建数据库。

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done"> 

    9. 创建了数据库之后,可以解锁您要使用的用户。单击 OK.

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done"> 

    10. 您需要以 root 用户身份执行 orainstRoot.sh 和 root.sh

 

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done"> 

    11. 打开终端窗口输入以下命令。按提示输入内容。

    su - cd /u01/app/oracle/oraInventory。/orainstRoot.sh cd ……/product/11.1.0/db_1。/root.sh exit

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done"> 

    12. 切换回 Universal Installer 并单击 OK.

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done"> 

    13. 单击 Exit.单击 Yes 确认退出。

 

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done"> 

    返回主题列表

    测试安装要测试安装是否成功完成,请执行以下步骤:

    1. 打开一个浏览器,输入以下 URL:

    >:1158/em

    其中 应更改为您的机器名、IP 地址或 localhost.

    因为企业管理器数据库控制是一个安全站点,因此您需要一个证书。选择 Accept this certificate permanently 选项,然后单击 OK.

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done"> 

    2. 输入 system 作为 User Name 以及 oracle 作为 Password,然后单击 Login

 

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done"> 

    3. 数据库控制主页显示。安装成功。

=780) window.open('');" src="" onload="javascript:if(this.width>'780')this.width='780';setTimeout('if(document.getElementById(\'\').height>\'700\')document.getElementById(\'\').height=\'700\';',500);" border=0 twffan="done">

 

阅读(1434) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~