9久久伊人精品综合,亚洲一区精品视频在线,成 人免费va视频,国产一区二区三区黄网,99国产精品永久免费视频,亚洲毛片多多影院,精品久久久无码人妻中文字幕,无码国产欧美一区二区三区不卡
學習啦>學習電腦>操作系統>Linux教程>

如何在Linux中設置開機自動啟動oracle

時間: 曉斌668 分享

  對于LINUX操作系統有很多技術知識是我們需要學習的。這里學習啦小編就給大家介紹Linux中設置oracle開機自動啟動的方法。一起來看看吧。

  Linux中設置oracle開機自動啟動的方法

  在terminal中切換到root用戶

  查看/etc/oratab文件的內容,其內容如下

  [root@golonglee ~]# cat /etc/oratab | grep -v ^$

  #

  # 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::

  #

  # 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.

  #

  #

  oel63:/home/oracle/app/oracle/product/11.2.0/dbhome_1:N

  使用命令vi /etc/oratab編輯文件/etc/oratab,在最后添加如下內容

  ##### what I have written is as following

  oel63:/home/oracle/app/oracle/product/11.2.0/dbhome_1:Y

  #####Finished wrote in 2015-12-24

  說明:/home/oracle/app/oracle/product/11.2.0/dbhome_1為oracle的安裝目錄,要根據實際情況進行修改。

  (注意:圖中學習啦小編用紅色標記的N要改成Y)

  找到最后的內容

  oel63:/home/oracle/app/oracle/product/11.2.0/dbhome_1:N

  復制該行oel63:/home/oracle/app/oracle/product/11.2.0/dbhome_1:N并注釋掉

  粘貼該行,并將該行

  oel63:/home/oracle/app/oracle/product/11.2.0/dbhome_1:N最后的N

  改為Y

  最后按2次ESC鍵,并輸入:wq并按下enter保存,退出

  使用命令vi /etc/rc.d/rc.local編輯rc.local文件,添加如下內容

  ##### what I have written is as following

  su oracle -lc "/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin/lsnrctl start"

  su oracle -lc /home/oracle/app/oracle/product/11.2.0/dbhome_1/bin/dbstart

  #####Finished wrote in 2015-12-24

  說明:因為第一行命令中有空格所以用雙引號(英文的雙引號)

  /home/oracle/app/oracle/product/11.2.0/dbhome_1為oracle的安裝目錄,要根據實際情況進行修改。

  最后按2次ESC鍵,并輸入:wq并按下enter保存,退出,重啟機器,驗證成功。

  是不是很簡單呢~快跟著學習啦小編一起學習吧!!!如果覺得這篇文章不錯的話就給學習啦小編點一個贊吧。

391195 主站蜘蛛池模板: 四虎成人精品永久网站| 日夜啪啪一区二区三区| 久久亚洲精品人成综合网| yy111111在线尤物| 九九热免费公开视频在线| 丁香五月亚洲综合深深爱| 精品乱码一区二区三四五区| 精品国产成人亚洲午夜福利| 免费的特黄特色大片| 国产线播放免费人成视频播放| 精品亚洲综合一区二区三区| 国内自拍av在线免费| 亚洲日本高清一区二区三区| 欧美高清狂热视频60一70| 日韩中av免费在线观看| 国产最新AV在线播放不卡| 亚洲欧美中文日韩V日本| 日本高清一区免费中文视频| 熟女人妻aⅴ一区二区三区电影| 亚洲国产高清av网站| 亚洲午夜成人精品电影在线观看 | 在线日韩日本国产亚洲| 欧美亚洲国产日韩电影在线| 狠狠做五月深爱婷婷天天综合| a在线观看视频在线播放| 亚洲午夜激情久久加勒比| 99在线精品视频观看免费| 红杏av在线dvd综合| 午夜毛片不卡免费观看视频| 久久精品国产精品亚洲综合| 亚洲精品天堂成人片AV在线播放| 久久久WWW成人免费精品| 亚洲精品无码久久千人斩| 久久亚洲国产欧洲精品一| 91精品国产免费人成网站| 最新亚洲精品国偷自产在线| 白丝乳交内射一二三区| 精品粉嫩国产一区二区三区| 熟女人妻aⅴ一区二区三区电影 | 亚洲精品综合一区二区三区 | 国产精品一二三区蜜臀av|