Tag Archives: Ubuntu 64-Bit

How to Install Oracle 10g XE in Ubuntu 64-Bit

Another interesting article which I found from Ubuntu Geek

Oracle Database 10g Express Edition (Oracle Database XE) is an entry-level, small-footprint database based on the Oracle Database 10g Release 2 code base that’s free to develop, deploy, and distribute; fast to download; and simple to administer. Oracle Database XE is a great starter database for:

* Developers working on PHP, Java, .NET, XML, and Open Source applications
* DBAs who need a free, starter database for training and deployment
* Independent Software Vendors (ISVs) and hardware vendors who want a starter database to distribute free of charge
* Educational institutions and students who need a free database for their curriculum

With Oracle Database XE, you can now develop and deploy applications with a powerful, proven, industry-leading infrastructure, and then upgrade when necessary without costly and complex migrations

Install Oracle 10g XE in 64-bit Ubuntu

First of all we need to be sure that we have installed the 32 bits libraries.Open the terminal and run the following command

sudo apt-get install libc6-i386

After this we do the following. We have to download Oracle 10g XE.We download it from Oracle official site.
We also have to download an extra deb package. For that we to the following

wget -c http://oss.oracle.com/debian/dists/unstable/main/binary-i386/libaio_0.3.104-1_i386.deb

When we got this two packages. We have to force the installation of oracle.

dpkg -i –force-architecture libaio_0.3.104-1_i386.deb
dpkg -i –force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb

When the installation is ready. We need to configure it

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

and we edit the ~/.bashrc

gksudo gedit ~/.bashrc

Add the following lines and save the file

ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_HOME
export ORACLE_SID=XE
export PATH

After this we go to Applications Oracle Database and we click on to Database Home Page (http://127.0.0.1:8080/apex) on our web browser.

Credit goes here

 

source : http://www.ubuntugeek.com/