Install oracle10G in RHAS4

Source: Internet
Author: User
Welcome to the Oracle community forum and interact with 2 million technical staff. Go to Step 1 and modify core parameters. run the following command: # vietcsysctl. add the following content to the end of the file: # ------------- Beginfromhere ------------------------------------ kernel. shmall2097152kernel. shmmax2

Welcome to the Oracle community forum and interact with 2 million technicians> go to step 1 and modify core parameters. run the following command: # vi/etc/sysctl. conf adds the following content to the end of the file: # ------------- Begin from here ------------------------------------ kernel. shmall = 2097152 kernel. shmmax = 2

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


1. Modify the core parameters. Execute the following command:

# Vi/etc/sysctl. conf

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 the #/sbin/sysctl-p command to make the change take effect.


1. Modify the core parameters. Execute the following command:

# Vi/etc/sysctl. conf

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 the #/sbin/sysctl-p command to make the change take effect.

2. Set Shell restrictions for Oracle users
In general, the following settings are also required to improve the nofile (maximum number of file descriptors that can be opened) and nproc (maximum number of processes available for a single user) of Oracle users)
# 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


3. Ensure that the following packages are correctly installed
Make-3.80-5
Openmotif-devel-2.2.3-6.RHEL4.2
Openmotif-2.2.3-6.RHEL4.2
Binutils-2.15.92.0.2-10.EL4
Setarch-1.6-1
Compat-db-4.1.25-9
Compat-gcc-32-c + +-3.2.3-47.3
Compat-libstdc ++-33-3.2.3-47.3
Compat-gcc-32-3.2.3-47.3
Note that these software packages are dependent on each other and must be sorted in sequence. Otherwise, errors that cannot be installed will be reported.

4. Create users and related groups and add Environment Variables
#/Usr/sbin/groupadd oinstall
#/Usr/sbin/groupadd dba
#/Usr/sbin/useradd-g oinstall-G dba oracle
# Su? Oracle
$ Cd
$ Vi. bash_profile
# Add the following content, and modify the path and ORACLE_SID value based on your actual situation.
Export ORACLE_BASE =/database/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


5. Create a directory and authorize
# Mkdir-p/database/oracle/product/10.1.0/db_1
# Chown-R oracle: oinstall/database/oracle
# Chmod-R 755/database/oracle

6. Start Installation
Extract cpio files first
# Cpio-idmv <ship. db. cpio
Oracle 10 Gb does not support RHAS4 installation. Therefore, when running the installation command, add the-ignoreSysPrereqs parameter to skip the check.

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.