RedHat Linux Oracle 10 Gb Installation

Source: Internet
Author: User

I. Check the memory and swap space
Oracle claims that the installation of Oracle10g 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.
To try Oracle10g on a General PC with only MB of memory (for example, using its General Purpose Database) and allocate around 1 GB of swap space, you can also run the Oracle database normally.
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
If the original swap space of the system is too small, you can increase the temporary swap space of the system as follows:
1. log on to the system as a root user
$ Su-root
2. Create a temporary swap space File
# Dd if =/dev/zero of = tmpswap bs = 1 k count = 900000
# Chmod 600 tmpswap
# Mkswap tmpswap
# Swapon tmpswap

Ii. Temporary hard disk space
The Oracle10g installer requires more than MB of temporary hard disk space during installation. We recommend that you use the "/tmp" folder as the Temporary Folder. If the "/tmp" file does not have enough space, you can create a new folder as the temporary directory for installation, and then set the environment variables TEMP and TMPDIR to point to the corresponding location. For details, see the following operation code. [Helper's house www.Linuxidc.com]

Log on to Linux and run the following command in the command line mode (bash environment) to check the space of the "/tmp" file:
$ Df/tmp

If the "/tmp" file space is insufficient, run the following command to create the "/tmp" file in another file system:

$ Su-root
# Mkdir/<AnotherFilesystem>/tmp // For example # mkdir/home/temp
# Chown root. root/<AnotherFilesystem>/tmp
# Chmod 1777/<AnotherFilesystem>/tmp
# Export TEMP =/<AnotherFilesystem>
// For example, # TEMP =/home/temp; export TEMP
# Export TMPDIR =/<AnotherFilesystem>


// For example, # TMPDIR =/home/temp; export TMPDIR

In this way, after installing Oracle10g, you can use the following command to delete the previously created temporary file:
$ Su-root
# Rmdir/<AnotherFilesystem>/tmp
# Unset TEMP
# Unset TMPDIR

Iii. Virtual x-windows Software
Now popular x-windows software exceed, x-win32 and other software, you can use virtual x-windows software in the graphical interface to install Oralce9i. Generally, x-windows is installed by default after the standard Linux system is installed.

4. Check the software package (RPMs)
Before you officially install Oracle10g, check the required software packages. For example, select the default installation option for Red Hat Linux Enterprise Edition Advanced Server 3.0, some necessary software packages such as gcc, RedHat-release, and others are
Not installed.
1. Check the kernel package
For RHELAS2.1, the kernel package version is very important. Only kernel Versions later than 2.4.9 can be installed normally in [helper home www.Linuxidc.com. Run the following command to check the version of the kernel package:
$ Uname-

2. Check glibc Software Package
Glibc package versions of RHELAS3 and RH9 can pass self-check tests before Oracle10g installation, but RHELAS2.1 must upgrade its glibc package version to pass self-check. The installation of Oracle10g requires that the glibc package version be at least 2
. 2.4.31.7.
If your system is RHELAS2.1, you can download the latest glibc package and execute the following command:
$ Su-root r> # rpm-Uvh glibc-2.2.4-32.11.i686.rpm glibc-common-2.2.4-32.11.i386.rpm

3. Check the gcc, make, and binutils software packages.
Make sure that the following software packages are installed:
For RHELAS3 and RHELAS2.1: make-3.79 or later versions;
For RHELAS3 and RHELAS2.1: binutils-2.11.90.0.8-12 or later;
For RHELAS3: gcc-3.2.3-2 or later;
For RHELAS2.1: gcc-2.96-108.1 or later.
Run the following command to check:
# Rpm-q gcc make binutils

Users of the RHELAS3 system can find these software packages on the 3rd system installation discs and run the following command on the command line to install the software:
$ Su-root
# Rpm-Uvh gcc-3.2.3-20.i386.rpm
Glibc-devel-2.3.2-95.3.i386.rpm
Glibc-headers-2.3.2-95.3.i386.rpm
Glibc-kernheaders-2.4-8.34.i386.rpm

RHELAS2.1 users do not install binutils and gcc software packages in the default installation status. Run the following command on the command line to install the software:
$ Su-root
# Rpm-ivh gcc-2.96-108.1.i386.rpm
Binutils-2.11.90.0.8-12.i386.rpm
Cpp-2.96-108.1.i386.rpm
Glibc-devel-2.2.4-32.11.i386.rpm
Kernel-headers-2.4.9-e.3.i386.rpm

Users of RH9 system can install the latest software package by running the following command to ensure that the version of these software packages is appropriate:
$ Su-root
# Rpm-Uvh gcc-3.2.2-5.i386.rpm
Glibc-devel-2.3.2-5.i386.rpm
Cpp-3.2.2-5.i386.rpm
Glibc-kernheaders-2.4-8.10.i386.rpm
Binutils-2.13.90.0.18-9.i386.rpm

4. Check the openmotif Software Package
Make sure that the following software packages are installed:
For RHELAS3: openmotif-2.2.2-16 or later;
For RHELAS2.1: openmotif-2.1.30-11 or later.
Run the following command to check:
# Rpm-q openmotif

Users of the RHELAS3 system can install the software package by executing the following command:
$ Su-root
# Rpm-ivh openmotif-2.2.2-16.i386.rpm

RHELAS2.1 users can install the software package by executing the following command:
$ Su-root
# Rpm-ivh openmotif-2.1.30-11.i386.rpm

Users of the RH9 system can install the software package by executing the following command:
$ Su-root
# Rpm-Uvh openmotif-2.2.2-14.i386.rpm

5. Check the setarch software package.
Make sure that the following software packages are installed:
For RHELAS3: setarch-1.3-1 or a later version.
Run the following command to check:
# Rpm-q setarch

Users of the RHELAS3 system can install the software package by executing the following command:
$ Su-root
# Rpm-Uvh setarch-1.3-1.i386.rpm

Note that the setarch software package is not included in RHELAS2.1 and RH9 systems.

6. Check the redhat-release package
Run the following command to check:
# Rpm-q redhat-release

Users of the RHELAS3 system can install the software package by executing the following command:
$ Su-root
# Rpm-ivh redhat-release-3AS-1.i386.rpm

RHELAS2.1 users can install the software package by executing the following command:
$ Su-root
# Rpm-ivh redhat-release-as-2.1AS-4.noarch.rpm

Users of the RH9 system must edit the "/etc/redhat-release" file to ensure that Oracle10g monitors that it is running on an RHELAS3 platform. You can use the following command to change the content of this file:
$ Su-root
# Cp/etc/redhat-release/etc/redhat-release.backup
# Cat>/etc/redhat-release <EOF
Red Hat Enterprise Linux AS release 3 (Taroon)


EOF
After installing Oracle10g, you can use the following command to cancel the previous modification:
$ Su-root
# Cp/etc/redhat-release.backup/etc/redhat-release


Note that during Oracle10g installation, the redhat-release package plays a key role. Without it, the Oracle installer cannot identify whether the system supports running itself. For RHELAS3 system users, this software package is not installed during system default installation.
We do not recommend using the "./runInstaller-ignoreSysPrereqs" command to run the Oracle10g installation program. This will ignore some errors that may cause Oracle10g to fail to run properly on other systems.

  • 1
  • 2
  • 3
  • Next Page

Related Article

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.