Linux中国 Linux中国门户站!
设为主页 设为主页
收藏本站 收藏本站
 
当前位置 :首页 ->Linux技术 ->发行版专区 ->Redhat ->正文

RedHatLinux7.2上Oracle8i R2(8.1.6)企业版安装实例

来源:Linuxdby.com 作者:Webmaster 时间:2007-05-05 点击: [收藏] [投稿]
oracle]$ exit
      #退出,以oracle用户重新登录,以使设定的环境生效
    [oracle@oradb /oracle]$
    [oracle@oradb /oracle]$ startx
      #启动X-windows后,启用一个终端(xterm),
      (图形窗口)在该终端中运行runInstaller
    [oracle@oradb /oracle]$ cd Oracle8iR2
    [oracle@oradb /orainst]$ ./runInstaller
      #执行oracle安装程序
  
    这时你可以看到oracle全新的图形化的OUI的欢迎画面,按照提示继续安装进程:
  
    Welcome:按next
  
    File Locations:按next
  
    UNIX Group Name:什么也不添,按next 出错,提示要以root权限运行/home/oracle/data/app/oracle/product/8.1.6/orainstRoot.sh
  
    回到安装界面(图形窗口)按Retry按钮,就可以继续安装了,
  
    Available Products:选Oracle8i Enterprise Edition 8.1.6.1.0,按next
  
    Installation Types:选Typical(540MB),按next,这时,屏幕右上角出现一个进度标尺
  
    Database Identification:
    Global Database Name:输入oracle8(可以任意)
    SID:保留orasah
    按next
  
    Database File Location:任意目录,本例设为“/home/oracle/data/app/oracle”,按Next,这时,屏幕右上角进度标尺继续前进
  
    出现Summary,对你想要安装的产品作一个总结按Install,出现Install画面,等待... 你可以看到窗口底部提示的安装等log文件目录,可供以后查询。
  
    弹出Setup Privileges窗口,提示:在安装继续进行之前,需要以root运行一个脚本 “/home/oracle/data/app/oracle/product/8.1.6/root.sh”,
  
    屏幕显示:
  
    Enter the full pathname of the local bin directory:[/usr/local/bin]:回车
  
    系统开始执行一些动作,执行完毕,CTRL+ALT+F7按返回OUI,按OK。
  
    Database Creation Progress开始,逐步进行以下4个过程
    Creating and starting Oracle instance
    Copying database files
    Initializing database
    Database creation completed
  
    以上4个过程完成,弹出Oracle Database Configuration Assistant Alert窗口,
  
    提示:数据库创建完成,告诉你数据库的一些基本信息
  
    global databse name:oracle8
    database system identifier(SID):orasah
    SYS account password:change_on_install
    SYSTEM account password:manager
    按ok
  
    End of Installation,按Exit退出OUI,完成安装。
    退出图形窗口,回到
  
    [oracle@oradb /oracle]$
  
    这时,oracle数据库已经安装成功,并且数据库已经启动运行,可以试一下
  
    [oracle@oradb /oracle]$sqlplus system/manager
  
    出现以下信息:
  
    SQL*Plus: Release 8.1.6.0.0 - Production on Fri Oct 26 22:21:32 2002
    (c) Copyright 1999 Oracle Corporation. ALL rights reserved.
  
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.6.1.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
  
    SQL>
  
    启动数据库:
  
    [oracle@oradb /oracle]$ svrmgrl
    SVRMGR> connect internal
    Connected.
    SVRMGR> startup
    ORACLE instance started.
    显示SGA状态
    Database mounted.
    Database opened.
    SVRMGR>
  
    关闭数据库:
  
    [oracle@oradb /oracle]$ svrmgrl
    SVRMGR> connect internal
    Connected.
    SVRMGR> shutdown
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SVRMGR>
  
    启动监听器
  
    [oracle@oradb /oracle]$ lsnrctl
    LSNRCTL> start
    LSNRCTL> exit
  
    停止监听器
  
    [oracle@oradb /oracle]$ lsnrctl
    LSNRCTL> stop
    LSNRCTL> exit
  
    查看监听器状态
  
    [

 如果您对本文有任何疑问或者建议,请到讨论区发表您的意见: >> 论坛入口 <<



上一篇: 轻松在Redhat linux 7.3安装新字体   下一篇: redhat7.1gnome汉化及chinput的安装

文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【我要投稿】 【论坛讨论
更多相关文章
Power by linux-cn.com 粤ICP备05006655号