What's Up

Text

Quick guide on installing Oracle 10g standard edition in Ubuntu Server 9.10

Installing Oracle 10g standard edition in Ubuntu Server 9.10:

If you are trying to install it in a remote location, then make sure you have xserver in the remote machine

  • sudo apt-get install xserver-xorg
  • ssh -X user@host
  • sudo ln -s /usr/bin/basename /bin/basename
  • sudo ln -s /usr/bin/awk /bin/awk
  • sudo addgroup nobody

Switch to the oracle setup directory and run the installer:

  • ./runInstaller -ignoreSysPrereqs

If you are getting errors such as java.lang.UnsatisfiedLinkError … lib/i386/libawt.so: libXp.so.6, just install the missing packages

  • sudo apt-get install libxp6

During installation you might get the error: Error in invoking target ‘all_no_orcl ihsodbc’. This is because the libstdc++5 package is missing. apt-get libstdc++5 will not work. Do the following:

  • cd /tmp/
  • wget -c http://lug.mtu.edu/ubuntu/pool/main/g/gcc-3.3/libstdc++5_3.3.6-10_i386.deb
  • dpkg -x libstdc++5_3.3.6-10_i386.deb libstdc++5
  • sudo cp libstdc++5/usr/lib/libstdc++.so.5.0.7 /usr/lib
  • cd /usr/lib
  • sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5

Click on retry and proceed with the installation.

References:

http://t-a-w.blogspot.com/2007/11/installing-oracle-10g-enterprise.html

http://www.puschitz.com/InstallingOracle10g.shtml

http://forums.oracle.com/forums/thread.jspa?threadID=323437

http://www.mznouira.com/blog/tag/libstdc5/

http://www.oracle.com/technology/pub/articles/smiley_10gdb_install.html

http://www.oracle.com/technology/obe/obe10gdb/install/linuxinst/linuxinst.htm

Posted on Friday, November 27 2009. Tagged with: oracleoracle 10gubuntu
Previous Next