Install Oracle11gR2 on Ubuntu 11.04

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.