Redhat install oracle 11g

Oracle 11g download address:

Database Software Downloads | Oracle

Select the required oracle installation file to download

Oracle 11g  online documentation:

http://www.oracle.com/pls/db112/homepage

You can download its PDF document for reference (the Linux installation wizard is the most authoritative installation manual)

 

Oracle 11g R2 database installation hardware configuration requirements:

Minimum memory 1 GB of RAM

virtual memory capacity

Available RAM

Swap Space Required

Between 1 GB and 2 GB

1.5 times the size of RAM

Between 2 GB and 16 GB

Equal to the size of RAM

More than 16 GB

16 GB


Hard drive space requirements

Database software hard disk space requirements:

Installation Type

Requirement for Software Files (GB)

Enterprise Edition

3.95

Standard Edition

3.88

Data file hard disk space requirements:

Installation Type

Requirement for Data Files (GB)

Enterprise Edition

1.7

Standard Edition

1.5

check command

Memory

# grep MemTotal /proc/meminfo

swap space

# grep SwapTotal /proc/meminfo

disk space

# df -ah

Linux platform

Looking at the online documentation, we can see that Oracle 11g supports the Linux operating system

http://docs.oracle.com/cd/E11882_01/install.112/e24321/pre_install.htm%23CHDFFBIF

The following is Linux on X86 (32-bit)

Among them, Red Hat 4 corresponds to Oracle Linux 4, and corresponds to Cent OS 4 (versions must correspond)

Required package support:

You can check the packages required on different platforms by looking at the Package Requirements listed in the Oracle installation documentation. The requirements for Asianux 3, Oracle Enterprise Linux 5.0, and Red Hat Enterprise Linux 5.0 are listed below. Check

Check whether these packages have been installed on the system. If not, search for the corresponding rpm package on the corresponding system CD and install it.

Check the work: execute in sequence: rpm -qa | grep  the following software packages

binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
elfutils-libelf-devel-static-0.125
gcc-4.1.2
gcc-c++-4.1.2
glibc-2.5-24
glibc-common-2.5
glibc-devel-2.5
glibc-headers-2.5
kernel-headers-2.6.18
ksh-20060214
libaio-0.3.106
libaio-devel-0.3.106 
libgcc-4.1.2
libgomp-4.1.2
libstdc++-4.1.2 
libstdc++-devel-4.1.2
make-3.81
sysstat-7.0.2
unixODBC-2.2.11
unixODBC-devel-2.2.11

binutils-2.17.50.0.6

compat-libstdc++-33-3.2.3

elfutils-libelf-0.125

elfutils-libelf-devel-0.125

elfutils-libelf-devel-static-0.125

gcc-4.1.2

gcc-c++-4.1.2

glibc-2.5-24

glibc-common-2.5

glibc-devel-2.5

glibc-headers-2.5

kernel-headers-2.6.18

ksh-20060214

libio-0.3.106

libaio-devel-0.3.106

libgcc-4.1.2

libgomp-4.1.2

libstdc++-4.1.2

libstdc++-devel-4.1.2

make-3.81

sysstat-7.0.2

unixODBC-2.2.11

unixODBC-devel-2.2.11

Create Oracle user

Oracle cannot be installed under the root account, so you need to create a user specifically for the installation of Oracle, and you need to create the dba and oinstall user groups.
[root@localhost oracle]#groupadd dba
[root@localhost oracle]#groupadd oinstall
The following commands will create the dba and oinstall user groups:

The following command will create the oracle user and set the password
[root@localhost oracle]#useradd -g oinstall -G dba oracle
[root@localhost oracle]#passwd oracle
Changing password for user oracle.
New UNIX password: [Type password here]
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password: [Type password again here]
passwd: all authentication tokens updated successfully.

The following command will assign the oracle installation directory (/opt/oracle) to the oracle user oinstall user group
[root@localhost oracle]#chown –R oracle:oinstall /opt/oracle

Guess you like

Origin blog.csdn.net/zy08403/article/details/24473447