1。環境
Ubuntu8.04.1 案頭版 (WMWare 虛擬機器下)
2。下載Oracle-xe-universal_10.2.0.1-1.0_i386.deb
:http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html
下載後使用ftp傳到ubuntu的某個檔案夾下,比如/home/ftp
3。操作步驟(在root使用者下)
3.1 更新系統
apt-get update
apt-get upgrade
3.2 開始安裝
3.2.1 安裝libaio1
apt-get install libaio1
3.2.2 切換到oracle所在的檔案夾後,執行下面的命令
dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb
3.2.3 等待一段時間後,oracle安裝完畢。開始配置oracle。執行下面的命令:
/etc/init.d/oracle-xe configure
3.2.4 出現如下內容:
Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express Edition. The following questions will determine whether the database should be starting upon system boot, the ports it will use, and the passwords that will be used for database accounts. Press [Enter] to accept the defaults. Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]: 我採用的預設
Specify a port that will be used for the database listener [1521]: 我採用的預設
Specify a password to be used for database accounts. Note that the same password will be used for SYS and SYSTEM. Oracle recommends the use of different passwords for each database account. This can be done after initial configuration:
Password can't be null. Enter password:輸入密碼
Confirm the password:輸入密碼
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y 我採用的預設
Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to http://127.0.0.1:8080/apex