<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Knight of the round table

    wansong

    oracle 安裝2

    查看字符節 : select name, value$ from props$ where name like '%NLS%';

    [導 入]在RedHat Enterprise Linux AS4 下啟用Oracle 9i企業管理器

    1. su root

    2. xhost +

    3.切換到Oracle 的DBA的身份

    4.$cd $ORACLE_HOME/bin

    5.$./oemapp console 或 dbca


    oemapp 就是Enterprise Manager Console (9i)

    dbca 就是 Database Configuration Assistant (9i)



    http://www.akadia.com/services/ora_linux_install_10g.html

    http://serverfault.com/questions/12229/how-can-i-start-oracle-enterprise-manager-after-restarting-the-red-hat-server


    Create Server Parameter File

    Server parameter files let you make persistent changes to individual parameters. When you use a server parameter file, you can specify in an ALTER SYSTEM SET parameter statement that the new parameter value should be persistent. This means that the new value applies not only in the current instance, but also to any instances that are started up subsequently. Traditional client-side parameter files do not let you make persistent changes to parameter values.

    cd $ORACLE_HOME/dbs
    rm initGENTIC.ora

    sqlplus / as sysdba
    SQL> create spfile = '/export/home/oracle/admin/GENTIC/pfile/spfileGENTIC.ora'
            from pfile = '/export/home/oracle/admin/GENTIC/pfile/initGENTIC.ora';
    File created.
    SQL>
    exit;

    ln -s
    /export/home/oracle/admin/GENTIC/pfile/spfileGENTIC.ora spfileGENTIC.ora
    sqlplus / as sysdba
    SQL> shutdown immediate;
    SQL> startup;
    SQL> exit;



    Create additional Products in the Database (optional)

    If you do not want all additional products to be installed, uncomment them in install-addons.bash.

    cd $ORACLE_BASE/admin/GENTIC/scripts/addons
    ./install-addons.bash

    Create Server Parameter File

    Server parameter files let you make persistent changes to individual parameters. When you use a server parameter file, you can specify in an ALTER SYSTEM SET parameter statement that the new parameter value should be persistent. This means that the new value applies not only in the current instance, but also to any instances that are started up subsequently. Traditional client-side parameter files do not let you make persistent changes to parameter values.

    cd $ORACLE_HOME/dbs
    rm initGENTIC.ora

    sqlplus / as sysdba
    SQL> create spfile = '/export/home/oracle/admin/GENTIC/pfile/spfileGENTIC.ora'
            from pfile = '/export/home/oracle/admin/GENTIC/pfile/initGENTIC.ora';
    File created.
    SQL>
    exit;

    ln -s
    /export/home/oracle/admin/GENTIC/pfile/spfileGENTIC.ora spfileGENTIC.ora
    sqlplus / as sysdba
    SQL> shutdown immediate;
    SQL> startup;
    SQL> exit;

    Automatically Start / Stop the Database and Listener

    If you want to start the database automatically on boot-time perform the following steps:

    1. Copy standard oracle scripts dbstart and dbshut to $ORACLE_BASE/admin
    2. Create start/stop script in /etc/init.d
    3. Activate this start/stop script with chkconfig
    4. Edit /etc/oratab to start/stop the desired Databases

    Copy standard oracle scripts dbstart and dbshut to $ORACLE_BASE/admin

    cd $ORACLE_HOME/bin
    cp dbstart dbshut $ORACLE_BASE/admin

    Create start/stop script in /etc/init.d as user root.

    #!/bin/bash
    #
    # chkconfig: 12345 99 10
    # description: Oracle auto start-stop script
    # --------------------------------------------------------------------------
    # File: oracle
    #
    # Purpose: Oracle auto start-stop script
    #
    # Location: /etc/init.d
    #
    # Certified: Oracle 10.2.0.3 on Enterprise Linux 5
    # --------------------------------------------------------------------------
    # Variables
    ORACLE_OWNER=oracle; export ORACLE_OWNER
    ORACLE_BASE=/export/home/oracle; export ORACLE_BASE
    ORACLE_SCRIPTS_DIR=$ORACLE_BASE/admin; export ORACLE_SCRIPTS_DIR
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0; export ORACLE_HOME
    # Source function library.
    . /etc/rc.d/init.d/functions
    # Source networking configuration.
    [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
    RETVAL=0
    prog="oracle"
    start() {
    echo -n $"Starting $prog: "
    if [ ! -f $ORACLE_SCRIPTS_DIR/dbstart ]
    then
    echo "Oracle not started (no dbstart script)"
    else
    # Start RDBMS
    su - $ORACLE_OWNER -c $ORACLE_SCRIPTS_DIR/dbstart
    # Start Enterprise Manager Console
    # su - $ORACLE_OWNER $ORACLE_HOME/bin/emctl start dbconsole
    # Start iSQL*Plus
    # su - $ORACLE_OWNER $ORACLE_HOME/bin/isqlplusctl start
    fi
    RETVAL=$?
    [ $RETVAL -eq 0 ] && touch /var/lock/subsys/oracle
    return $RETVAL
    }
    stop() {
    echo -n $"Shutting down $prog: "
    if [ ! -f $ORACLE_SCRIPTS_DIR/dbshut ]
    then
    echo "Oracle not stopped (no dbshut script)"
    else
    # Stop iSQL*Plus
    # su - $ORACLE_OWNER $ORACLE_HOME/bin/isqlplusctl stop
    # Stop Enterprise Manager Console
    # su - $ORACLE_OWNER $ORACLE_HOME/bin/emctl stop dbconsole
    # Stop RDBMS
    su - $ORACLE_OWNER -c $ORACLE_SCRIPTS_DIR/dbshut
    fi
    RETVAL=$?
    [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/oracle
    return $RETVAL
    }
    # See how we were called.
    case "$1" in
    start)
    start
    ;;
    stop)
    stop
    ;;
    *)
    echo $"Usage: $0 {start|stop}"
    exit 1
    esac
    exit $RETVAL

    Activate this start/stop script with chkconfig as root as follows

    su - root
    chkconfig --add oracle
    chkconfig --list oracle

    Edit /etc/oratab to start/stop the desired databases

    su - root
    cat /etc/oratab

    # Entries are of the form:
    # $ORACLE_SID:$ORACLE_HOME:<N|Y>:

    GENTIC:/export/home/oracle/product/10.2.0:Y

    Activate Enterprise Manager Console

    Create the repository for the enterprise manager console as follows:

    emca -repos create
    emca -config dbcontrol db

    Try to connect to the database control as follows:

    http://<db-host>:1158/em

    Automatically start and stop the DB-console

    emctl start dbconsole
    emctl stop dbconsole
    emctl status dbconsole

    posted on 2012-01-13 15:57 w@ns0ng 閱讀(210) 評論(0)  編輯  收藏 所屬分類: DB-oracle

    主站蜘蛛池模板: 国偷自产一区二区免费视频| 亚洲午夜精品一区二区公牛电影院| 四虎影视精品永久免费网站| 色妞WWW精品免费视频| 永久免费的网站在线观看| 97在线线免费观看视频在线观看| 久久天天躁狠狠躁夜夜免费观看 | 亚洲精品免费视频| 亚洲成年轻人电影网站www| 亚洲av午夜福利精品一区人妖| 国产AV无码专区亚洲精品| 久久精品亚洲一区二区| 亚洲五月六月丁香激情| 亚洲人成网站在线观看播放动漫| 亚洲天堂免费在线| 校园亚洲春色另类小说合集| 成年网站免费入口在线观看 | 亚洲中文字幕久久无码| 亚洲日本VA中文字幕久久道具| 亚洲AV无码一区二区三区性色| 大桥未久亚洲无av码在线| 男女猛烈无遮掩视频免费软件| 好猛好深好爽好硬免费视频| 久久99免费视频| 久久国产免费福利永久| 成年人免费观看视频网站| 免费在线观看亚洲| 亚洲免费视频一区二区三区| 亚洲精品无码久久千人斩| 亚洲av无码专区国产乱码在线观看 | 一色屋成人免费精品网站| 成年轻人网站色免费看| 亚洲福利视频一区二区| 亚洲成亚洲乱码一二三四区软件| 亚洲欧洲日本天天堂在线观看| 亚洲人成网亚洲欧洲无码| 在线视频网址免费播放| 青娱乐免费在线视频| 亚洲国模精品一区| 亚洲天堂在线播放| 国产精品日本亚洲777|