Oracle11G FOR Linux is successfully installed.

Source: Internet
Author: User

After several days of hard work, I finally installed Oracle11G FOR Linux. I started to install RS4.0 and downloaded several versions of Oracle10g, or Oracle and Linux were incompatible, either the inventory directory cannot be found, or the net config cannot be started during the installation process. After a bold attempt yesterday, we finally succeeded. Below we will record our experience for memo:

1. Download RS5.0 Enterprise Edition. I downloaded a DVD from thunder. Do not forget to find a serial number. I found a Red Hat Enterprise Linux (Server including virtualization ):

2515dd4e215225dd

2. Download Oracle11G from the Oracle official website.

Next let's start the installation:

1. Create user group

#/Usr/sbin/groupadd oinstall

#/Usr/sbin/groupadd dba

2. Create a user and set a password

#/Usr/sbin/useradd-g oinstall-G dba oracle

# Passwd oracle

3. Set directory permission

# Chown-R oracle: oinstall/ora10g/app/oracle/ora10b/oradata

# Chmod-R 775/ora10g/app/oracle/ora10b/oradata

4. Add the following configuration to the/etc/security/limits. conf file:

Soft nproc 2047

Hard nproc 16384

Soft nofile 1024

Hard nofile 65536

Add the following configuration to the/etc/pam. d/login file:

Session required/lib/security/pam_limits.so

Add the following script to the configuration file/etc/profile for the shell of an Oracle user separately:

If [$ USER = "oracle"]; then

If [$ SHELL = "/bin/ksh"]; then

Ulimit-p 16384

Ulimit-n 65536

Else

Ulimit-u 16384-n 65536

Fi

Fi

Set oracle environment variables

1. Log On As an oracle user:

Add umask 022 to the configuration file. bash_profile to set the user's default umask

Execute the $ ../. bash_profile configuration to take effect.

2. Set temporary file directory

$ TEMP =/directory

$ TMPDIR =/directory

$ Export TEMP TMPDIR

4. Set ORACLE_BASE and ORACLE_SID Variables

$ ORACLE_BASE =/ora10g/app/oracle // This is the master program directory of Oracle created earlier

$ ORACLE_SID = sales

$ Export ORACLE_BASE ORACLE_SID

  • 1
  • 2
  • Next Page

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.