ubuntu10.04 安裝oracle server 版 筆記

1:從oracle 官網下載oracle 10g ,而後解壓出一個database文件夾。
2 :建立RedHat的版本聲明文件[默認ubuntu沒法經過oracle 的檢查]
在/etc/redhat-release中添加如下語句,以使安裝程序認爲正在一個RedHat的系統上安裝:
Red Hat Linux release 3.1 (drupal)
3: 安裝oracle10g時報:Error in invoking target 'all_no_orcl ihsodbc' of makefile...
ubuntu oracle, error in invoking target all_no_orcl ihsodbc
沒法經過 sudo apt-get install libstdc++5安裝
gcc-3.3-base_3.3.6-15ubuntu6_i386 ==》cpp-3.3_3.3.6-15ubuntu6_i386 ==》gcc-3.3_3.3.6-15ubuntu6_i386 ==》
libstdc++5_3.3.6-15ubuntu6_i386c++

參考網站地址:http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/ubuntu

4:按提示安裝便可。
若有安裝會有亂碼,清使用eng環境
export LC_CTYPE=en_US.UTF-8oracle

5:安裝完後,提示
/u01/app/oracle/orainventory/orainstRoot.sh
/u01/app/oracle/product/10.2.0/root.sh
沒有執行成功,須要 need root 權限。
主要是/etc/oratab沒有建立成功!app

使用root權限,找到並執行./root.sh網站

相關文章
相關標籤/搜索