Simplify the installation of Oracle Database11g on Oracle Linux 5
Directory
1. Introduction of Oracle-validated RPM for oracle Linux
2. Install oracle-validated RPM
3. Configure the Directory and set the group and permissions of the directory owner
4. Install Oracle Database
Note: Given my limited capabilities, it was not long before I got into oracle. When I learned how to install oracle, I found that many problems occurred when I installed the oracle test environment because I did not complete the rpm required by oracle, as a result, the subsequent installation failed. After learning some materials, I found that using this method can install the rpm package quickly without any omissions. I will sort it out and share it with you, in the editing process can not help but there are some problems, I hope you will find out after don't worry, my mailbox is: lixora@foxmail.com, I am very willing to make friends with those who are interested in oracle, if you have any questions about learning, you are very willing to communicate.
Version: 2.0
Made by: lixora <lixora@foxmail.com>
Date: 07.20.2012
1. Introduction of Oracle-validated RPM for oracle Linux
(Skip this part for your reference)
Because the Database requires some software packages, software package versions, and Kernel Parameter fine-tuning, You need to configure the operating environment in advance before installing Oracle Database 10g or 11g on the system. (Be sure to read the corresponding Oracle Database Installation Guide to familiarize yourself with hardware, software, and operating system requirements .) On Oracle Linux, I found that there is a very easy way for the system to meet these installation prerequisites: first install an RPM package named oracle-validated. This RPM performs some pre-configuration steps, including:
Promotes the download and installation of various software packages and specific versions required for database installation, and resolves Software Package dependencies through the yum or up2date Function
Create oracle and group oinstall and dba, which will be used during Database Installation
Modify the kernel parameters in/etc/sysctl. conf to change the shared memory, signal, and maximum number of file descriptors.
Set the hardware and software shell resource limits in/etc/security/limits. conf, such as locking the memory address space, opening the number of files, number of processes, and core file size.
For x86_64 computers, set numa = off in the kernel
Please note that oracle-validated only analyzes the existing/etc/sysctl. conf and/etc/security/limits. conf files based on the database installation needs and updates the values. All pre-custom settings unrelated to database installation remain unchanged.
The oracle-validated RPM package can be obtained through Oracle Unbreakable Linux Network (ULN, which must support the contract), Oracle Linux distribution media, or Oracle public yum database. Therefore, you can use Oracle-validated to simplify database installation on oracle Linux regardless of whether the system is registered with ULN to access Oracle patches and support. Keep in mind that the Oracle public yum database does not update security updates and error fixes, so the best way to stay up-to-date and secure is to use ULN subscription.
Note: Users starting with # are root users and $ are oracle users.
2. Install oracle-validated RPM
The rest of this article will gradually introduce how to install Oracle-validated on Oracle Linux Through the oracle public yum database. First, I started from running an Oracle Linux 5th Update 7 System for x86_64. This 64-bit version of Oracle Linux was delivered to the cloud from Oracle software (requiring registration or login) download. First, set a yum configuration file to point to the correct information library, and then install oracle-validated RPM from the information library.
Follow these steps to pre-configure the system using Oracle-validated for oracle Database installation:
1. Mount the local disk to the system: mount the rhel6.2 installation disc to the optical drive, and run the command line on the terminal.
# Mkdir/media/oel # create a mount directory
# Mount/dev/cdrom/media/oel # mount the disc to the/media/rhel directory
# Cd/media/oel # enter the Mount directory
# Ls # Check the Mount directory. The disk is mounted successfully.
2. Configure the local yum Source
# Cd/etc/yum. repos. d/# enter the yum configuration directory
# Touch oel-media.repo # create a yum configuration file
# Vi oel-media.repo # edit the configuration file and add the following content
##########################
[Oel-media]
Name = oel5.8 # custom name
Baseurl = file: // media/oel/Server # local disk Mount path
Enabled = 1 # enable yum source. If 0 is disabled, 1 is enabled.
Gpgcheck = 0 # Check the GPG-KEY, 0 is not checked, 1 is checked
# Gpgkey = file: // media/rhel/RPM-GPG-KEY-RedHat-release # GPG-KEY path,
##########################