/tmp ~ 1 GB
.
- ssh-сервер
- стандартные системные утилиты
sudo aptitude install build-essential
sudo aptitude install libaio1
sudo aptitude install x11-utils
sudo aptitude install unzip
cd /bin
sudo ln -s /usr/bin/awk
sudo ln -s /usr/bin/basename
sudo mkdir /usr/lib64
cd /usr/lib64
sudo ln -s /usr/lib/x86_64-linux-gnu/libpthread_nonshared.a
sudo ln -s /usr/lib/x86_64-linux-gnu/libc_nonshared.a
sudo groupadd -g 2001 oinstall
sudo groupadd -g 2002 dba
sudo groupadd -g 2003 oper
sudo adduser --uid 2004 --gid 2001 oracle
sudo usermod -a -G dba oracle
sudo usermod -a -G oper oracle
kernel.shmmni = 4096
kernel.shmmax = 4398046511104
kernel.shmall = 1073741824
kernel.sem = 250 32000 100 128
fs.aio-max-nr = 1048576
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
sudo /sbin/sysctl -p
oracle soft nproc 131072
oracle hard nproc 131072
oracle soft nofile 131072
oracle hard nofile 131072
oracle soft core unlimited
oracle hard core unlimited
oracle soft memlock 50000000
oracle hard memlock 50000000
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_HOSTNAME=host.domain
export ORACLE_UNQNAME=orcl
export ORACLE_BASE=/db
export ORACLE_HOME=$ORACLE_BASE/home
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
sudo mkdir -p $ORACLE_HOME
sudo chown -R oracle:oinstall $ORACLE_HOME
ssh -X oracle@host.domain
- Распаковываем архив.
cd database
./runInstaller
- Следуем инструкциям.
/etc/oratab
->orcl:/db/home:Y
oracledb
поместить в/etc/init.d/
sudo update-rc.d oracledb defaults