linux下使用DBCA(database configuration assistant)建立oracle資料庫,dbcaoracle

來源:互聯網
上載者:User

linux下使用DBCA(database configuration assistant)建立oracle資料庫,dbcaoracle

前提:切換到圖形介面

到Oracle的bin目錄下,使用oracle使用者,執行dbca即可。和windows的效果一樣。

 

如果出現亂碼

export LANG="en_US:UTF-8"
linux下怎啟動oracle database configuration assistant

分別root使用者與oracle使用者下 輸入export DISPLAY=:0.0和xhost +
oracle使用者下輸入 dbca
 
linux下怎使用dbca建立oracle 10g資料庫

1、圖形介面:用oracle使用者登陸,運行dbca,通過嚮導提示建立,修改,刪除資料庫。
2、命令列:su - oracle切換到oracle使用者,可以用靜默方式建立,刪除資料庫
a)、執行以下命令使用DBCA靜默方式建立資料庫
$dbca -silent -createdatabase -responseFile /tmp/dbca.rsp
將Oracle安裝盤裡面response目錄下的dbca.rsp拷貝到本機上,修改必要的參數
b)、用dba使用者刪除資料庫
dbca -silent -deleteDatabase -sourceDB orcl -sid orcl -sysDBAUserName sys
-sysDBAPassword password
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.