Installing Oracle 11g under Linux

Source: Internet
Author: User

1. Environment

VMware Ten centos-6.3-x86_64

Oracle:linux.x64_11gR2

Hardware I divided 2.5G of memory, 30G HDD (should not need so large) 2 U

2.

2.1 Install the system first, after the root login need to change the system settings:

Setup command to turn off the firewall

Vi/etc/selinux/config Change the SELinux value to Disabled, and then WQ save the disk to exit

2.2 Looked up the 11G documents I downloaded in the Linux under the software (e11882_01, seemingly unpacked 2.22G) list as follows:

binutils-2.15.92.0.2compat-libstdc++-33-3.2.3compat-libstdc++-33-3.2.3 (+ bit) elfutils-libelf-0.97elfutils-libelf-devel-0.97expat-1.95.7gcc-3.4.6gcc-c++- 3.4.6glibc-2.3.4-2.41glibc-2.3.4-2.41 (+ bit) glibc-common-2.3.4glibc-devel-2.3.4glibc-headers-2.3.4libaio-0.3.105libaio-0.3.105 (+ bit) libaio-devel-0.3.105libaio-devel-0.3.105 (+ bit) libgcc-3.4.6libgcc-3.4.6 (32-bit) libstdc++-3.4.6libstdc++-3.4.6 ( + bit) Libstdc++-devel 3.4.6make-3.80numactl-0.6.4.x86_64pdksh-5.2.14sysstat-5.0.5

Then use the rpm-q to check the list software above:


Finally found package Pdksh was not installed, no way, go to him down, searched a valid
wget http://mirror.centos.org/centos/5/os/i386/CentOS/pdksh-5.2.14-37.el5_8.1.i386.rpm

Finish the installation: [[email protected] ~]# Yum install pdksh-5.2.14-37.el5_8.1.i386.rpm
Dependencies are found during installation, but the system is automatically downloaded and installed.
Finally, I'll put libxp in the bag.

2.3 Adding a user group
This step has detailed requirements in the documentation for creating Required Operating System Groups and Users section

The following local operating system groups and users is required if you is installing Oracle Database:
    • The Oracle Inventory group (typically, oinstall )

    • The OSDBA group (typically, dba )

    • The Oracle software owner (typically, oracle )

    • The Osoper group (optional. Typically, oper )

Only the Groupadd command is used to create the Oinstall and DBA two groups
Useradd command to add groups to users (Usermod reorganization)
Finally, change the permissions of the added Oracle user [[email protected] ~]# vi/etc/sudoers
Change the file (to be the same as the root line) wq! Force disk to exit.

2.4 Modifying the parameters of the kernel
2.5 Check the parameter limits:Check Resource Limits for the Oracle software installation Users
Reference http://redkey.blog.51cto.com/335290/1283792
Http://www.cnblogs.com/mchina/archive/2013/03/08/2934473.html
2.6 Set the login file Vi/etc/pam.d/login
2.7 Setting the profile file vi/etc/profile
2.8 Check host file localhost must be 127.0.0.1
2.9 Creating a Directory
2.9 Setting Environment variables
2.10 Copy the two files that Oracle downloaded, and here I use my own mobile hard drive through
Fdisk-l find the device drive letter/DEV/SDB5 NTFS format for the removable hard disk
Then create a new directory under the MNT directory specifically mount the hard drive: MKDIR/MNT/ATAHD1
Then Mount Mount-t NTFS-3G/DEV/SDB5/MNT/ATAHD1
Note: centOs6.3 does not seem to recognize the NTFS format, so you have to install something to identify this format of the hard disk
# wget download down and unzip the installation below, you can use ntfs-3g to mount the hard drive.
# tar ZXVF ntfs-3g-2011.1.13.tgz
# CD ntfs-3g-2011.1.15
#./configure
# make
# make Install
2.11 Two files on a removable hard drive linux.x64_11gR2_database_1of2.zip linux.x64_11gR2_database_2of2.zip to the current user's directory
Then unzip linux.x64_11gr2_database_1of2.zip-d/opt/oracle (This directory is created in 2.9 steps), and the second file is the same
2.12 Switch User, sudo seems to be unable to install directly, to switch the user I just created ivan_oracle
Before you switch.Echo $DISPLAY command to see if the value is 0:0, No. Export DISPLAY=:0.0 change
Export Lang=en_us also set the language
Then change the user, cd/opt/oracle/database
./runinstaller
Oui started, it's done!!!

3.OUI Installation
After the start to fill in the email and password, but I filled out after he asked me to configure Proxy server, I directly do not accept security issues update, and then directly next


For the first time, it's hot. Software and database installed together, and then chose the Desktop Class (figure easy)

Then the next page configuration information, I changed the character set to Unicode, without its strange default type, and then set the password, password is 8~128 bit requirements

The next step is to make a directory of the installation files and I'll create a new folder

Then the parameter check found a bunch of kernel parameters and Lib library problems
Kernel parameter estimation does not have much effect
Library problems Look, I have 64-bit, so put a i686 try


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.