I. Software Used
1. Fedora linux System
Http://torrent.fedoraproject.org/
There are a lot of installation methods on the Internet, so I won't talk about them here, but some may not be able to use them. These are all self-organized,
2. Oracle11gR2
Http://www.oracle.com/technology/software/products/database/index.html
Select the installation document based on the actual situation of your machine.
2. View information about your own machine
Oracle officially specifies a swap space of 1 GB or more memory and 1 GB or more
3. Install the oracle database11gr2 dependency package:
Here, refer to Red Hat EnterpriseLinux 5 installation (maybe it should be Red Hat Enterprise Linux 6, but the official documentation provides 5)
Check the installation package:
Rpm-qa | grep binutils // check whether this package exists.
1 binutils-2.17.50.0.6-2.el5
Rpm-qa | grep compat-libstdc ++
2 compat-libstdc ++-33-3.2.3-61
Rpm-qa | grep elfutils-libelf
3 elfutils-libelf-0.125-3.el5
4 elfutils-libelf-devel-0.125
Rpm-qa | grep glibc
Glibc-2.5-12
Glibc-common-2.5-12
7 glibc-devel-2.5-12
8 glibc-headers-2.5-12
Rpm-qa | grep gcc
Gcc-4.1.1-52
10 gcc-c ++-4.1.1-52
Rpm-qa | grep libaio
Libaio-0.3.106 11
12 libaio-devel-0.3.106
Rpm-qa | grep libgcc
13 libgcc-4.1.1-52
Rpm-qa | grep libstdc ++
14 libstdc ++-4.1.1
15 libstdc +-devel-4.1.1-52.e15
Rpm-qa | grep make
16 make-3.81-1.1
Rpm-qa | grep numactl
Numactl-devel-0.9.8.i386 17
Rpm-qa | grep sysstat
18 sysstat-7.0.0
Rpm-qa | grep ksh
Ksh-20100202-1.el5
These packages are generally installed using the yum command. Therefore, ensure that the network connection is normal when the Oracle Database 11g is installed (if there is no network, download the package and then install it ). Before installing these packages, run the rpm command to check whether these packages exist and meet the installation requirements. (I have no specific version requirements for each package here, because I plan to update or install it directly through yum ). The following describes how to use the rpm and yum commands to check, update, and download and install the package:
# Rpm-q packge_name
# Yum install packge_name
Note: there is also a dependency package. Note that Red Hat5 installs the previous pdksh package by default, while Red Hat6 uses ksh to replace the pdksh package (and the fedora source only has the ksh package pdksh which may be eliminated. many posts about fedora installing oracle forcibly install the pdksh package, because pdksh conflicts with bash .) only install the ksh package. you have checked before.
# Yum install ksh
Next, let's take a look at the highlights of page 2nd: