Installing Oracle 10g under RHEL6

Source: Internet
Author: User
Tags dba

This seemingly missing 32-bit package, you try to install a 32-bit installation package try
Yum install libxt.i686 libxtst.i686 libxp.i686--setopt=protected_multilib=false
Yum installation Error error:protected Multilib versions:

Yum-y Install binutils compat-libstdc++-33 compat-libstdc++-33.i686 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc.i686 glibc-common glibc-devel glibc-devel.i686 glibc-headers ksh libaio libaio.i686 libaio-devel libaio-devel.i686 libgcc libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel make Sysstat

Configuration
#groupadd Oinstall
#groupadd DBA
#useradd-M-G oinstall-g dba Oracle

#mkdir-P/u01/app/oracle
#chown-R oracle:oinstall/u01
#chmod-R 775/u01

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
Net.core.rmem_default = 262144
Net.core.rmem_max = 262144
Net.core.wmem_default = 262144
Net.core.wmem_max = 262144

Oracle Soft Nproc 2047
Oracle Hard Nproc 16384
Oracle Soft Nofile 1024
Oracle Hard Nofile 65536

Tmp=/tmp
Tmpdir= $TMP
Oracle_base=/u01/app/oracle
Oracle_home= $ORACLE _base/product/10.2.0/db_1
Oracle_sid=orcl
Ld_library_path= $ORACLE _home/lib:/lib:/usr/lib
Path= $ORACLE _home/bin: $PATH
Export TMP TMPDIR oracle_base oracle_home oracle_sid ld_library_path PATH

Before encountering the successful installation of Oracle, I encountered a ORA-27125 error during startup, and also recorded in the blog ora-27125:unable to create shared memory segment and blog ORA-27125, Then follow the solution to do the following:

[[email protected] cdrom]# ID Oracle
uid=502 (Oracle) gid=502 (oinstall) groups=502 (Oinstall), 503 (DBA)

[Email protected] cdrom]# More/proc/sys/vm/hugetlb_shm_group

[Email protected] cdrom]# Echo 502 >/proc/sys/vm/hugetlb_shm_group

Then add the parameter Vm.hugetlb_shm_group = 502 in the/etc/sysctl.conf, you can not report the ORA-27125 error on the next boot.

Installing Oracle 10g under RHEL6

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.