In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces rhel5.5 how to install oracle11g asm, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Install oracle11g on 64-bit rhel5.5, using automatic Storage Management (asm)
# cat / etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
# vi / etc/sysconfig/network-scripts/ifcfg-eth0
IPADDR=192.168.11.100
NETMASK=255.255.255.0
# / etc/init.d/network restart
# vi / etc/hosts
192.168.11.100 nine.orcl.ma nine
# cat / etc/sysconfig/network
HOSTNAME=nine.orcl.ma
# hostname
Nine.orcl.ma
# vi / etc/fstab
Tmpfs / dev/shm tmpfs defaults,size=2g 0 0
# mount-o remount / dev/shm
The following package needs to be installed
Binutils-2.17.50.0.6-6.el5 (x86 / 64)
Compat-libstdc++-33-3.2.3-61 (x86x64)
Compat-libstdc++-33-3.2.3-61 (i386)
Elfutils-libelf-0.125-3.el5 (x86 / 64)
Elfutils-libelf-devel-0.125-3 (x86 / 64)
Gcc-4.1.2-42.el5 (x86 / 64)
Gcc-c++-4.1.2-42.el5 (x86 / 64)
Glibc-2.5-24 (x86 / 64)
Glibc-2.5-24 (i686)
Glibc-devel-2.5-24 (x86 / 64)
Glibc-devel-2.5-24 (i386)
Glibc-headers-2.5-24 (x86 / 64)
Ksh-20060214-1.7 (x86 / 64)
Libaio-0.3.106-3.2 (x86 / 64)
Libaio-0.3.106-3.2 (i386)
Libaio-devel-0.3.106-3.2 (x86 / 64)
Libaio-devel-0.3.106-3.2 (i386)
Libgcc-4.1.2-42.el5 (i386)
Libgcc-4.1.2-42.el5 (x86 / 64)
Libstdc++-4.1.2-42.el5 (x86 / 64)
Libstdc++-4.1.2-42.el5 (i386)
Libstdc++-devel-4.1.2-42 (x86 / 64)
Make-3.81-3.el5 (x86 / 64)
Sysstat-7.0.2-1 (x86 / 64)
Glibc-common-2.5-24 (x86 / 64)
Elfutils-libelf-develstatic-0.125-3 (x86 / 64)
Kernel-headers-2.6.18-92 (x86 / 64)
Libgomp-4.1.2-42 (x86 / 64)
UnixODBC-2.2.12 (x86 / 64)
UnixODBC-2.2.12 (i386)
UnixODBC-devel-2.2.12 (x86 / 64)
UnixODBC-devel-2.2.12 (i386)
Add oracle,grid user
# groupadd oinstall
# groupadd dba
# groupadd oper
# groupadd asmadmin
# groupadd asmdba
# groupadd asmoper
# useradd-g oinstall-G asmadmin,asmdba,asmoper,dba grid
# useradd-g oinstall-G dba,asmdba,oper oracle
# passwd grid
# passwd oracle
# id oracle
# id grid
# id nobody
# vi / etc/sysctl.conf
Kernel.shmmax = 1073741824
Kernel.shmall = 2097152
Kernel.shmmni = 4096
Kernel.sem = 250 32000 100 128
Fs.file-max = 6815744
Fs.aio-max-nr = 1048576
Net.ipv4.ip_local_port_range = 9000 65500
Net.core.rmem_default = 262144
Net.core.rmem_max = 4194304
Net.core.wmem_default = 262144
Net.core.wmem_max = 1048576
# sysctl-p
# vi / etc/security/limits.conf
Oracle soft nproc 2047
Oracle hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
Oracle soft stack 10240
Oracle hard stack 32768
Grid soft nproc 2047
Grid hard nproc 16384
Grid soft nofile 1024
Grid hard nofile 65536
Grid soft stack 10240
Grid hard stack 32768
Create an installation directory
# mkdir-p / u01/app/11.2.0/grid
# mkdir-p / u01/app/grid
# mkdir-p / u01/app/oracle
# chown grid:oinstall / u01/app/11.2.0/grid
# chown grid:oinstall / u01/app/grid
# chown oracle:oinstall / u01/app/oracle
# chmod-R 775 / u01 /
# chown-R grid:oinstall / U01
Bind disks using udev
# for i in b c d e
Do
Echo "KERNEL==\" sd*\ ", BUS==\" scsi\ ", PROGRAM==\" / sbin/scsi_id-g-u-s% p\ ", RESULT==\" `/ sbin/scsi_id-g-u-s / block/sd$ i`\ ", NAME=\" sd$i\ ", OWNER=\" oracle\ ", GROUP=\" oinstall\ ", MODE=\" 0660\ "> > / etc/udev/rules.d/91-oracle-asmdevices.rules
Done
# start_udev
Edit the .bash _ profile file
# vi / home/oracle/.bash_profile
Export ORACLE_BASE=/u01/app/oracle
Export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
Export TEMP=/tmp
Export TEPDIR=/tmp
Export ORACLE_SID=nine
Export PATH=$ORACLE_HOME/bin:$PATH
# vi / home/grid/.bash_profile
Export ORACLE_BASE=/u01/app/grid
Export ORACLE_HOME=/u01/app/11.2.0/grid
Export TEMP=/tmp
Export TEPDIR=/tmp
Export ORACLE_SID=+ASM
Export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:/sbin:/bin:/usr/sbin:/usr/bin
Thank you for reading this article carefully. I hope the article "how to install rhel5.5 oracle11g asm" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.