Install Oracle 10g XE 32bit on Ubuntu 8.04 32bit

1,添加源

#echo “deb http://oss.oracle.com/debian unstable main non-free” >> /etc/apt/source.list

2,安装

#wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle
#apt-key add RPM-GPG-KEY-oracle
#aptitude update
#aptitude install libaio
#aptitude install oracle-xe

3,配置

#/etc/init.d/oracle-xe configure
#vim /etc/environment

ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
PATH=$PATH:$ORACLE_HOME

#source /etc/environment