Install Oracle 11.2.0.4 x64 in Oracle Linux 6.5
1. Prepare the Oracle11g installation environment
Use Oracle Linux 6.5 x64 for installation. The installation process is the same as RedHat. During installation, select the desktop, Development Kit, development library, and Other Default options.
Desktops> X Window System
Development> Additional Development
Development> Development Tools
After installation:
(1) Disable selinux
(2) Disable iptables
(3) Restart
Install Oracle 11gR2 (x64) in CentOS 6.4)
Steps for installing Oracle 11gR2 in vmwarevm
Install Oracle 11g XE R2 In Debian
2. Start to install the basic package (put it on a CD or mount an ISO file)
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 *
(1) confirm to install the following package
# Rpm-q binutils compat-libstdc ++-33 compat-gcc-34-c ++ elfutils-libelf
Elfutils-libelf-devel gcc-c ++ glibc-common glibc-devel
Glibc-headers kernel-headers ksh libaio-devel libgcc libgomp
Libstdc ++-devel make sysstat numactl-devel unixODBC
UnixODBC-devel openmotif22 openmotif compat-db libXp
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 ++ is 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 is not installed
Package unixODBC-devel is not installed
Package openmotif22 is not installed
Package openmotif is not installed
Package compat-db is not installed
Package libXp is not installed
(2) install related packages
# 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
(3) replacing the sqlplus Tool
# Wget http://utopia.knoware.nl /~ Hlub/uck/rlwrap/rlwrap-0.37.tar.gz
# Tar zxvf rlwrap-0.37.tar.gz
# Cd rlwrap-0.36
#./Configure
# Make
# Make check
# Make install
3. Create a user group and user account for oracle Installation
1) Create an oinstall, dba group, and oracle user (as root)
Groupadd oinstall
Groupadd dba
Useradd-g oinstall-G dba oracle
Passwd oracle
2) Create the Oralce HOME directory
Mkdir-p/u01/app/oracle/product/11.2.0/db_1
Chmod-R 775/u01/app
Chown-R oracle: oinstall/u01
4. Modify Kernel support
# 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
Kernel Parameter configuration instructions:
Kernel. shmall = 2097152 # Total number of pages in the shared memory that can be used by the system. The default value is 2097152.
Kernel. shmmax = 2147483648 # maximum size of a single shared memory segment, in bytes. This example is 2 GB.
Kernel. shmmni = 4096 # maximum default number of shared memory segments
5. Modify the file descriptor
Cat>/etc/security/limits. conf <EOF
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
Oracle soft stack 10240
EOF
6. Modify the login authentication module
Cat>/etc/pam. d/login <EOF
Session required/lib64/security/pam_limits.so
EOF
7. Modify the local hosts file
# Vi/etc/hosts
192.168.233.100 vm100
For more details, please continue to read the highlights on the next page: