Oracle10g static (slient) Installation document in RedHat

Source: Internet
Author: User
Environment: redhat Enterprise 4 and enterprise 5 have passed the test (Enterprise 5 needs to modify the system parameters) 10201_database_linux32 Part 1 configure the system environment before installation

Environment: redhat Enterprise 4 and enterprise 5 have passed the test (Enterprise 5 needs to modify the system parameters) 10201_database_linux32 Part 1 configure the system environment before installation

Environment: RedHat Enterprise 4 and enterprise 5 have passed the test (if Enterprise 5 is used, modify the system parameters)

10201_database_linux32

Part 1 configure the system environment before installation

Configure Linux for Oracle
Create a Linux Group and user account for installing and maintaining the Oracle database version 10g 2nd software. User accounts are called oracle, while groups are called oinstall and dba. Run the following command as the root user:
/Usr/sbin/groupadd oinstall
/Usr/sbin/groupadd dba
/Usr/sbin/useradd-m-g oinstall-G dba oracle


Set the password for the oracle account:
Passwd oracle
Ex:
# Passwd oracle
Changing password for user oracle.
New password:
Retype new password:
Passwd: all authentication tokens updated successfully.


Create directory
Run the following command as the root user:
Mkdir-p/u01/app/oracle
Chown-R oracle: oinstall/u01/app
Chmod-R 775/u01/app


Configure Linux Kernel Parameters
Log On As root and run the vi command to modify the/etc/sysctl. conf configuration file. Add or modify the following parameters:
Kernel. shmall = 2097152
Kernel. shmmax = 536870912
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 4194304
Net. core. wmem_default = 262144
Net. core. rmem_max = 4194304
Net. core. wmem_max = 262144
Save the modification and run the command.
#/Sbin/sysctl-p
Note that this step must be done. Otherwise, the modified file will not take effect.


Set Shell restrictions for oracle users
We recommend that you set a limit on the number of processes that can be used and the number of opened files for each Linux Account. To make these changes, run the following command as the root user:
Cat>/etc/security/limits. conf < Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
EOF

Cat>/etc/pam. d/login < Session required/lib/security/pam_limits.so
EOF
Modify the default configuration file of bash and ksh and the default logon script of cshell.
Cat>/etc/profile < If [\ $ USER = "oracle"]; then
If [\ $ SHELL = "/bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Umask 022
Fi
EOF

Cat>/etc/csh. login < If (\ $ USER = "oracle") then
Limit maxproc 16384
Limit descriptors 65536
Umask 022
Endif
EOF
Note that you can also use vi to directly open the file to be edited (I used vi to open the file and input it and save it)


Restrict oracle environment variables
Edit/home/oracle/. bash_profile.
Add the following lines:
Umask 022
ORACLE_BASE =/u01/app/oracle
ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/db_1
ORACLE_SID = orcl
PATH = $ ORACLE_HOME/bin: $ PATH
Export PATH
Export ORACLE_BASE ORACLE_HOME ORACLE_SID

Note that this depends on your oracle situation. I installed javascle10.2.0.1, so I set ORACLE_HOME as above.

Modify the system version (if you are a friend of rehat enterprise 5)

Vi/etc/redhat-release
Redhat-4
# Red Hat Enterprise Linux Server release 5 (Tikanga)

Because oracle only supports RHEL4, so you need to modify the version description, Red Hat Enterprise Linux Server release 5 (Tikanga) Comment out, add a line of redhat-4, of course, after oracle installation is complete, you need to modify it back. The redhat-4 must be the first line of the redhat-release file, otherwise a warning is reported during installation.

So far, linux system settings have been completed. For details, refer
10201_database_linux32.zipzip package's welcome.html contains detailed installation help in English. You can also refer to the following urls:
Install Oracle Database 10 GB on Linux x86

Install Oracle Database 11g 1st on Oracle Enterprise Linux 5 (32-bit and 64-bit)

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.