• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
    • 軟件測試技術
    • 軟件測試博客
    • 軟件測試視頻
    • 開源軟件測試技術
    • 軟件測試論壇
    • 軟件測試沙龍
    • 軟件測試資料下載
    • 軟件測試雜志
    • 軟件測試人才招聘
      暫時沒有公告

    字號: | 推薦給好友 上一篇 | 下一篇

    Scientific Linux 4.0 上安裝Oracle10g(2)

    發布: 2007-7-04 12:06 | 作者: 小瞇的爸爸軟件測試論壇討論

    領測軟件測試網

    在Scientific Linux 4.0 上安裝Oracle10g轉載自極速論壇

    作者:小瞇的爸爸
    第 3 部分: 安裝Oracle10g 數據庫


    [oracle@scientific linux]$ cd /var/ftp/pub/database/Oracle/10g/linux/
    [oracle@scientific linux]$ su
    Password:
    [root@scientific linux]# chmod +x *.*
    [root@scientific linux]# ll
    total 1630336
    -rwxr-xr-x  1 root root  47913091 Apr 21 16:08 htmldb_1.6.0.zip
    -rwxr-xr-x  1 root root 423431309 Apr 21 16:21 ship.ccd.lnx32.cpio.gz
    -rwxr-xr-x  1 root root 381603731 Apr 21 16:22 ship.client.lnx32.cpio.gz
    -rwxr-xr-x  1 root root 131198605 Apr 21 16:21 ship.crs.lnx32.cpio.gz
    -rwxr-xr-x  1 root root 683621376 Apr 21 16:24 ship.db.lnx32.cpio
    [root@scientific linux]# gunzip ship.db.lnx32.cpio.gz
    [root@scientific linux]# cpio -idcmv < ship.db.lnx32.cpio



    這樣把文件解壓縮成安裝文件夾Disk1。

    [root@scientific linux]# ll
    total 1630336
    drwxr-xr-x  7 2840  562      4096 Dec 21  2004 Disk1
    -rw-r--r--  1 root root       947 Jun 23 03:25 EOF
    -rwxr-xr-x  1 root root  47913091 Apr 21 16:08 htmldb_1.6.0.zip
    -rwxr-xr-x  1 root root 423431309 Apr 21 16:21 ship.ccd.lnx32.cpio.gz
    -rwxr-xr-x  1 root root 381603731 Apr 21 16:22 ship.client.lnx32.cpio.gz
    -rwxr-xr-x  1 root root 131198605 Apr 21 16:21 ship.crs.lnx32.cpio.gz
    -rwxr-xr-x  1 root root 683621376 Apr 21 16:24 ship.db.lnx32.cpio


    [oracle@scientific linux]$ cd Disk1/
    [oracle@scientific Disk1]$ ./runInstaller
    Starting Oracle Universal Installer...

    Checking installer requirements...

    Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8 or UnitedLinux-1.0
                                          Failed <<<<

    Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2005-06-23_04-09-00AM/installActions2005-06-23_04-09-00AM.log
    [oracle@scientific Disk1]$

    非常遺憾,出現了報錯:(

    想想看怎么解決呢?通過查一些資料,發現可以先這樣欺騙系統一下:


    [oracle@scientific Disk1]$ su
    Password:
    [root@scientific Disk1]# cp /etc/redhat-release /etc/redhat-release.backup
    [root@scientific Disk1]# cat > /etc/redhat-release << EOF
    > Red Hat Enterprise Linux AS release 3 (Taroon)
    > EOF
    [root@scientific Disk1]# exit
    exit


    再試一下:

    [oracle@scientific Disk1]$ ./runInstaller
    Starting Oracle Universal Installer...

    Checking installer requirements...

    Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8 or UnitedLinux-1.0
                                          Passed


    All installer requirements met.

    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2005-06-23_04-28-53AM. 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
    [oracle@scientific Disk1]$

    Ok, 看來我們似乎需要在x-win下面操作了。

    啟動數據庫

    login as: oracle
    oracle@192.168.2.114's password:
    Last login: Thu Jun 23 04:45:09 2005
    -bash: /u01/app/oracle/product/10.1.0/db_1/jdk/jre/lib/i386/server:: No such fil
    e or directory
    -bash: /u01/app/oracle/product/10.1.0/db_1/rdbms/lib:/u01/app/oracle/product/10.
    1.0/db_1/lib:: No such file or directory
    -bash: /u01/app/oracle/product/10.1.0/db_1/jdk/fre/lib/i386:: No such file or di
    rectory



    [oracle@scientific ~]$ sqlplus "scott/tiger as sysdba"

    SQL*Plus: Release 10.1.0.3.0 - Production on Thu Jun 23 08:12:32 2005

    Copyright (c) 1982, 2004, Oracle.  All rights reserved.

    Connected to an idle instance.

    SQL> startup
    ORACLE instance started.

    Total System Global Area  285212672 bytes
    Fixed Size                   778776 bytes
    Variable Size              95428072 bytes
    Database Buffers          188743680 bytes
    Redo Buffers                 262144 bytes
    Database mounted.
    Database opened.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options





    [oracle@scientific ~]$ lsnrctl

    LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 23-JUN-2005 08:13:39

    Copyright (c) 1991, 2004, Oracle.  All rights reserved.

    Welcome to LSNRCTL, type "help" for information.

    LSNRCTL> start
    Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...

    TNSLSNR for Linux: Version 10.1.0.3.0 - Production
    System parameter file is /u01/app/oracle/product/10.1.0/db_1.network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=scientific)(PORT=1521)))

    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.1.0.3.0 - Production
    Start Date                23-JUN-2005 08:13:52
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=scientific)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> exit
    [oracle@scientific ~]$

    文章來源于領測軟件測試網 http://www.kjueaiud.com/


    關于領測軟件測試網 | 領測軟件測試網合作伙伴 | 廣告服務 | 投稿指南 | 聯系我們 | 網站地圖 | 友情鏈接
    版權所有(C) 2003-2010 TestAge(領測軟件測試網)|領測國際科技(北京)有限公司|軟件測試工程師培訓網 All Rights Reserved
    北京市海淀區中關村南大街9號北京理工科技大廈1402室 京ICP備10010545號-5
    技術支持和業務聯系:info@testage.com.cn 電話:010-51297073

    軟件測試 | 領測國際ISTQBISTQB官網TMMiTMMi認證國際軟件測試工程師認證領測軟件測試網

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>