Install Oracle10g reference manual on RHELAS3 (1)

Source: Internet
Author: User
Welcome to the Oracle community forum, and interact with 2 million technical staff. Go to RHELAS3 to install Oracle10g Reference Manual 1. Configure RedHatAS3 operating system version: RedHatEnterpriseLinuxASrelease3 (Taroon) Kernel2.4.21-4. ELonani686 install the operating system as usual. Remember to install and develop

Welcome to the Oracle community forum and interact with 2 million technical staff> go to rhel as 3 to install Oracle10g Reference Manual 1 to configure RedHat AS 3 operating system version: red Hat Enterprise Linux AS release 3 (Taroon) Kernel 2.4.21-4.EL on an i686 install the operating system AS usual. Remember to install and develop

Welcome to the Oracle community forum and interact with 2 million technical staff> enter

Install Oracle10g reference manual on rhel as 3
1. Configure RedHat AS 3
Operating system version: Red Hat Enterprise Linux AS release 3 (Taroon)
Kernel 2.4.21-4.EL on an i686
To install the operating system as usual, remember to install development tools (gcc and other necessary tools ).
1.1 check required hardware information
Table 1: required hardware information check:
Check content minimum value check command reference
Physical memory 512 M # grep MemTotal/proc/meminfo
Swap space 1.0 GB or 2 times memory size # grep SwapTotal/proc/meminfo
/Tmp space 400 MB # df-k/tmp
2.5 GB space required by the software # df-k (the larger the space, the better. If it is a formal system, you should make a detailed plan)
Database File 1.2 GB # df-k (the larger the space, the better. If it is a formal system, you should make a detailed plan)
After checking the preceding items, modify the core parameters and run the following command:
# Vi/etc/sysctl. conf
# Note: # indicates using the root user, and $ indicates using the oracle user for operations. The blue color behind the prompt
The command to be entered.
Add the following content to the end of the file:


# ----------- Begin from here --------------------------------------
Kernel. shmall = 2097152
Kernel. shmmax = 2147483648
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
# -------------- End here --------------------------------------------
After editing, save and execute
#/Sbin/sysctl-p
Command operation to make the changes take effect.
Note: The preceding kernel. shmmax/kernel. sem is a typical core parameter configuration.
Make appropriate changes to the actual environment.
The core parameters are described in Oracle (Oracle9i Installation Guide Release 2 (9.2.0.1.0)
UNIX Systems.
Http://download-west.oracle.com/doc...6167_01/toc.htm)
Then, check whether the above operations are correct:
#/Sbin/sysctl-a | grep sem
#/Sbin/sysctl-a | grep shm
#/Sbin/sysctl-a | grep file-max
#/Sbin/sysctl-a | grep ip_local_port_range
1.2 set Shell restrictions for Oracle users
In general, for performance considerations, the following settings are also required to improve
Off nofile (maximum number of file descriptors that can be opened) and nproc (maximum number of processes available for a single user)
# Vi/etc/security/limits. conf
# Add the following rows
* Soft nproc 2047
* Hard nproc 16384
* Soft nofile 1024
* Hard nofile 65536
Add the following row to the/etc/pam. d/login file:
Session required/lib/security/pam_limits.so
Edit the/etc/profile file and add the following parts:

If [$ USER = "oracle"]; then
If [$ SHELL = "/bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
Then run $ unlimit to verify.
1.3 check and install patches
To install Oracle on RHEL of this version, you must have several software packages. Make sure that the following rpm packages are installed:
Make-3.79
Binutils-2.11
Openmotif-2.2.2-16
Setarch-1.3-1
Compat-db-4.0.14.5
Compat-gcc-7.3-2.96.122
Compat-gcc-c ++-7.3-2.96.122
Compat-libstdc ++-7.3-2.96.122
Compat-libstdc ++ devel-7.3-2.96.122
# Rpm-qa | grep compat
# Output on my machine is as follows:
Compat-gcc-c ++-7.3-2.96.122
Compat-libstdc ++-7.3-2.96.122
Compat-libstdc ++ devel-7.3-2.96.122
Compat-glibc-7.x-2.2.4.32.5
Compat-db-4.0.14-5
Compat-gcc-7.3-2.96.122
# Rpm-qa | grep openmotif
Openmotif-devel-2.2.2-16
Openmotif-2.2.2-16
# Rpm-qa | grep setarch
Setarch-1.3-1
The content shown above is the result after the author has installed a specific RPM package. Generally, your system
The output result is different from this. If some packages are not installed, mount the system installation disc and find the specific software.
Package (mostly on the third disc), and then use the following command to install the corresponding package:
# Rpm-ivh compat... rpm

Note that these software packages are dependent on each other and must be sorted in sequence. Otherwise, it is reported that the software cannot be installed.
.
In addition, it is better to verify the gcc and glibc versions (required for gcc-3.2.3-2 or higher)
# Gcc-v
# Rpm-q glibc
1.4 create users and related groups
#/Usr/sbin/groupadd oinstall
#/Usr/sbin/groupadd dba
#/Usr/sbin/useradd-g oinstall-G dba oracle
If it is only for the purpose of testing, it is okay not to create an oinstall group. However, it is better to standardize it. If
Oracle users and dba groups already exist. make appropriate adjustments.
1.5 check and adjust Environment Variables
Log On As an oracle user
# Su? Oracle
$ Cd
$ Vi. bash_profile
# Add the following content. Your specific value will not be exactly the same as this.
Export ORACLE_BASE =/u/app/oracle
Export ORACLE_HOME = $ ORACLE_BASE/product/10.1.0/db_1
Export ORACLE_SID = TEST
Export PATH = $ PATH: $ HOME/bin: $ ORACLE_HOME/bin
Export LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/lib
Export LC_CTYPE = en_US.UTF-8
Then execute
$ Source. bash_profile
Make environment variables take effect./u/app/oracle and other directories should be established and appropriate authorization should be made.
Start Installation
Mount your installation disk. (I usually copy the file to a specific location in the system, such as/u/install ).
Line

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.