Ubuntu Oracle 10g安裝/配置與更新硬件信息
經(jīng)過長(zhǎng)時(shí)間學(xué)習(xí)Ubuntu Oracle 10g,你可能會(huì)遇到Ubuntu Oracle 10g問題,這里將介紹Ubuntu Oracle 10g問題的解決方法在Linux(UBUNTU版)上安裝Ubuntu Oracle 10g Express Edition 終于在UBUNTU上成功安裝了Ubuntu Oracle 10gExpress Edition 版本是Release 2(10.2)for Lunux。選取這一版本是因?yàn)閑xpress版對(duì)硬件要求比較低,內(nèi)存只要512M即可。而這次只是一個(gè)測(cè)試,給客戶演示一下而已。而且安裝也很簡(jiǎn)單,嘿嘿嘿.....
下面給大家分享我的Ubuntu Oracle 10g安裝過程:
1 登錄root
2 檢查需要安裝Oracle 10g的機(jī)子配置是否符合要求
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
看一下自己機(jī)子的配置是否符合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
檢查軟件信息確保自己所用的系統(tǒng)是一下中的一種:
- 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的,所以可以安裝另外系統(tǒng)中還要安裝glibc – 2.3.2 和libaio – 0.3.96 兩個(gè)軟件包,缺一不可當(dāng)你的系統(tǒng)滿足以上條件,那么恭喜你,你可以開始安裝Ubuntu Oracle 10g Database Express Edition 10g Release 2(10.2)for Lunux了3 下載安裝包,這個(gè)在ORACLE網(wǎng)站(www.oracle.com)上有,可以免費(fèi)下載的,只是得先注冊(cè)一下。而且注冊(cè)后可以下載很多東西,包括企業(yè)版的Oracle(不知Oracle怎么會(huì)如此大方)。
這個(gè)連接是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,因?yàn)榘苏Z言包。
Ubuntu Oracle 10g安裝/配置
Ubuntu Oracle 10g安裝其實(shí)很簡(jiǎn)單:只要 sudo dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb 然后系統(tǒng)會(huì)自動(dòng)進(jìn)行絕大多數(shù)的配置,需要自己動(dòng)手的只有三個(gè)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:**********因?yàn)橹皇呛?jiǎn)單的應(yīng)用,給客戶演示完就會(huì)刪掉,我沒有對(duì)其作進(jìn)一步的優(yōu)化,所有的設(shè)置都是默認(rèn)值,沒有作任何改動(dòng)。之后就沒事了,大概過了5~6分鐘,會(huì)顯示安裝成功。并提醒你可以在http://127.0.0.1:8080/apex訪問數(shù)據(jù)庫主頁。剛開始有兩個(gè)默認(rèn)可用的用戶:SYS和SYSTEM,密碼都是剛剛統(tǒng)一設(shè)的,建議改成不同的。還有其他12個(gè)用戶,可以激活。因?yàn)閯倓偘惭b完成,我還沒弄明白這兩個(gè)用戶有什么區(qū)別。等上手后,我會(huì)將我的使用心得放上來的。
【編輯推薦】