Installing Oracle 11g for 64bit on Ubuntu 10.04 server 64bit?

Posted on

Installing Oracle 11g for 64bit on Ubuntu 10.04 server 64bit? – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, ubuntu, installation, oracle, .

I want to install Oracle 11g for 64bit on a Ubuntu 10.04 64bit server.Does anybody knows how to install the Oracle 11g on Ubuntu from the scratch(pre-installation to post-installation)?

Solution :

Is this for development or personal use or for production? I’d review the release notes for Oracle to see if Ubuntu is supported, but further, I’d ask yourself why you want Oracle on Ubuntu. Nothing against Ubuntu but Oracle is a finicky beast an it is best not to stray too far from the supported platforms especially if this is a production setup. You may be better off biting the bullet and installing on RHEL or CentOS (not Fedora Core) because RHEL is supported and CentOS is known to work, being derived from RHEL sources. Again, while Ubuntu LTS may work nicely for 90% of your infrastructure, Oracle is very demanding – deviate from supported configurations at your peril.

Oracle’s dependency checks are not for show. People run Oracle for two reasons – either they need the reliability and features of Oracle, or they’re running it because someone else told them to (vendor, administrator, client, etc.) If you don’t need it, don’t use it because it’s a severe pain for a neophyte to manage. If you do need it, you obviously have deep pockets – don’t waste your time trying to get Oracle running on a desktop OS. Pay for RHEL or if you know what you’re doing or don’t care, use CentOS because it’s as close a production OS for Oracle as you’ll get without buying RHEL. I like Ubuntu too, but it’s the wrong platform in this case.

I have both Oracle 10g release 2 and 11g running on my laptop Ubuntu 8.04 64-bit. I have following the phytian guide… What is the exact error you get during install?

BTW – some have suggested you install in a supported environment. If you want – create a new VM and install Oracle EL – a clone of RHEL, fully supported, fully free. I would just get the EL 5.3 from here.

BTW – if you use VirtualBox – the version in the Ubuntu 8.04 repository used to be old and didn’t support 64-bit guests, so if you use VirtualBox and not VmWare, get the latest release from their site

—– EDIT —–

OK, I found my notes of the steps I took. I believe it is quite accurate.

Oracle Documentation talks about user “oracle” with groups “dba”,”oinstall”. Since this is just a laptop, I used the default user/group (in my case, ofir/ofir), so change it to your


as root run:

ln -s /usr/bin/basename /bin/basename

ln -s /usr/bin/awk /bin/awk

ln -s /usr/bin/rpm /bin/rpm

mkdir /etc/rc.d

ln -s /etc/rc0.d /etc/rc.d/rc0.d

ln -s /etc/rc2.d /etc/rc.d/rc2.d

ln -s /etc/rc3.d /etc/rc.d/rc3.d

ln -s /etc/rc4.d /etc/rc.d/rc4.d

ln -s /etc/rc5.d /etc/rc.d/rc5.d

ln -s /etc/rc6.d /etc/rc.d/rc6.d

ln -s /etc/init.d /etc/rc.d/init.d

add to /etc/sysctl.conf :

fs.file-max = 65535

kernel.shmall = 2097152

kernel.shmmax = 2147483648

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 1024 65000

net.core.rmem_default = 1048576

net.core.rmem_max = 1048576

net.core.wmem_default = 262144

net.core.wmem_max = 262144

add to /etc/security/limits.conf (replace ofir with your username):

ofir soft nproc 2047

ofir hard nproc 16383

ofir soft nofile 1023

ofir hard nofile 65535

Add to /etc/pam.d/login :

session required /lib/security/

session required

sudo apt-get install gcc make rpm libmotif3 libstdc++5 gawk alien ksh gcc-3.3 g++-3.3 libstdc++5 libc6 libc6-dev gcc make binutils lesstif2 ++-multilib


(I assume you have done it before, if not – just follow the GUI and cosult the docs):

run the installer, choose software only install. Ignore a few minor link errors (there were no link errors after patch)

If needed, install the examples disk as well

Install the (available from metalink)

run netca to create a new listener (accept all the defaults)

run dbca to create a new database (even the database console works great for me)

As a note… last time I installed Oracle, it depended on some binary packages that were 32bit, so I had to install the ia32-libs package ( aptitude install ia32-libs ) , for it to work…

Do you have any concrete problem?

Maybe you can take look here:

Leave a Reply

Your email address will not be published. Required fields are marked *