Oracle Linux 6.5 installs Oracle 11GR2

Source: Internet
Author: User

Finally, the installation of ASM and RAC was started.

Getting ready to work under Linux

Vi/etc/selinux/config-------permanently off SELinux

selinux=disabled--------and then restart the server

Chkconfig iptables off reboot permanently shut down the firewall

Install package

Mount/dev/cdrom/mnt
Cd/mnt/cdrom/server/packages
RPM-UVH binutils-2*x86_64*
RPM-UVH glibc-2*x86_64* nss-softokn-freebl-3*x86_64*
RPM-UVH glibc-2*i686* nss-softokn-freebl-3*i686*
RPM-UVH compat-libstdc++-33*x86_64*
RPM-UVH glibc-common-2*x86_64*
RPM-UVH glibc-devel-2*x86_64*
RPM-UVH glibc-devel-2*i686*
RPM-UVH glibc-headers-2*x86_64*
RPM-UVH elfutils-libelf-0*x86_64*
RPM-UVH elfutils-libelf-devel-0*x86_64*
RPM-UVH gcc-4*x86_64*
RPM-UVH gcc-c++-4*x86_64*
RPM-UVH ksh-*x86_64*
RPM-UVH libaio-0*x86_64*
RPM-UVH libaio-devel-0*x86_64*
RPM-UVH libaio-0*i686*
RPM-UVH libaio-devel-0*i686*
RPM-UVH libgcc-4*x86_64*
RPM-UVH libgcc-4*i686*
RPM-UVH libstdc++-4*x86_64*
RPM-UVH libstdc++-4*i686*
RPM-UVH libstdc++-devel-4*x86_64*
RPM-UVH make-3.81*x86_64*
RPM-UVH numactl-devel-2*x86_64*
RPM-UVH sysstat-9*x86_64*
RPM-UVH compat-libstdc++-33*i686*
RPM-UVH compat-libcap*

Query whether the following packages are installed

Rpm-q binutils compat-libstdc++-33 compat-gcc-34-c++ elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc Glibc-common glibc-devel glibc-headers kernel-headers ksh libaio libaio-devel libgcc libgomp libstdc++ libstdc++-devel ma Ke sysstat numactl-devel unixODBC unixodbc-devel openmotif22 openmotif compat-db libxp

The output is as follows:

Binutils-2.20.51.0.2-5.36.el6.x86_64
Compat-libstdc++-33-3.2.3-69.el6.x86_64
compat-libstdc++-33-3.2.3-69.el6.i686

Package compat-gcc-34-c++ are not installed


Elfutils-libelf-0.152-1.el6.x86_64
Elfutils-libelf-devel-0.152-1.el6.x86_64
Gcc-4.4.7-4.el6.x86_64
Gcc-c++-4.4.7-4.el6.x86_64
Glibc-2.12-1.132.el6.x86_64
glibc-2.12-1.132.el6.i686
Glibc-common-2.12-1.132.el6.x86_64
Glibc-devel-2.12-1.132.el6.x86_64
glibc-devel-2.12-1.132.el6.i686
Glibc-headers-2.12-1.132.el6.x86_64
Kernel-headers-2.6.32-431.el6.x86_64
Ksh-20120801-10.el6.x86_64
Libaio-0.3.107-10.el6.x86_64
libaio-0.3.107-10.el6.i686
Libaio-devel-0.3.107-10.el6.x86_64
libaio-devel-0.3.107-10.el6.i686
Libgcc-4.4.7-4.el6.x86_64
libgcc-4.4.7-4.el6.i686
Libgomp-4.4.7-4.el6.x86_64
Libstdc++-4.4.7-4.el6.x86_64
libstdc++-4.4.7-4.el6.i686
Libstdc++-devel-4.4.7-4.el6.x86_64
Make-3.81-20.el6.x86_64
Sysstat-9.0.4-22.el6.x86_64
Numactl-devel-2.0.7-8.el6.x86_64

Package UnixODBC are not installed
Package unixodbc-devel are not installed
Package openmotif22 are not installed

Openmotif-2.3.3-6.1.el6_4.x86_64

Package compat-db are not installed


Libxp-1.0.0-15.1.el6.x86_64

Continue with the installation package

# RPM-IVH compat-db-4.6.21-15.el6.x86_64.rpm compat-db42-4.2.52-15.el6.x86_64.rpm compat-db43-4.3.29-15.el6.x86_ 64.rpm
# RPM-IVH compat-gcc-34-c++-3.4.6-19.el6.x86_64.rpm compat-gcc-34-3.4.6-19.el6.x86_64.rpm
# RPM-IVH unixodbc-2.2.14-12.el6_3.x86_64.rpm unixodbc-devel-2.2.14-12.el6_3.x86_64.rpm
# RPM-IVH openmotif-2.3.3-6.1.el6_4.x86_64.rpm openmotif22-2.2.3-19.el6.x86_64.rpm libXp-1.0.0-15.1.el6.x86_64.rpm

Add users, groups, and home directories that install Oracle grid on each node and set permissions.

/usr/sbin/groupadd-g Oinstall

/usr/sbin/groupadd-g 1020 Asmadmin

/usr/sbin/groupadd-g 1021 ASMDBA

/usr/sbin/groupadd-g 1022 Asmoper

/usr/sbin/groupadd-g 1031 DBA

/usr/sbin/groupadd-g 1032 Oper

Useradd-u 1100-g oinstall-g asmadmin,asmdba,asmoper,oper,dba grid

Useradd-u 1101-g oinstall-g Dba,asmdba,oper Oracle

Mkdir-p/u01/app/11.2.0/grid

Mkdir-p/u01/app/grid

Chown-r grid:oinstall/u01

Mkdir/u01/app/oracle

Chown oracle:oinstall/u01/app/oracle

Chmod-r 775/u01/

modifying file parameters

# vi/etc/sysctl.conf
FS.AIO-MAX-NR = 1048576
Fs.file-max = 6815744
Kernel.shmall = 2097152
Kernel.shmmax = 2147483648
Kernel.shmmni = 4096
Kernel.sem = 250 32000 100 128
Net.ipv4.ip_local_port_range = 9000 65500
Net.core.rmem_default = 4194304
Net.core.rmem_max = 4194304
Net.core.wmem_default = 262144
Net.core.wmem_max = 1048586

Sysctl-p

File descriptor

Cat >>/etc/security/limits.conf << EOF
Oracle Soft Nproc 2047
Oracle Hard Nproc 16384
Oracle Soft Nofile 1024
Oracle Hard Nofile 65536
Oracle Soft Stack 10240

Modifying the Login module

Cat >>/etc/pam.d/login << EOF
Session required/lib64/security/pam_limits.so
Eof

Cd/mnt/install_dvd

CD Packages

ll | grep Preinstall

-rw-r--r--1 root root 15524 Jan oracle-rdbms-server-11gr2-preinstall-1.0-7.el6.x86_64.rpm

RPM-IVH oracle-rdbms-server-11gr2-preinstall-1.0-7.el6.x86_64.rpm

In VirtualBox again virtual a eth1. Meeting server Requirements

    • Each server node requires at least 2 network cards, an external network interface, a private network Interface (Heartbeat).

Oracle Linux 6.5 installs Oracle 11GR2

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.