Install Oracle10gR2 on RedHat4ASU7

Source: Internet
Author: User
Install Oracle10gR21 on RedHat4ASU7. hardware requirements: ========================================================== === at least MB physical memory # grepMemTotal/proc/meminfo ====

Install Oracle10gR2 on Red Hat 4 AS U7


1. Hardware requirements:
========================================================== ===
At least MB physical memory
# Grep MemTotal/proc/meminfo
========================================================== ===
Swap space size allocation requirements
Physical memory: 1024 MB ~ 2048 MB, 1.5 times physical memory
Physical memory: 2049 MB ~ 8192 MB, 1 time physical memory
Physical memory: 8192 MB ~, 0.75 times physical memory
# Grep SwapTotal/proc/meminfo
========================================================== ===
The/tmp directory must have at least 400 MB space.
# Df-k/tmp
========================================================== ===
1.5 GB to 3.5 GB for installing Oracle software
# Df-k
========================================================== ===
1.2 GB for pre-Installation of Oracle Database
# Df-k
========================================================== ===
2. software requirements:

Red Hat Enterprise Linux 4.0 requires the following packages:
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
========================================================== ===
Rpm-q binutils compat-db compat-libstdc ++ control-center gcc-c ++ glibc-common
Rpm-q gnome-libs libstdc ++-devel make pdksh sysstat xscreensaver setarch

[Root @ ora10g ~] # Cd/media/cdrom/RedHat/RPMS
[Root @ ora10g RPMS] #

Rpm-Uvh compat-db *

When installing the rpm package, if you encounter a correlation check and report the following error, you can install the glibc-kernheaders-2.4-9.1.103.EL.i386.rpm
Solution:
Kernel-headers is needed by glibc-headers-2.3.4-2.41.i386
Kernel-headers> = 2.2.1 is needed by glibc-headers-2.3.4-2.41.i386
========================================================== ===
Check the red hat release version:
# Cat/etc/issue
========================================================== ===
Check the kernel version:
# Uname-r
========================================================== ===
Check whether the corresponding package is installed:
# Rpm-q package_name
========================================================== ===
3. network requirements:
========================================================== ===
Check whether/etc/hosts is used for name resolution (name resolution). The following name should have files returned
# Cat/etc/nsswitch. conf | grep hosts

[Root @ ora10g ~] # Cat/etc/nsswitch. conf | grep hosts
# Hosts: db files ldap nis dns
Hosts: files dns
========================================================== ===
Check whether the host name is set. The following command should return a similar result (myhost.mycomputer.com:
# Hostname

[Root @ ora10g ~] # Hostname
Ora10g
========================================================== ===
Check whether the domain name is not dynamically set. The following command should not return any results:
# Domainname

[Root @ ora10g ~] # Domainname
(None)
========================================================== ===
Check whether the hosts file contains the full description name (the fully qualified host name). the following command should have similar results (
192.168.100.16 myhost.us.mycompany.com myhost
127.0.0.1 localhost. localdomain
) Returns:
# Cat/etc/hosts | grep 'eval hostname'

[Root @ ora10g ~] # Cat/etc/hosts | grep 'eval hostname'
192.168.168.213 ora10g.kl.com ora10g
[Root @ ora10g ~] #
========================================================== ===
4. create necessary OS groups and users:

Oinstall Group, required. Oracle product directory Group (Oracle Inventory Group ):
If the following command does not have a similar result (
Inventory_loc =/u01/app/oracle/oraInventory
Inst_group = oinstall
), You must create the group:
# More/etc/oraInst. loc

Create an oinstall Group
#/Usr/sbin/groupadd oinstall
========================================================== ===
Dba group, required. If you need to use different names, you must specify the names when installing Oracle,
You can specify different dba groups for different oracle installations:

Create a dba group
#/Usr/sbin/groupadd dba
========================================================== ===
Option group (Optional). This group is used to distinguish common dba users with the following permissions:

Create a quota Group
#/Usr/sbin/groupadd Partition
========================================================== ===
Create an oracle installer

Check whether the user exists. If the following command exists, a similar result is returned (
Uid = 440 (oracle) gid = 200 (oinstall) groups = 201 (dba), 202 (region)
) Returns:
# Id oracle

If the user does not exist, use the following command to create a user. If the user does not exist, replace the User Name:
#/Usr/sbin/useradd-g oinstall-G dba [, role] oracle

Set password:
# Passwd oracle

========================================================== ===

[Root @ ora10g RPMS] # more/etc/oraInst. loc
/Etc/oraInst. loc: No such file or directory
[Root @ ora10g RPMS] #/usr/sbin/groupadd oinstall
[Root @ ora10g RPMS] #/usr/sbin/groupadd dba
[Root @ ora10g RPMS] # groupadd quit
[Root @ ora10g RPMS] # id oracle
Id: oracle: No such user
[Root @ ora10g RPMS] # useradd-g oinstall-G dba, role oracle
[Root @ ora10g RPMS] # passwd oracle
Changing password for user oracle.
New UNIX password:
Bad password: it is based on a dictionary word
Retype new UNIX password:
Passwd: all authentication tokens updated successfully.

========================================================== ===

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.