这篇文章主要介绍了rhel5.5如何安装oracle11g asm,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。在64位rhel5.5上安装oracle11g,使用自动存储管理(asm)#cat
/etc/redhat-releaseRed 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.manine#cat
/etc/sysconfig/network HOSTNAME=nine.orcl.ma#hostname nine.orcl.ma#vi /etc/fstabtmpfs /dev/shm
tmpfs defaults,size=2g 0 0#mount -o remount
/dev/shm需要安装以下packagebinutils-2.17.50.0.6-6.el5
(x86_64)compat-libstdc++-33-3.2.3-61(x86_64)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)添加oracle,grid用户#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 oraclesoft nproc 2047 oracle hardnproc 16384 oracle softnofile 1024 oracle hardnofile 65536 oracle softstack 10240 oracle hardstack 32768 grid softnproc 2047 grid hardnproc 16384 grid softnofile 1024 grid hardnofile 65536 grid softstack 10240 grid hardstack 32768创建安装目录#mkdir -p /u01/app/11.2.0/grid#mkdir -p /u01/app/grid#mkd免费主机域名ir -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使用udev绑定磁盘#for i in b c d e ;doecho”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.rulesdone#start_udev编辑.bash_profile文件
#vi /home/oracle/.bash_profileexport ORACLE_BASE=/u01/app/oracleexport ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1export TEMP=/tmpexport TEPDIR=/tmpexport ORACLE_SID=nineexport PATH=$ORACLE_HOME/bin:$PATH#vi /home/grid/.bash_profileexport ORACLE_BASE=/u01/app/gridexport ORACLE_HOME=/u01/app/11.2.0/gridexport TEMP=/tmpexport TEPDIR=/tmpexport ORACLE_SID=+ASMexport PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:/sbin:/bin:/usr/sbin:/usr/bin感谢你能够认真阅读完这篇文章,希望小编分享的“rhel5.5如何安装oracle11g asm”这篇文章对大家有帮助,同时也希望大家多多支持云技术,关注云技术行业资讯频道,更多相关知识等着你来学习!
本篇内容介绍了“oracle根据操作资源的类型把锁分哪几类”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成! oracle在事务执行会自动对操作资源进行锁定,防止其…