I don't love admin task, as any other developer i presume, but any now and then you get one. This week it was Installing Oracle 11.2 g database on vmware Ubuntu 11.04 Natty Narwhal.
Problem is that Oracle doesn't support officially Ubuntu, so you are pretty much on your own. Actually i had only two problems:
Oracle install wizard in one of steps checks your system settings do they satisfy requrments. For some OS settings it can generate repair script for you to run runfixup.sh.
That scripts calls orarun.sh, you just need to change second one from sh to bash script, change first line from
#!/bin/sh
to
#!/bin/bash
Second problem was Oracle needs some libs to perform linking so you need to add this misssing libs for oracle linking
sudo apt-get install build-essential
sudo apt-get install libaio1
sudo apt-get install libaio-dev
sudo apt-get install unixODBC
sudo apt-get install unixODBC-dev
sudo apt-get install pdksh
sudo apt-get install expat
sudo apt-get install sysstat
sudo apt-get install libelf-dev
sudo apt-get install elfutils
sudo apt-get install lsb-cxx
http://forums.oracle.com/forums/thread.jspa?threadID=1115155
If some of them your ubuntu can not find you will need to find them on net and add them in your source list on end of file.
sudo vi /etc/apt/sources.list
add line like this:
deb http://archive.canonical.com/ubuntu/ natty partner
Problem is that Oracle doesn't support officially Ubuntu, so you are pretty much on your own. Actually i had only two problems:
Oracle install wizard in one of steps checks your system settings do they satisfy requrments. For some OS settings it can generate repair script for you to run runfixup.sh.
That scripts calls orarun.sh, you just need to change second one from sh to bash script, change first line from
#!/bin/sh
to
#!/bin/bash
Second problem was Oracle needs some libs to perform linking so you need to add this misssing libs for oracle linking
sudo apt-get install build-essential
sudo apt-get install libaio1
sudo apt-get install libaio-dev
sudo apt-get install unixODBC
sudo apt-get install unixODBC-dev
sudo apt-get install pdksh
sudo apt-get install expat
sudo apt-get install sysstat
sudo apt-get install libelf-dev
sudo apt-get install elfutils
sudo apt-get install lsb-cxx
http://forums.oracle.com/forums/thread.jspa?threadID=1115155
If some of them your ubuntu can not find you will need to find them on net and add them in your source list on end of file.
sudo vi /etc/apt/sources.list
add line like this:
deb http://archive.canonical.com/ubuntu/ natty partner
Comments