Difference between revisions of "Installing Oracle 11G"
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
libodbcinstq4-1 libodbcinstq4-1:i386 libqt4-core libqt4-gui lsb lsb-cxx lsb-qt4 | libodbcinstq4-1 libodbcinstq4-1:i386 libqt4-core libqt4-gui lsb lsb-cxx lsb-qt4 | ||
− | '''2. Check hostname stuff''' | + | '''2. Check hostname stuff'''<br> |
− | + | Check your /etc/hostname that it looks like below:<br> | |
− | localhost.localdomain | + | localhost.localdomain<br> |
+ | and<br> | ||
+ | also check that in /etc/hosts the below line is present:<br> | ||
+ | 127.0.0.1 localhost.localdomain localhost<br> | ||
+ | |||
+ | '''3. Create some users'''<br> | ||
+ | addgroup --system oinstall<br> | ||
+ | addgroup --system dba<br> | ||
+ | useradd -r -g oinstall -G dba -m -s /bin/bash -d /var/lib/oracle oracle<br> | ||
+ | passwd oracle<br> |
Latest revision as of 00:13, 14 June 2014
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