1. 필요 패케지 설치
apt-get update
sudo apt-get install alien autoconf automake autotools-dev binutils doxygen
sudo apt-get install elfutils expat gawk gcc gcc-multilib g++-multilib libstdc++6:i386 ksh less libtiff5
sudo apt-get install libtiff5-dev lib32z1 libaio1 libaio-dev libc6-dev libc6-dev-i386 libc6-i386
sudo apt-get install libelf-dev libltdl-dev libmotif4 libodbcinstq4-1 libodbcinstq4-1:i386
E: Package ‘libmotif4’ has no installation candidate 인 경우
echo 'deb http://cz.archive.ubuntu.com/ubuntu trusty main universe' >> /etc/apt/sources.list.d/extra.list
apt-get update
apt-get install libmotif4
아래는 선택사항
mv /etc/apt/sources.list.d/extra.list /etc/apt/sources.list.d/extra.list.backup
apt-get update
sudo apt-get install libpthread-stubs0 libpthread-stubs0-dev libpth-dev libstdc++5 lsb-cxx make
N: Ignoring file ‘extra.list.backup’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
E: Unable to locate package libpthread-stubs0
E: Unable to locate package lsb-cxx 인 경우
echo 'deb http://cz.archive.ubuntu.com/ubuntu precise main universe' >> /etc/apt/sources.list.d/extra.list
apt-get install libpthread-stubs0
apt-get install libpthread-stubs0-dev
아래는 선택사항
mv /etc/apt/sources.list.d/extra.list /etc/apt/sources.list.d/extra.list.backup
apt-get update
sudo apt-get install pdksh openssh-server rlwrap rpm sysstat unixodbc unixodbc-dev x11-utils
sudo apt-get install zlibc libglapi-mesa:i386 libglu1-mesa:i386 libqt4-opengl:i386
sudo apt-get install libpthread-workqueue0 libpthread-workqueue-dev libzthread-2.3-2 libzthread-dev
sudo ln -s /usr/bin/awk /bin/awk
sudo ln -s /usr/bin/rpm /bin/rpm
sudo ln -s /usr/bin/basename /bin/basename
sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64
cd /lib64
sudo ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 .
sudo groupadd -g 502 oinstall
sudo groupadd -g 503 dba
sudo groupadd -g 504 oper
sudo groupadd -g 505 asmadmin
sudo useradd -u 502 -g oinstall -G dba,asmadmin,oper -s /bin/bash -m oracle
sudo passwd oracle
sudo mkdir -p /u01/app/oracle/product/11.2.0/
sudo chown -R oracle:oinstall /u01
sudo chmod -R 775 /u01