现在的位置: 首页 > 综合 > 正文

Install oracle 10g express version in debian amd64

2014年01月02日 ⁄ 综合 ⁄ 共 1957字 ⁄ 字号 评论关闭
     You know now, our 64 bit system is lesssupported than the old 32 bit system. We have to install 32 bitoracle xe since Oracle also didn’t have 64 bit version. So, let me explain how to install it in debian amd64 linux OS.           When you use Synaptic Package Manager to get oracle in amd64 debian, you will find that you can not find it. Cause, apt-get will detect our system architecture and we won’t get the 32 bit packages list. So, we need set it up manually.           Before we start set it up, we must make sure that we have the 32 bit library installed. For this, all you have to do is:          sudo apt-get install libc6-i386

   The next thing to do is download the files we needed. They are libaio_0.3.104-1_i386.deb and oracle-xe-universal_10.2.0.1-1.1_i386.deb. You can dowload them from: http://oss.oracle.com/debian/dists/unstable/main/binary-i386/libaio_0.3.104-1_i386.deb http://oss.oracle.com/debian/dists/unstable/non-free/binary-i386/oracle-xe-universal_10.2.0.1-1.1_i386.deb       After your downloads are finished, we continue to the main issue,forcing the package to be installed. You could try to install withusual dpkg -i first to make sure your system is really 64 bit.

     sudo dpkg -i libaio_0.3.104-1_i386.deb

You’ll get error,

dpkg: error processing libaio_0.3.104-1_i386.deb (--install): package architecture (i386) does not match system (amd64) Errors were encountered while processing: libaio_0.3.104-1_i386.deb

Then we must make sure that we have installed the bc.

     sudo apt-get install bc

To force the installation, do these

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

You also need to set enviorenment variables for it like this:

  go to etc/profile and edit it, add the follows in it:

    $PATH=$PATH:$ORACLE_HOME/bin

    export PATH

After that, you need to configure it

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

In this steps, you will need to specify the ports and pasword. The details for my installation are as follows,

Webconsole Http Port: 8080

Database Listener: 1521

Database Password: *******

Now you could go to http://127.0.0.1:8080/apex from your browser. Reference:   http://blog.csdn.net/RobertLeeJesus/archive/2008/06/08/2524832.aspx

抱歉!评论已关闭.