導航:首頁 > 操作系統 > linux開啟oracle

linux開啟oracle

發布時間:2022-12-28 20:13:24

linux下怎麼啟動oracle資料庫,命令是什麼

啟動oracle資料庫步驟:x0dx0a首先使用oracle用戶登錄Linux,然後在shell命令行中執行下面的命令:x0dx0a第一步:打開Oracle監聽x0dx0a$ lsnrctl startx0dx0a第二步:進入sqlplusx0dx0a$ sqlplus /nologx0dx0aSQL>x0dx0a第三步:使用sysdab角色登錄sqlplusx0dx0aSQL> conn /as sysdbax0dx0a第四步:啟動資料庫x0dx0aSQL> startupx0dx0a經過上面的四個步驟,oracle資料庫就可以啟動了。x0dx0a關閉資料庫用 shutdown 是要等待事物結束才關閉,強制關閉用 shutdown abort。

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

對於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/proct/11.2.0/dbhome_1:N

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

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

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

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

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

(注意:圖中我用紅色標記的N要改成Y)

找到最後的內容

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

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

粘貼該行,並將該行

oel63:/home/oracle/app/oracle/proct/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/proct/11.2.0/dbhome_1/bin/lsnrctl start"

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

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

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

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

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

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

Ⅲ Linux下安裝了Oracle怎麼開啟

不是express版的吧,
express是一個打包好的文件,安裝完了要運行/etc/init.d/oracle-xe
configure來配置的。。。
標准版的是一個壓縮
需要運行安裝腳本進行安裝,安裝過程有很多步的,當然也包括設置密碼。。。
勸你還是把問題說清楚些。
myeclipse是收費的,由於眾所周知的原因,myeclipse會不時的屏蔽中國的ip,所以,要用迅雷下

Ⅳ linux開啟oracle服務命令是什麼

如果你的oracle安裝和配置都沒有問題的話:

#su - oracle

$sqlplus / as sysdba

>startup

>exit

$lsnrctl start

$ps -ef|grep oracle

Ⅳ Linux下安裝了Oracle怎麼開啟

工具:sqlplus

  1. 打開Linux字元集界面,登錄Oracle用戶

  2. 啟動監聽:lsnrctl start

  3. sqlplus / as sysdba(注意空格)

  4. 當現實已連接時,輸入startup回車

  5. select status from v$instance;查看是不是OPEN,如果是,此時說明資料庫已經開啟。

閱讀全文

與linux開啟oracle相關的資料

熱點內容
高中單片機 瀏覽:347
正則命令 瀏覽:341
javawin10配置環境變數 瀏覽:564
梁全長箍筋加密怎麼設置 瀏覽:403
蘋果appstore怎麼填 瀏覽:688
radiogroupandroid 瀏覽:152
微信加密手機店能破解嗎 瀏覽:952
如何更換win7補丁伺服器地址 瀏覽:702
如何舉報dota2伺服器 瀏覽:584
蘋果怎麼打鏈接微信文件夾 瀏覽:366
阿拉德之路怎麼蘋果跟安卓一起玩 瀏覽:241
主力排序選股源碼 瀏覽:149
android無法生成apk文件 瀏覽:505
如何開一個掛網頁的伺服器 瀏覽:538
虞城車輛解壓去哪裡 瀏覽:759
如何發送戰艦世界命令 瀏覽:609
二次解壓軟體是什麼意思 瀏覽:208
公司內網DNS伺服器如何輸入 瀏覽:966
伺服器f1如何改中文語言 瀏覽:323
編寫文件夾程序 瀏覽:261