《Oracle11gRAC在RHEL62(x8664)上成功安装.docx》由会员分享,可在线阅读,更多相关《Oracle11gRAC在RHEL62(x8664)上成功安装.docx(27页珍藏版)》请在第壹文秘上搜索。
1、Orac1.eIIgRAC实施文档1) .HardvareReqUIref1.MmtSA1.1.hardwareRequireaentsisOK!2)YouarcfreetochangetheIPaddressestosuityournetwork,butrc三c三bcrtoSIayconsistentwiththoseadjustmentsthroughouttherestoftheartic1.e.Oncethebasicinsta1.1.ationisco11p1.ete.insta1.1thefo1.1.owingpackageswhi1.stIoggedinasthorootuser
2、.ThisineIudesthe64Ti;uni32-biversionsof$oaepackages.cdnedia/GHOST/Packages*注意nodiaGHOST/Padgos为RHE1.安装目录,根据实际情况进行调整.有些包落要从网上下栽.rpn-Uvhbinuti1.s-2.rxn-UvhCOmPaITibStdC+-33*rpm-UvhC1.futi1.s-Iibe1.f-O.*rpm-Uvhe1.futi1.s-1.ibe1.f-deve1.-*rpn-1.Ivhgcc-j1.*rxn-Uvhgcc-c+-4.rpm-Uvh1.ibc-2.rpc-headers-2.rpm
3、TJvhksh-2*rpn-UvhIibiiio-O.*rprtrange=900065500net.core.rmemdefau1.t-262144net.core.rmemmax1194304net.core.wmemdefau1.t=26214.core.叫Oen1.maX=IOI8586Runthefo1.1.owingCOeMBandtoChanXCthecurrentkerne1.parameters.sbinsysct1.-PAddthefo1.1.owing1.inestothe*etcsecurity/1imits.conf*fi1.o.orac1.esoftnproc204
4、7orac1.ehardnproc16384orac1.esoftnofi1.c1024orac1ehardnofiIe65536Addthefo1.1.owing1.inestothe*etcpa.d/1.ogin,fi1.e,ifitdoesnota1.readyexist.sessionrequiredpamIimits.soDisab1.esecureIinuxbyeditingthectcse1.inux/config,fi1.e,makingsuretheSE1.1NUXf1.agissetasfo1.1.ows.SE1.INUX二disab1.edA1.ternative1.y,
5、thisa1.terationcanbedoneusingtheGUItoo1.(SystemAdministrationSecurity1.eVeIandFirewa1.1.).C1.ickontheSE1.inuxtabanddisab1.ethefeature.EitherconfigureNTP,ormakesureitisnotconfiguredsotheOrac1.eC1.usterTimeSynchronizationService(ctssd)cansynchronizethetimesoftheRACnodes.Inthiscasewevi1.1.deconfigureNT
6、P.# servicentpdstopShuttingdownntpd:tOK# Chkconfigntpdoff# mvetcntp.confetcntp.conf,orig# r三var11nntpd.pidIfyouareusingNTP.youmustaddther-x*optionintothefo1.1.owing1ineinthe*/etc/sysconfig/ntpd,fi1.e.OPTIONS=-untp:ntp-pvarrunntpd.pidwThenrestartNTP.servicentpdrestartCreatethedirectoriesinwhichtheOra
7、c1.esoftwareIri1.1.beinsta1.1.ed.mkdir-pu1.app1.i.2.O/gridmkdir-Pu01apporac1.eproduct1.1.2.0/db1chown-Rorac1.e:OinstaI1.u1.chmod-R775u1.1.oginastheorac1.euserandaddthefo1.1.owing1inesattheendofthe.bashpro.# 此文件的文件格式很重要.最好copy用他效劳器文件,进行修改.下面为灯id用户下的.bushpm根据实际情况而定# .bash_profiIe# Getthea1.iasesandfun
8、ctionsif-fbashrc:then/.bashrcfi#UserspecificenvironmentandstartupprogramsPATH=SPATH:$1K)ME/binexportPATHa1.ias1.s=t1.s-FA*0RAC1.E-SID=ASM2:exportORAC1.E_SIDORAC1.E.B1.SE=O1appgrid:exportORAC1.E_BASEORAC1.EHOME=ZuO1app11.2.O/grid:exportORRCU1.HoYEORAC1.Ef,ATtt=zzu01apporac1.ecom11onorac1.e/sq1.;expor
9、tORAC1.EPAIHORAC1.ETERM=Xterm;exportORAC1.ETERMN1.S_DRTE;ORMAT=DthMON-YYYYHH24:MI:SS;exportN1.S_DATEJoRMATTNS)MIN=50RAC1.EH0MEnetworkain:exportTNSADMINORA_N1.S1.1.=$ORAC1.EHOME/n1.s/data:exportORAN1.S1.IN1.S1.ANG=AuER1.CAN.AMERICA.ZHS16GBK:exportN1.S_1.ANGPATH=.:SJAVAHOME)i11:S(PATH):$H0ME/bin:ORAC1.EHOMEZbinPATII=SPATH:/usr/bin:binusrbinX1.1.:usr1.oca1.binPAIU=SPATH)ju01appco三monorac1.ebinexportPATH1.D_1.IBRARjPATH=$0RAC1.EK)ME/1ib1.D1.IBRARYPATH三S1.D1.IBRARYPATH):SORC1.EHOUE/oraca/1ib1.D_1.IBRARY_PATH=5i1.D_1.IBRARY_PABI):11b:usr1.ib:usr1.oca1.1.ibexport1.D_1.IB