天天看點

centos6.8安裝 oracle11g 企業版遇到的坑

0、基礎環境

作業系統:centos6.8

oracle安裝版本: oracle11g企業版

安裝備忘:通過VNCViewer連接配接進行圖形化界面安裝。

耗時:6h(中間遇到了圖形化bug)

1、安裝核心步驟

需要結合以下兩篇博文進行配置。

http://blog.csdn.net/kimsoft/article/details/8117575/

(指令行配置可參考)

http://www.cnblogs.com/mophee/archive/2013/06/01/3107137.html

(圖形化界面詳細)

2、linux系統解決xhost: unable to open display

網上提供了很多解決方案,最終我通過桌面安裝解決。

https://cnzhx.net/blog/centos-yum-install-desktop/

3、交換空間不足安裝:

http://dbaway.blog.51cto.com/7099215/1685300/

(步驟詳細)

4、oracle建立資料庫

http://blog.csdn.net/chtnj/article/details/47321031

5、擷取表名稱等資訊

select table_name from user_tables where table_name like '%TEST%';
select table_name, comments, owner from all_tab_comments where table_name like '%WNB%' and owner = 'TECH';           

6、擷取表中的字段資訊

select column_name, data_type, column_id from user_tab_columns where Table_Name='WNB' order by column_id;           

小結

看似流水漲式的記錄,直到自己第二次再安裝遇到同樣的問題的時候,才會恍然大悟。為不至于當時候再浪費大筆的查詢時間,特記錄于此。

作者:銘毅天下

轉載請标明出處,原文位址:

http://blog.csdn.net/laoyang360/article/details/61934030