在Ubuntu 11.04 64-bit 系统中安装Oracle 11g r2
Install Oracle 11gR2 Ubuntu Linux 11.04 (64-bit)
Version C - update May 31, 2011
Author: Dude
Note: The following instructions work for Oracle 11gR2 11.2.0.1 (x86_64) and have also been tested with an Out-of-Place upgrade to 11.2.0.2. Just select the "ignore all" button at the prerequisite checks. It worked fine, including the Network Configuration and Database Upgrade Assistant.
If you go straight to 11.2.0.2 you may not need to install any 32-bit libraries, but I didn't try it.
Please note that Oracle 11gR2 on Ubuntu Linux is not supported by Oracle.
System setup and Prerequisites
The following assumes a default installation of Ubuntu 11.04, 64-bit, configured with access to the Internet.
You will need Terminal command line and Console access to perform the setup tasks. To open a Terminal on the system console:
You can also use VNC using an SSH tunnel:
You can source execute Oracle's oraenv utility to set your shell environment variables after the installation:. /usr/local/bin/oraenvRegards and best of luck.
Edited by: Dude on May 17, 2011: Added note about 11.2.0.2, various changes.
Edited by: Dude on May 25, 2011: Add oracle account to admin group instead of /etc/sudoers.
Edited by: Dude on May 31, 2011: Removed step to add software repository for ia32-libs.
It's not needed and causing subsequent update issues. I.e. Flashplugin.