敘述講解UBUNTU Oracle配置安裝
特別值得一提的是Express Edition有很多值得學(xué)習(xí)的地方,這里我們主要介紹UBUNTU Oracle,包括介紹UBUNTU Oracle等方面。Ubuntu 是一個(gè)完全以 Linux 為基礎(chǔ)的操作系統(tǒng), 可自由的獲得,并提供社區(qū)和專業(yè)的支持。在Linux(UBUNTU版)上安裝UBUNTU UBUNTU Oracle 10g Express Edition .
終于在UBUNTU上成功安裝了UBUNTU Oracle 10g Express Edition 版本是Release 2(10.2)for Lunux。選取這一版本是因?yàn)閑xpress版對(duì)硬件要求比較低,內(nèi)存只要512M即可。而這次只是一個(gè)測(cè)試,給客戶演示一下而已。而且安裝也很簡(jiǎn)單,
下面給大家分享我的安裝過程
登錄root
檢查需要安裝UBUNTU Oracle 10g的機(jī)子配置是否符合要求
硬件信息
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ī)子的配置是否符合要求,具體要求如下:
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
b 檢查軟件信息確保自己所用的系統(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是基于Debian的,所以可以安裝
另外系統(tǒng)中還要安裝glibc – 2.3.2 和libaio – 0.3.96 兩個(gè)軟件包,缺一不可
當(dāng)你的系統(tǒng)滿足以上條件,那么恭喜你,你可以開始安裝UBUNTU Oracle Database Express Edition 10g Release 2(10.2)for Lunux了
下載安裝包
這個(gè)在UBUNTU Oracle上有,可以免費(fèi)下載的,只是得先注冊(cè)一下。而且注冊(cè)后可以下載很多東西,包括企業(yè)
版的UBUNTU Oracle(不知UBUNTU Oracle怎么會(huì)如此大方)。
這個(gè)連接是UBUNTU Oracle Database 10g Downloads :http://www.UBUNTU Oracle.com/technology/software/products/database/UBUNTU Oracle10g/index.html
我下載的是UBUNTU Oracle-xe-universal_10.2.0.1-1.0_i386.deb,因?yàn)榘苏Z言包。
安裝/配置
安裝其實(shí)很簡(jiǎn)單:只要 sudo dpkg -i UBUNTU 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 UBUNTU Oracle Application Express:8080
the 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ì)將我的使用心得放上來的。
【編輯推薦】