求一RedHat AS5 下 oracle10g安装文档,越详细越好,装了一天了,总是出问题,都快崩溃了,大虾们帮帮忙!

解决方案 »

  1.   

    什么问题呀,我照着oracle的文档装,没有什么问题的哟我这里有个AS4和fedora10装oracle10g的个人文档,你看看行不行
    http://www.inthirties.com/?p=50
      

  2.   

    2.redhat 5 下安装oracle 10g 
    1>默认安装redhat5
    2>.添加如下几个程序包
    glibc-headers-2.5-12.i386.rpm 
     glibc-devel-2.5-12.i386.rpm 
    compat-gcc-34-3.4.6-4.i386.rpm
    compat-gcc-34-c++-3.4.6-4.i386.rpm 
    libgomp-4.1.1-52.el5.i386.rpm 
    gcc-4.1.1-52.el5.i386.rpm 
    compat-libstdc++-33-3.2.3-61.i386.rpm 
    libXp-1.0.0-8.i386.rpm
    --------------------------------------------------------------------------------
    3>编写内核参数kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.rmem_max = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144
    做法:进入 /etc/sysctl.conf ,添加上面的内容
        /sbin/sysctl -p[root@cc Server]# more /etc/sysctl.conf
    # Kernel sysctl configuration file for Red Hat Linux
    #
    # For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
    # sysctl.conf(5) for more details.# Controls IP packet forwarding
    net.ipv4.ip_forward = 0# Controls source route verification
    net.ipv4.conf.default.rp_filter = 1# Do not accept source routing
    net.ipv4.conf.default.accept_source_route = 0# Controls the System Request debugging functionality of the kernel
    kernel.sysrq = 0# Controls whether core dumps will append the PID to the core filename
    # Useful for debugging multi-threaded applications
    kernel.core_uses_pid = 1# Controls the use of TCP syncookies
    net.ipv4.tcp_syncookies = 1# Controls the maximum size of a message, in bytes
    kernel.msgmnb = 65536# Controls the default maxmimum size of a mesage queue
    kernel.msgmax = 65536# Controls the maximum shared segment size, in bytes
    kernel.shmmax = 4294967295# Controls the maximum number of shared memory segments, in pages
    kernel.shmall = 268435456
    # added by cx
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.rmem_max = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max = 2621444>建立oracle用户,dba组
    groupadd dba
    useradd -G dba oracle
    passwd oracle
    5>设置oracle用户的环境变量
    [root@rac1 ~]# su - oracle
    [root@cc Server]# su - oracle
    [oracle@cc ~]$ vi .bash_profile
    # .bash_profile# Get the aliases and functions
    if [ -f ~/.bashrc ]; then
            . ~/.bashrc
    fi# User specific environment and startup programsPATH=$PATH:$HOME/bin
    ORACLE_BASE=/oracle ; export ORACLE_BASEexport PATH
    6>安装oracleoracle@cc ~]$ 
    [oracle@cc ~]$ ls
    10201_database_linux32.zip  database
    [oracle@cc ~]$ cd database/
    [oracle@cc database]$ ls
    doc  install  response  runInstaller  stage  welcome.html
    [oracle@cc database]$ export LANT=US
    [oracle@cc database]$ ./runInstaller 
    正在启动 Oracle Universal Installer...正在检查安装程序要求...检查操作系统版本: 必须是redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                          通过
    所有安装程序要求均已满足。准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2008-08-04_09-29-27PM. 请稍候...[oracle@cc database]$ Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specifiedException in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
            at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
            at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
            at java.awt.Window.init(Unknown Source)
            at java.awt.Window.<init>(Unknown Source)
            at java.awt.Frame.<init>(Unknown Source)
            at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
            at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
            at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378)
            at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)[oracle@cc database]$ xhost +
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specifiedxhost:  unable to open display ":0.0"
    [oracle@cc database]$ ./runInstaller 
    正在启动 Oracle Universal Installer...正在检查安装程序要求...检查操作系统版本: 必须是redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                          通过
    所有安装程序要求均已满足。准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2008-08-04_09-30-00PM. 请稍候...[oracle@cc database]$ Warning: Cannot convert string "-isas-song ti-medium-r-normal--*-140-*-*-c-*-gb2312.1980-0" to type FontStruct[oracle@cc database]$ export LANG=US
    [oracle@cc 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
                                          Passed
    All installer requirements met.Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-08-04_09-30-25PM. Please wait ...[oracle@cc database]$ Starting Installer in advanced mode ...
    Oracle Universal Installer, Version 10.2.0.1.0 Production
    Copyright (C) 1999, 2005, Oracle. All rights reserved.
      

  3.   

    这个是xwidnow的问题,可以看看xwindoe的配置,这块我也总是找不到一个好的方法。还是对linux这块不熟。或者直接到服务器上安装,就不需要xwindow了。