I. Environment preparation
1. experiment environment
Operating System: Oracle Enterprise Linux 5.6
Virtual Machine version: VMware 8.0
Virtual Machine Hardware configuration: processes 1, ram 1G, disk type SICS, disk size 30G, Nic type NAT
When initializing the system, you must disable the firewall and security policy, without creating any new users.
Change the OS ip address to a static ip Address
[Root @ oel10g ~] # System-config-network
Call the graphical interface and change the ip address of the eth0 Nic to static
[Root @ oel10g ~] # Vi/etc/sysconfig/network
NETWORKING = yes
NETWORKING_IPV6 = no
HOSTNAME = oel10g
Change hostname to oel10g
Edit the/etc/hosts file
[Root @ oel10g ~] # Vi/etc/hosts
# Do not remove the following line, or various programs
# That require network functionality will fail.
127.0.0.1 localhost. localdomain localhost
: 1 localhost6.localdomain6 localhost6
192.168.61.131 oel10g. localdomain eol10g ...... added content
Ii. Install database software
1. Check the hardware environment
Oracle 10 Gb database software requires our operating system to have at least 115 MB of memory, GB of swap partition, and the minimum TMP space is MB.
[Root @ oel10g ~] # Grep MemTotal/proc/meminfo
MemTotal: 1034644 kB
View the memory size of the Operating System
[Root @ oel10g ~] # Grep SwapTotal/proc/meminfo
SwapTotal: 2097144 kB
View swap partition size
[Root @ oel10g ~] # Df-k/tmp
Filesystem 1K-blocks Used Available Use % Mounted on
/Dev/mapper/VolGroup00-LogVol00 28313732 3578252 23274028 14%/
View/tmp size
[Root @ oel10g ~] # Df-k
Filesystem 1K-blocks Used Available Use % Mounted on
/Dev/mapper/VolGroup00-LogVol0 28313732 3578252 23274028 14%/
/Dev/sda1 101086 12871 82996 14%/boot
Tmpfs 517320 0 517320 0%/dev/shm
Use the df-k Command to view the remaining disk space [helper house http://www.bkjia.com]
[Root @ oel10g ~] # Grep "model name"/proc/cpuinfo
Model name: Intel (R) Core (TM) i3 cpu m 380 @ 2.53 GHz
View cpu Parameters
2. Operating System Environment Detection
[Root @ oel10g ~] # Cat/etc/issue
Oracle Linux Server release 5.6
Kernel \ r on an \ m
View operating system version information
[Root @ oel10g ~] # Uname-r
2.6.18-238. el5
View the kernel version of the operating system
You can see that OEL5.6 requires the following rpm packages:
Red Hat Enterprise Linux 4.0 and Asianux 2.0:
Binutils-2.15.92.0.2-13.EL4
Compat-db-4.1.25-9
Compat-libstdc ++-296-2.96-132.7.2
Control-center-2.8.0-12
Gcc-3.4.3-22.1.EL4
Gcc-c ++-3.4.3-22.1.EL44
Glibc-2.3.4-2.9
Glibc-common-2.3.4-2.9
Gnome-libs-1.4.1.2.90-44.1
Libstdc ++-3.4.3-22.1
Libstdc +-devel-3.4.3-22.1
Make-3.80-5
Pdksh-5.2.14-30
Sysstat-5.0.5-1
Xscreensaver-4.18-5.rhel4.2
Setarch-1.6-1