1. Prepare the system environment before installing Oracle 10 Gb database
1. view the system version, kernel version, number of operating system digits, memory and swap partition size, file system space, host name, IP address, and so on.
[Root @ rac02 ~] # Cat/etc/issue # System Version
CentOS release 5.5 (Final)
Kernel \ r on an \ m
[Root @ rac02 ~] # Uname-a # kernel version
Linux rac02 2.6.18-194. el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux
[Root @ rac02 ~] # Getconf LONG_BIT # Number of Operating Systems
32
[Root @ rac02 ~] # Free-m # Check the memory and swap partition size. The official requirement is that the memory should be at least 512 MB. We recommend that you use 1 GB or more. The memory here is 1407 MB.
Total used free shared buffers cached
Mem: 1407 1335 72 0 114 1059
-/+ Buffers/cache: 161 1246
Swap: 2815 0 2815 # Swap partition size, which is twice the size of memory
[Root @ rac02 ~] # Df-hT/tmp # view/tmp partition space. The official requirement is at least 400 mb.
Filesystem Type Size Used Avail Use % Mounted on
/Dev/mapper/VolGroup00-LogVol00
Ext3 17G 4.6G 12G 30%/# Here/tmp is not separately divided into lv, enough space, and enough space to install oracle Disk
[Root @ rac02 tmp] # hostname # host name. You can modify the host name by modifying/etc/hosts and/etc/sysconfig/network.
Rac02
[Root @ rac02 tmp] # cat/etc/sysconfig/network-scripts/ifcfg-eth0 # IP Address Configuration
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE = eth0
BOOTPROTO = static
ONBOOT = yes
HWADDR = 00: 50: 56: 2c: 87: 0e
IPADDR = 192.168.163.45
NETMASK = 255.255.255.0
GATEWAY = 192.168.163.1
DNS1 = 202.96.134.133
DNS2 = 8.8.8.8
2. Disable the firewall and SELinux.
[Root @ rac02 tmp] # service iptables stop
[Root @ rac02 tmp] # chkconfig iptables off # firewall not loaded after the system is started
[Root @ rac02 tmp] # grep-v "#"/etc/selinux/config # edit the config file and disable selinux
SELINUX = disabled
SELINUXTYPE = targeted
3. confirm that all of the following packages are installed
[Root @ rac02/] # rpm-q gcc make binutils openmotif setarch compat-db libXp
Gcc-4.1.2-51.el5
Make-3.81-3.el5
Binutils-2.17.50.0.6-14.el5
Openmotif-2.3.1-5.el5_5.1
Setarch-2.0-1.1
Compat-db-4.2.52-5.1
Package compat-gcc is not installed
Package compat-gcc-c ++ is not installed
Package compat-libstdc ++-devel is not installed
LibXp-1.0.0-8.1.el5
[Root @ rac02/] # rpm-qa | grep compat-gcc
Compat-gcc-34-3.4.6-4.1
Compat-gcc-34-c + +-3.4.6-4.1
Compat-gcc-34-g77-3.4.6-4.1
[Root @ rac02/] # rpm-qa | grep compat-libstdc
Compat-libstdc ++-33-3.2.3-61
Compat-libstdc ++-296-2.96-138
Note: you do not have to spend too much time in this place. If a related package is not installed, you will be prompted to check the environment before installing oracle, as long as you install the relevant package as prompted.