Installing Oracle 11G

From MyWiki
Jump to: navigation, search

http://www.gizmojunkee.com/2012/05/installing-oracle-11gr2-on-ubuntu-12-04/

1. Prepare the system
aptitude -y install alien binutils build-essential libaio1 libaio-dev unixODBC unixODBC-dev expat sysstat libelf-dev elfutils pdksh ia32-libs unzip libstdc++5 libstdc++6 cpp-4.4 g++-4.4 gawk ksh lesstif2 lib32bz2-dev lib32z1-dev libbeecrypt7 libdb4.8 libmotif4 libodbcinstq4-1 libodbcinstq4-1:i386 libqt4-core libqt4-gui lsb lsb-cxx lsb-qt4

2. Check hostname stuff
Check your /etc/hostname that it looks like below:
localhost.localdomain
and
also check that in /etc/hosts the below line is present:
127.0.0.1 localhost.localdomain localhost

3. Create some users
addgroup --system oinstall
addgroup --system dba
useradd -r -g oinstall -G dba -m -s /bin/bash -d /var/lib/oracle oracle
passwd oracle