Sunday, July 13, 2008

Install Oracle R12 on Ubuntu

This post describes how to install Oracle Release 12 on Ubuntu ( Hardy Heron ). This follows on the footsteps of a successful Oracle 11g database install described in my previous post.

Specs for my Dell Inspiron 530 were:
1. 3GB RAM
2. 500 GB External HDD ( Western Digital )
3. Ubuntu ( Hardy Heron ).
4. Headless Server ( ie no monitor ).
5. ssh running on server.


1. ssh into server from client machine.

2.Mount external hdd

#fdisk -l

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xea3aae34

Device Boot Start End Blocks Id System
/dev/sdb1 1 12748 102398278+ c W95 FAT32 (LBA)
/dev/sdb2 12749 60801 385985722+ f W95 Ext'd (LBA)
/dev/sdb5 12749 60801 385985691 83 Linux

#mount -t ext3 /dev/sdb5 /u01/oracle

3. Stage disks from Oracle into staging directory under /u01/oracle

4. Start vncserver as root.
#vncserver :1
#xhost+

5. On the client, vncviewer -via <ip address of host> hostname:1

6. Switch user to Oracle.

7. Set DISPLAY. export DISPLAY=localhost:1

8. Change Directory to <staging directory>/Disk1

9. runinstaller.sh

10. This step is optional. Drink <your favorite beverage>

Install took about 5 hours. Please note that linux clients to view forms are not supported yet in R12.

Labels: , ,