Fedora12 install Oracle11gR2

Source: Internet
Author: User
This article mainly refers to the installation tutorial of Oracle-base for translation. However, due to the awkward translation of the English language into Chinese, his article also contains imperfections, I will adjust it slowly. Now this article is just a reference, and the sub-cases of each server are different. It is basically unable to be installed according to the actual situation. I will post the address of this article, prevent someone from transferring the semi-finished products to Kazakhstan, and add the address so that others can see where the finished products are. The article describes the x86_64-bit installation tutorial, in fact, this article also applies to 32-bit introduction to how to use Fedora

This article mainly refers to the installation tutorial of Oracle-base for translation. However, due to the awkward translation of the English language into Chinese, his article also contains imperfections, I will adjust it slowly. Now this article is just a reference, and the sub-cases of each server are different. It is basically unable to be installed according to the actual situation. I will post the address of this article, prevent someone from transferring the semi-finished products to Kazakhstan, and add the address so that others can see where the finished product is. The article writes the x86_64-bit installation tutorial, which is also applicable to 32-bit installation.

This article describes how to install oracle 11. 2 on Fedora 12 x86_64. The operating system requires at least 2g swap partitioning and secure Linux is disabled, and the following components are installed:
Gnome Desktop Environment
Editors
Graphical Internet
Development Libraries
Development Tools
Server Configuration Tools
Administration Tools
Base
Fonts
Hardware Support
Input Methods
System Tools
X Windows System

The installation process consists of the following steps:
Download the oracle Installation File
Decompress the file
Set the hosts file
Modify Kernel Parameters
Set
Install


Download the oracle Installation File

Is
Http://www.oracle.com/technology/software/products/database/index.html
You need to register the package. (You can also choose not to register the package, that is, use thunder.) download two compressed packages.


Decompress the file

Decompress the file

Code:
Unzip linux.x64_11gR2_database_1of2.zip
Unzip linux.x64_11gr2_database5of2.zip. In fact, you can decompress the interface.


Set the hosts file

Ensure that the/etc/hosts file contains the following content

Code:
In this step, you do not need to make any modifications. Ensure that the file contains the above content.


Modify Kernel Parameters

The minimum values recommended by oracle for the following parameters:

Code:
Fs. aio-max-nr = 1048576
Fs. file-max = 6815744
Kernel. shmall = 2097152
Kernel. shmmax = 536870912
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Net. ipv4.ip _ local_port_range = 9000 65500
Net. core. rmem_default = 262144
Net. core. rmem_max = 4194304
Net. core. wmem_default = 262144
Net. core. wmem_max = 1048586 the current values of these parameters can be viewed using the following command:

Code:
/Sbin/sysctl-a | grep Generally, the values of these parameters do not meet the requirements. Therefore, you need to add the following content to the end of the "/etc/sysctl. conf" file.

Code:
Fs. aio-max-nr = 1048576
Fs. file-max = 6815744
Kernel. shmall = 2097152
Kernel. shmmax = 536870912
Kernel. shmmni = 4096
# Semaphores: semmsl, semmns, semopm, semmni
Kernel. sem = 250 32000 100 128
Net. ipv4.ip _ local_port_range = 9000 65500
Net. core. rmem_default = 262144
Net. core. rmem_max = 4194304
Net. core. wmem_default = 262144
Net. core. wmem_max = 1048586 run the following command to change the Kernel Parameter Value:

Code:
/Sbin/sysctl-p Add the following content at the end of the "/etc/security/limits. conf" file:

Code:
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536 Add the following content to the/etc/pam. d/login file

Code:
Session required pam_limits.so turn off the firewall and selinux, which can be solved by the graphic interface.

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.