zoukankan      html  css  js  c++  java
  • Oralce10g卸载与安装

    1、环境

    redhat5 32  + oracle 10g 32

    2、卸载

    [root@edrsr9p1 ~]# rm -rf /u01/app/oracle/*
    [root@edrsr9p1 ~]# rm -rf /etc/ora*
    [root@edrsr9p1 ~]# cd /usr/local/bin
    [root@edrsr9p1 bin]# rm -f coraenv  dbhome  oraenv

     3、安装

    [root@edrsr9p1 ~]# su - oracle
    [oracle@edrsr9p1 ~]$ cd /stage/10.2.0/
    [oracle@edrsr9p1 10.2.0]$ unzip 10201_database_linux32.zip 
    [oracle@edrsr9p1 10.2.0]$ cd /stage/10.2.0/database/
    [oracle@edrsr9p1 database]$ ./runInstaller 
    Starting Oracle Universal Installer...
    
    Checking installer requirements...
    
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                          Failed <<<<
    
    Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2012-11-17_04-21-00PM/installActions2012-11-17_04-21-00PM.log

    版本兼容性检测不过,忽略版本检查。

    [oracle@edrsr9p1 database]$ ./runInstaller -ignoreSysPrereqs
    Starting Oracle Universal Installer...
    
    Checking installer requirements...
    
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                          Failed <<<<
    
    >>> Ignoring required pre-requisite failures. Continuing...
    
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-11-17_04-29-14PM. Please wait ...
    DISPLAY not set. Please set the DISPLAY and try again.
    Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
    - For csh:                      % setenv DISPLAY 192.168.1.128:0.0
    - For sh, ksh and bash:         $ DISPLAY=192.168.1.128:0.0; export DISPLAY
    Use the following command to see what shell is being used:
            echo $SHELL
    Use the following command to view the current DISPLAY environment variable setting:
            echo $DISPLAY
    - Make sure that client users are authorized to connect to the X Server.
    To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and 
    type the following command:
    % xhost +
    To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native 
    operating system such as 'xclock':
            % <full path to xclock.. see below>
    If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
    Typical path for xclock: /usr/X11R6/bin/xclock

    runInstaller必须在x window下执行,不能是命令行。

    [root@edrsr9p1 ~]# xhost +
    [root@edrsr9p1 ~]# su - oracle
    [oracle@edrsr9p1 ~]$ DISPLAY=:0.0;export DISPLAY
    [oracle@edrsr9p1 database]$ ./runInstaller -ignoreSysPrereqs
    

    图形界面安装,先安装软件。

    netca配置服务。

    dbca建库。

    更多
  • 相关阅读:
    FCKEditor装入模板方法
    医道再解开阖枢
    测试一下 Last
    [技术架构] 大型互联网站解决高并发的常见策略
    swfupload实现图片及缩略图上传
    解决“在证书存储区中找不到清单签名证书”
    asp.net EnableViewState禁用与注意事项
    jQuery创建水平和垂直居中的div窗口
    甩掉ashx/asmx,使用jQuery.ajaxWebService请求WebMethod,Ajax处理更加简练
    type="button" ,"submit" 的区别(转)
  • 原文地址:https://www.cnblogs.com/guarder/p/3472178.html
Copyright © 2011-2022 走看看