Wednesday, January 13, 2010

Ubuntu 9.10 (and Oracle's support for it)

It's official... CentOS is exit, I'm now running Ubuntu 9.10 (or Karmic Koala).

Of course, I'll set up Oracle again, which appears to be very easy, as Oracle provided a Debian (and thus Ubuntu) repository. This should allow Debian and Ubuntu users to install Oracle by using Synaptic Package Manager. Point an shoot installs... I am curious!

Add the repository

You do have to make Ubuntu aware of the fact Oracle is a source of software, too. For that, you need to add the location of the repository to your configuration. This is accomplished by:

frank@cs-frank03:~$ sudo gedit /etc/apt/sources.list
Scroll to the bottom of the file, and add:
# Oracle stuff
deb http://oss.oracle.com/debian unstable main non-free

After that, update the libraries to allow Software Center to show Oracle, enter:

frank@cs-frank03:~$ sudo apt-get update

Now, fire up Synaptic, and click on the 'Origin' button; you should see oss.oracle.com/main listed. Point at it, and you will see XE (in two flavours) and the XE client.

Now, if only I just wanted XE...

yum


For non-Debian, there's support for yum as well; check it out!

6 comments:

  1. I think after editing sources list this needs to be run

    wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -

    for the public key according to this document

    http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html

    otherwise when you update you get

    Err http://oss.oracle.com unstable/main Packages
    404 Not Found
    Err http://oss.oracle.com unstable/non-free Packages
    404 Not Found
    Fetched 247kB in 2s (87.5kB/s)
    W: GPG error: http://oss.oracle.com unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2E2BCDBCB38A8516

    ReplyDelete
  2. Unfortunately, this is no workee:

    eading package lists... Done
    W: GPG error: http://oss.oracle.com unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2E2BCDBCB38A8516

    ReplyDelete
  3. Mladen: that would be a warning, I think stuff is installed, despite the warning.
    And the solution is --indeed-- to import the key, as noted by Coskan. Coskan, thanks for pointing out this omission!

    ReplyDelete
  4. Frank,

    I have strange issues with sysstats, Would you mind if I ask you to gather system stats and paste the system statistics here. On Ubuntu my sreadtim and mreadtim is unbelievable big numbers but a database on the same ubuntu host but a virtual machine has expected sreadtim and mreadtim. I wonder if this is because of ubuntu or my machine spesific. I will really appreciate if you can test this.

    ReplyDelete
  5. PNAME PVAL1
    ------------------------------ ----------
    STATUS
    DSTART
    DSTOP
    FLAGS 0
    CPUSPEEDNW 1273,89
    IOSEEKTIM 8,012
    IOTFRSPEED 4096
    SREADTIM ,538
    MREADTIM 2,714
    CPUSPEED 1274
    MBRC 6
    MAXTHR
    SLAVETHR

    13 rows selected.

    ReplyDelete