Oracle 11gR2 installation example and summary on RHEL5 X86-64

Source: Internet
Author: User

I have been in the Oracle DBA industry for several years, but speaking of Oracle Installation experience, I am not very familiar with it. At the beginning, I was a little confused, as Oracle has become more and more familiar with the principles and mechanisms of various aspects, it is rare to install Oracle.

Basically, the method for installing Oracle can be classified into the following three phases:

  1. Just getting started with and learning Oracle, there is no clue at all about installation. You can only install it one step on the Internet or in the book. After an error occurs, you can only help and reinstall it.
  2. After a period of contact with Oracle, I also learned the basic principles and steps of the installation. I usually search for an installation example online (no need for complicated installation ), then install the SDK (or the previously saved installation documentation for installation). At this stage, you will always encounter some inexplicable errors, and you will be afraid of most of the errors.
  3. In the past two years, every time I install Oracle, I will perform step-by-step operations against the installation documents or official documents on Oracle MOS. At this stage, few errors will occur during installation, even if an error occurs, it can also solve problems (search MOS, google, etc.) with a peaceful mind

Now let's look back to the conclusion that errors may occur during installation, which is generally caused by failure to follow the official operation procedures. Therefore, we strongly recommend that you refer to the operation procedures in the official documentation when installing Oracle, read these installation documents at least once to help you avoid some inexplicable installation errors.

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

I compared the installation of Oracle software with the installation of a common software, and found that there is basically no difference between the two, but we often do not pay attention to it, as shown below:

Serial number Requirements for installing Oracle software Requirements for installing Common Software Remarks
1 Compliant Operating Systems Compliant Operating Systems Any software depends on the operating system. Therefore, any software must run the operating system that meets the requirements.
2 Eligible file system space
Special note:/tmp directory Space
Eligible file system space Generally, software requires a certain amount of space. Therefore, any software installation requires a file system space that meets the requirements.
3 Physical memory and virtual memory
Pay special attention to the virtual memory requirements
Physical memory and virtual memory The running and installation of any software cannot leave the memory.
4 Dependent components (rpm package)
This step is particularly important to linux
It must exist, but we may not pay attention to it. Any software is composed of code. At least components that can parse and run the code are required. This is also a dependent component.
5 Meaningful Host Name Meaningful Host Name Although the installation and running of the software do not depend on the host name, a meaningful host name will omit a lot of troubles in the future.
6 Network Settings
Mainly for/etc/hosts
Network settings (software requiring network connection) If the software needs to be connected by other machines, we usually need to configure the network, but we do not pay much attention to it.
7 Set Kernel Parameters and configure some features of software running, such as the maximum size of shared memory segments. Yes, but we seldom pay attention to it. It is usually the default value.  
8 Exclusive user who creates software run, generally oracle This is generally required, except for windows. Generally, we create an exclusive running user for the software.
9 Add restrictions to users running software It usually exists, but we seldom pay attention to it. It must all exist. We cannot allow a software to initiate thousands of processes or anything. This is a limitation.
10 Grant permissions to users running software It usually exists, but we seldom pay attention to it. Some permissions are required for running the software. Therefore, we usually grant it some privileges.
11 Add some environment variables for Oracle running users It usually exists, but we seldom pay attention to it. For example, each software must run with a PATH variable, but most of the time we do not pay attention to it.
12 Specific requirements, specific configurations, such as ssh mutual trust under RAC If the software has some special features, there will be some special requirements.  

Other points

  1. For newly installed Oracle, we recommend that you install patches or upgrade packages before creating a database to avoid the need to upgrade the database after installation.
  2. Try to use the custom database option to create a database and install only necessary components.
  3. Be sure to select a correct character set for the database (once selected, it cannot be changed)
  4. Set a reasonable parameter for the database that meets your environment

The following is a work summary (non-RAC environment) of installing Oracle 11gR1 on linux 5.6. For details, refer to the MOS document: Master Note For Oracle Database Server Installation (Document ID 1156586.1 ), the installation steps are as follows:

I. Operating System and Oracle version Verification

Check whether the corresponding Oracle version can be installed in the current linux version. For example, whether Oracle 11gR2 is officially verified on RHEL 5. For details, see the documents on MOS.

Certification Information for Oracle Database on Linux x86-64 (Document ID 1304727.1)

The operating environment to be installed is as follows:

Kernel version: Linux localhost. localdomain 2.6.18-238. el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

Operating system version: RHEL 5.6

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • 3
  • 4
  • 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.