Wednesday, December 10, 2008

Install Oracle 10G EX on Ubuntu 8.10

1. Add oracle site to the resources.list file

udo vi /etc/apt/sources.list
Appen "deb http://oss.oracle.com/debian unstable \
main non-free"

2. Get key from Oracle.

wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle \
-O- | sudo apt-key add -

3. Update Oracle

sudo apt-get update

4. Install Oracle

Increase the swap space to 1G.
sudo dd if=/dev/zero of=/swapfile bs=1024 count=700000
sudo mkswap /swapfile
sudo swapon /swapfile
Add following line into /etc/fstab:
/swapfile none swap sw 0 0

sudo apt-get install oracle-xe

5. Configure Oracle.

sudo /etc/init.d/oracle-xe configure


No comments: