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

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

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

    隨筆 - 6  文章 - 0  trackbacks - 0
    <2012年8月>
    2930311234
    567891011
    12131415161718
    19202122232425
    2627282930311
    2345678

    常用鏈接

    留言簿

    隨筆檔案

    文章檔案

    搜索

    •  

    最新評論

    閱讀排行榜

    評論排行榜

    1、查看/etc/oratab這個文件:

    [oracle@readhatAS53 etc]$ cat /etc/oratab
    #

     

    # This file is used by ORACLE utilities.  It is created by root.sh
    # and updated by the Database Configuration Assistant when creating
    # a database.

    # A colon, ':', is used as the field terminator.  A new line terminates
    # the entry.  Lines beginning with a pound sign, '#', are comments.
    #
    # Entries are of the form:
    #   $ORACLE_SID:$ORACLE_HOME:<N|Y>:
    #
    # The first and second fields are the system identifier and home
    # directory of the database respectively.  The third filed indicates
    # to the dbstart utility that the database should , "Y", or should not,
    # "N", be brought up at system boot time.
    #
    # Multiple entries with the same $ORACLE_SID are not allowed.
    #
    #
    ORCL:/u01/oracle/product/ora10g:Y
    當$ORACLE_SID:$ORACLE_HOME:<N|Y> 設置為Y時,允許實例自啟動,當設置為N時,則不允許自啟動。 這個文件里的配置僅僅起一個開關的作用,其并不會具體的執行啟動和關閉,具體的操作由$ORACLE_HOME/bin/dbstart和dbshut 腳本來實現。 這2個腳本在執行時會檢查/etc/oratab 文件里的配置,為Y時才能繼續執行。因此只要將ORCL:/u01/oracle/product/ora10g:N修改為Y就行了。
    2、使用root用戶在/etc/rc.d/rc.local這個文件中添加如下內容:

    #!/bin/sh
    #
    # This script will be executed *after* all the other init scripts.
    # You can put your own initialization stuff in here if you don't
    # want to do the full Sys V style init stuff.

    touch /var/lock/subsys/local
    su - oracle -c'lsnrctl start'//啟動oracle數據庫監聽
    su - oracle -c'/u01/oracle/product/ora10g/bin/dbstart start'//啟動oracle數據庫實例
    su - oracle -c'/opt/tomcat/apache-tomcat-6.0.20/bin/startup.sh'//啟動tomcat服務器的配置。

    3、reboot系統,oracle數據庫與tomcat服務器就可以自動啟動了。

    posted on 2012-08-31 10:04 Glorin 閱讀(929) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 亚洲综合激情另类小说区| 免费毛片在线看不用播放器| 久久精品国产亚洲一区二区| 妞干网手机免费视频| 97青青草原国产免费观看| jzzjzz免费观看大片免费| 国产亚洲福利精品一区二区| 亚洲国产成人精品激情| 亚洲国产精品自在线一区二区 | 亚洲图片校园春色| 亚洲精品国产字幕久久不卡| 国产v片免费播放| 好爽…又高潮了毛片免费看| 国产麻豆视频免费观看| xxxx日本免费| 亚洲成人免费网站| 57pao一国产成视频永久免费| 大地影院MV在线观看视频免费 | 222www在线观看免费| 免费黄网站在线观看| 在线免费观看h片| 精品国产免费一区二区三区| 免费看一级毛片在线观看精品视频| 亚洲经典千人经典日产| 亚洲第一男人天堂| 亚洲AV成人一区二区三区在线看| 亚洲国产精品久久久久秋霞影院| 亚洲日韩图片专区第1页| 亚洲Av无码精品色午夜| 久久夜色精品国产嚕嚕亚洲av| 亚洲精品无码不卡在线播HE| 国产成人精品日本亚洲| 亚洲国产精品不卡在线电影| 香蕉蕉亚亚洲aav综合| 久久青青草原亚洲av无码app| 亚洲gv白嫩小受在线观看| 久久青草亚洲AV无码麻豆| 亚洲第一成年男人的天堂| 亚洲妇女水蜜桃av网网站| 亚洲最大福利视频| 国产成人综合亚洲绿色|