Debian7 install oracle11g 1, installation must package apt-get install gcc g ++ make binutils libc6 libc6-dev libstdc ++ 6 libstdc ++ 5 rpm gawk alien ksh lesstif2 libaio1 linux-headers elfutils libaio-dev sysstat unixodbc-bin unixodbc -dev pdksh, which also lacks the java package, go to the official website and install it. 2. Add a user and group groupadd oinstallgroupadd dbauseradd oracle-m-d/home/oracle-g oinstall-G dba-s/bin/bashpasswd oracle 3. Check the installation environment, echo "sem:"; echo "min 250 32000 100 128"; echo "is" 'cat/proc/sys/kernel/sem '; echo; \ echo "shmall:"; echo "min 2097152"; echo "is" 'cat/proc/sys/kernel/shmall'; echo; \ echo "shmmax-shocould be able to hold the SGA-max 4G-1byte:"; echo "is" 'cat/proc/sys /Kernel/shmmax '; echo; \ echo "shmmni:"; echo "min 4096"; echo "is" 'cat/proc/sys/kernel/shmmni'; echo; \ echo "file-max:"; echo "min 6815744"; echo "is" 'cat/proc/sys/fs/file-max '; echo; \ echo "ip_local_port_range: "; echo" min/max 9000 65500 "; echo" is "'cat/proc/sys/net/ipv4/ip_local_port_range '; echo; \ echo" rmem_default :"; echo "min 262144"; echo "is" 'cat/proc/sys/net/core/rmem_default'; Echo; \ echo "rmem_max:"; echo "min4194304"; echo "is" 'cat/proc/sys/net/core/rmem_max '; echo; \ echo "wmem_default:"; echo "min 262144"; echo "is" 'cat/proc/sys/net/core/wmem_default '; echo; \ echo "wmem_max :"; echo "min 1048576"; echo "is" 'cat/proc/sys/net/core/wmem_max '; echo; \ echo "aio-max-nr :"; echo "max 1048576"; echo "is" 'cat/proc/sys/fs/aio-max-nr '; echo; 4. Check the required parameter echo "kernel. s Em = 250 32000 100 128 ">/etc/sysctl. confecho" kernel. shmall = 2097152 ">/etc/sysctl. conf #!!!! Needs to fit your sga (= main memory for database, be sure to have enough ram for PGA etc .)!!!! Echo "kernel. shmmax = 1200000000 ">/etc/sysctl. conf # echo "kernel. shmmni = 4096 ">/etc/sysctl. confecho "fs. file-max = 6815744 ">/etc/sysctl. conf # echo "net. ipv4.ip _ local_port_range = 1024 65000 ">/etc/sysctl. confecho "net. core. rmem_default = 262144 ">/etc/sysctl. confecho "net. core. rmem_default = 262144 ">/etc/sysctl. confecho "net. core. rmem_max = 4194304 ">/etc/sysctl. confecho "net. core. Wmem_default = 262144 ">/etc/sysctl. confecho "net. core. wmem_max = 1048576 ">/etc/sysctl. confecho "fs. aio-max-nr = 1048576 ">/etc/sysctl. conf 5, set limitecho "oracle soft nproc 2047">/etc/security/limits. confecho "oracle hard nproc 16384">/etc/security/limits. confecho "oracle soft nofile 1024">/etc/security/limits. confecho "oracle hard nofile 65536">/etc/security/limits. confecho "or Acle soft stack 10240 ">/etc/security/limits. conf 6: Create an installation directory. my/datadisk has the largest space, put mkdir-p/datadisk/u01/app/oraclemkdir-p/datadisk/u01/oradatamkdir-p/datadisk/u01/flash_recovery_areachown-R oracle: oinstall/datadisk/u01chmod-R 775/datadisk/u01/to prevent errors, add the following link directory ln-s/usr/bin/awk/bin/awkln-s/usr/bin/basename 7, set the DISPLAY variable to DISPLAY the GUI installation and switch to the user you are currently logged on to execute: xhost +. This command allows other users to use the current desktop Ring Environment switch back to oracle user, export DISPLAY =: 0 (this is set in debian7), and then execute xclock to see effect 8 for installation. /datadisk/oracle11g/database/runInstaller 9. Some problems encountered during the installation process are basically some connection problems, using ln-s/usr/lib/xxxx. so/lib64 is basically OK. Solve the problem by checking the error log!