Ubuntu Oracle 10g安裝/配置與更新硬件信息
經過長時間學習Ubuntu Oracle 10g,你可能會遇到Ubuntu Oracle 10g問題,這里將介紹Ubuntu Oracle 10g問題的解決方法在Linux(UBUNTU版)上安裝Ubuntu Oracle 10g Express Edition 終于在UBUNTU上成功安裝了Ubuntu Oracle 10gExpress Edition 版本是Release 2(10.2)for Lunux。選取這一版本是因為express版對硬件要求比較低,內存只要512M即可。而這次只是一個測試,給客戶演示一下而已。而且安裝也很簡單,嘿嘿嘿.....
下面給大家分享我的Ubuntu Oracle 10g安裝過程:
1 登錄root
2 檢查需要安裝Oracle 10g的機子配置是否符合要求
Ubuntu Oracle 10g硬件信息
- To determine the physical RAM size, enter the following command:
- # grep MemTotal /proc/meminfo
- To determine the size of the configured swap space, enter the following command:
- # grep SwapTotal /proc/meminfo
- To determine the available RAM and swap space, enter the following command:
- # free
- To determine the amount of free disk space available in the /tmp directory, enter the following command:
- # df -k /tmp
- To determine the amount of free disk space available on the system, enter the following command:
- # df -k
- To determine whether the system architecture can run the software, enter the following command:
- # grep "model name" /proc/cpuinfo
看一下自己機子的配置是否符合Ubuntu Oracle 10g要求,具體要求如下:
- i Network protocol: TCP/IP
- ii RAM:
- Server component: 256 megabytes minimum, 512 megabytes recommended
- Client component: 256 megabytes
- iii Disk space:
- Server component: Total: 1.5 gigabyte minimum
- Client component: 100 megabytes
檢查軟件信息確保自己所用的系統是一下中的一種:
- Red Hat Enterprise Linux RHEL3 and RHEL4
- Suse SLES-9
- Fedora Core 4
- Red Flag DC Server 5.0/MIRACLE LINUX V4.0/Haansoft Linux 2006 Server (Asianux 2.0 Inside)
- Debian 3.1
Ubuntu Oracle 10g是基于Debian的,所以可以安裝另外系統中還要安裝glibc – 2.3.2 和libaio – 0.3.96 兩個軟件包,缺一不可當你的系統滿足以上條件,那么恭喜你,你可以開始安裝Ubuntu Oracle 10g Database Express Edition 10g Release 2(10.2)for Lunux了3 下載安裝包,這個在ORACLE網站(www.oracle.com)上有,可以免費下載的,只是得先注冊一下。而且注冊后可以下載很多東西,包括企業版的Oracle(不知Oracle怎么會如此大方)。
這個連接是Oracle Database 10g Downloads :http://www.oracle.com/technology/software/products/database/oracle10g/index.html我下載的是oracle-xe-universal_10.2.0.1-1.0_i386.deb,因為包括了語言包。
Ubuntu Oracle 10g安裝/配置
Ubuntu Oracle 10g安裝其實很簡單:只要 sudo dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb 然后系統會自動進行絕大多數的配置,需要自己動手的只有三個the HTTP port that will be used for Oracle Application Express:8080the port that will be used for the database listener:1521。
the password to be used for database accounts:**********因為只是簡單的應用,給客戶演示完就會刪掉,我沒有對其作進一步的優化,所有的設置都是默認值,沒有作任何改動。之后就沒事了,大概過了5~6分鐘,會顯示安裝成功。并提醒你可以在http://127.0.0.1:8080/apex訪問數據庫主頁。剛開始有兩個默認可用的用戶:SYS和SYSTEM,密碼都是剛剛統一設的,建議改成不同的。還有其他12個用戶,可以激活。因為剛剛安裝完成,我還沒弄明白這兩個用戶有什么區別。等上手后,我會將我的使用心得放上來的。
【編輯推薦】