CentOS 6.4 install oracle 11G environment preparation

  
 

1.1, CentOS 6.4 (x86_64)


http://mirrors.163.com/centos/

1.2, Oracle 11g R2 (Linux X86-64
)

http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

Attachment: Oracle 10g Download: < Br>

http://www.cnblogs.com/wenlg/archive/2010/05/19/1738893.html

Second, install CentOS installation

Virtual machine, 40G HDD , 2GRAM2.1, installation planning
machine name: dbservera, b when installing, or vi /etc/sysconfig/network

2.2, network

IPADDR:192.168.8.15NETMASK:255.255.255.0GATEWAY:192.168.8.1DNS1:202.96.134.133DNS2:8.8.8.8 Automatic connection is set to yes

a, install b, install it Use setupc, install vi /etc/sysconifg/network-scripts/ifcfg-eth0, change service network restart

2.3, disk planning
disk is limited, partition may not be reasonable , try to use LVM

/boot 200M primary partition /5GB primary partition /home 5GBswap 2000M swap partition /var 10G extended partition /u01 left all space extended partition

s The wap size refers to the following: When the physical memory is less than 4G, the SWAP size is set to 1.5 times the physical memory and the physical memory size is 4G or more. The SWAP size is recommended to be the same as the physical memory, but the maximum is no more than 8

2.4, the main settings during installation
Simplified Chinese American keyboard CentOS6 installation select Basic Server, and then select "now customize" ” & rdquo; basic system & ldquo; remove Java & ldquo; application & rdquo; best to choose Emacs And the Internet application "Desktop" select all components except the KDE desktop

Set after reboot: ntp is best selected, guarantee the correct time, and select "ldstart; quick start synchronization" in the advanced options. ;kdump can not reboot, OK

3, system check
3.1, memory recommendation 2GB or more

# grep MemTotal /proc/meminfo# Free -m

3.2, swap partition settings see below

# swapon -s/tmp directory is greater than 1G# df -h /tmp# du -sm /tmp< Br>

3.3, disk space should be no problem

# df -h

3.4, system architecture

# cat /proc/version# uname -a# un Ame -r# lsb_release -a

4, setup system
4.1, operating system

The system only supports Red Hat Enterprise Linux 6, CentOS 6 In fact, it is RHEL6, but Oracle does not recognize it, so please change the

vi /etc/redhat-release#CentOS release 6.4 (Final) line, and add the following Red Hat Enterprise Linux 6

4.2, core
2.6.32-358.2.1.el6.x86_64

# uname -r Check that

is generally no problem.
4.3, package requirements

This is the most annoying. Countless people are dying on this or energy is spent on it.
But 11g is very user-friendly, adding the mechanism for checking, and there is no need to install a lot of 32-bit packages under 64-bit like 10g, just install A gcc-32bit-4.3 is OK. The following list must be installed:

binutils-2.20.51.0.2-5.11.el6 (x86_64)compat-libcap1-1.10-1 (x86_64)compat-libstdc++-33-3.2.3-69.el6 ( X86_64)compat-libstdc++-33-3.2.3-69.el6.i686gcc-4.4.4-13.el6 (x86_64)gcc-c++-4.4.4-13.el6 (x86_64)glibc-2.12-1.7.el6 ( I686) glibc-2.12-1.7.el6 (x86_64) glibc-devel-2.12-1.7.el6 (x86_64) glibc-devel-2.12-1.7.el6.i686kshlibgcc-4.4.4-13.el6 (i686) libgcc-4.4. 4-13.el6 (x86_64)libstdc++-4.4.4-13.el6 (x86_64)libstdc++-4.4.4-13.el6.i686libstdc++-devel-4.4.4-13.el6 (x86_64)libstdc++-devel-4.4. 4-13.el6.i686libaio-0.3.107-10.el6 (x86_64)libaio-0.3.107-10.el6.i686libaio-devel-0.3.107-10.el6 (x86_64)libaio-devel-0.3.107- 10.el6.i686make-3.81-19.el6sysstat-9.0.4-11.el6 (x86_64)

Tip (do not add the version number to the package name, that is, the first "-number" , such as gcc)

rpm -q package name yum list installed

Copyright © Windows knowledge All Rights Reserved