Sudo ln-s/usr/bin/awk
Sudo apt-get install libaio-dev sysstat build-essential \ gcc make binutils lesstif2 libc6 libc6-dev rpm libmotif4 \ libaio1 libstdc ++ 6 alien autotools-dev ksh libltdl-dev \ libtool lsb-rpm unixODBC-dev unixODBC
Sudo groupadd oinstall-g 1030 sudo groupadd dba
Sudo useradd oracle sudo usermod-g 1030-G dba oracle sudo passwd oracle
/Etc/security/limits. conf oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 oracle soft stack 10240
/Etc/sysctl. conf fs. aio-max-nr = 1048576 fs. file-max = 6815744 kernel. shmall = 2097152 kernel. shmmax = 536870912 kernel. shmmni = 4096 kernel. sem = 250 32000 100 128 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 mkdir-p/u01/app/oracle sudo chown-R oracle: oinstall/u01/app/oracle sudo chmod-R 755/u01/app sudo chmod-R 775/u01/app/oracle
Switch to oracle user: log out of the original user under ubuntu and log on to the operating system using oracle; su oracle
ORACLE_BASE =/u01/app/oracle ORACLE_SID = sales export ORACLE_BASE ORACLE_SID
Download the installation package to the same directory and decompress it:
Unzip linux.x64_11gR2_database_1of2.zip unzip linux.x64_11gr2_database5of2.zip cd database./runInstaller
Set oracle environment variables: JDK/ORACLE
Vim/etc/proflie
Export ORACLE_HOME =/u01/app/oracle/product/11.2.0/dbhome_3 export JAVA_HOME =/home/jack/src/jdk1.6.0 _ 27 export PATH = $ PATH: $ JAVA_HOME/bin: $ JAVA_HOME/jre/bin: $ ORACLE_HOME/bin export CLASSPATH =.: $ JAVA_HOME/lib/dt. jar: $ JAVA_HOME/lib/tools. jar export LANG = zh_CN.UTF-8
Error in invoking target 'install' of makefile ins_ctx.mk