Notes for installing Oracle databases in Linux

Source: Internet
Author: User

Oracle claims that the installation of the Oracle9i database in Linux requires at least MB of memory and at least 1 GB or two times of memory swap space. For servers with a system memory larger than 2 GB, the swap space can be between 2 gb-4gb.

If you want to try Oracle9i on a general PC with only MB of memory, you can run the Oracle database normally when 1 GB of swap space is allocated.

To check the memory space, log on to Linux and run the following command in the command line mode (bash environment): grep MemTotal/proc/meminfo

To check the swap space, run the following command on the command line: grep SwapTotal/proc/meminfo

1. decompress the. cpio file # cpio-idvm <lnx_920_disk1.cpio

# Cpio-idvm <lnx_920_disk2.cpio

# Cpio-idvm <lnx_920_disk3.cpio

Generate three directories: Disk1, Disk2, and Disk3 under the current directory.

2. Patch unzip into lerpm.zip

# Rpm-ivh *. i586.rpm -- nodeps -- force

3. Create users and groups # groupadd dba

# Mkdir/opt/OracleHome

# Adduser-u 499-d/opt/OracleHome/-g dba oracle

Note:-u can be 1-500 (system user)-g after being added to the private group dba # chown oracle. dba/opt/OracleHome/

# Mkdir/opt/OracleHome/Ora9i

# Chown oracle. dba/opt/OracleHome/Ora9i

# Touch/etc/rac_on

# Mkdir/opt/tmp

# Chmod 1777/opt/tmp

# Cp oracle. bashrc/opt/OraclHome/. bashrc

  • 1
  • 2
  • Next Page
[Content navigation]
Page 1st: Notes for installing Oracle databases in Linux Page 2nd: Notes for installing Oracle databases in Linux

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.