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建库。

    更多
  • 相关阅读:
    anaconda在公司内网如何避免安装过程中HTTP0的错误?(windows)
    tensorflow视频学习笔记
    RNN,LSTM,SRNN,Long Short-Term Memory as a Dynamically Computed Element-wise Weighted Sum
    全国大学生数学建模竞赛广东省分赛 A题 CT系统参数标定及成像 方法总结
    elasticsearch
    crawler
    【英语学习】 第39天翻译练习之办公室环境
    【英语学习】第三周翻译练习之出国留学
    【英语学习】第二周翻译练习之网上购物
    【英语学习】第一周翻译练习之博物馆
  • 原文地址:https://www.cnblogs.com/guarder/p/3472178.html
Copyright © 2011-2022 走看看