Linux工具安裝配置之Oracle

來源:互聯網
上載者:User

標籤:blog   http   io   os   ar   for   檔案   資料   sp   

對於Oracle的安裝真的是心生恐懼,特別是一堆堆的依賴包。趁這次DBA在南京,實際操作一番。

兩種方式,1、全新安裝;2、硬拷貝

全新安裝,參考下面這個介紹

http://www.cnblogs.com/zhangyongli2011/archive/2012/04/04/2431953.html

 

安裝過程中遇到的問題

1、空間不夠

INS-32021: Insufficient disk space on this volume for the selected Oracle home.
Cause: The selected Oracle home was on a volume without enough disk space.
Action: Choose a location for Oracle home that has enough space (minimum of stringMB) or free up space on the existing volume.

 

解決方式:虛擬機器只留了20G控制項。我是刪除了Oracle的壓縮檔

 

2、依賴包

部分採用yum,部分採用從csdn上下載了一個Oracle11gRPM for Linux x86-64.rar,不過用處沒有想象的大,也不算特別全。

check後還是有幾個包找不到,其實都有對應的rpm檔案安裝包,不知道為什麼找不到。只能ignore了

 

3、安裝完root許可權執行2個shell指令碼

su – root

cd  /home/oracle/app/oracle/product/11.2.0/dbhome_1

sh  root.sh

cd /home/oracle/oraInventory

sh  orainstRoot.sh

直接斷行符號確認即可oraInventory的目錄和原作者提供的目錄不一致

 

?不知道下面這個步驟是否需要,我是執行了的,但是也不知道起什麼作用

開啟一個終端,以root登入
#cd  /tmp/CVU_11.2.0.1.0_oracle
#./runfixup.sh

 

4、安裝完畢啟動 ,找不到dbca命令

先netca在dbca(要在圖形介面中操作)

/home/oracle/bin

./netca &

./dbca &

 

5、dbca後設定資料庫空間後,再次提示控制項不足,其實只設定了400M

只能把oracle的解壓檔案也刪除了

 

Linux工具安裝配置之Oracle

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.