版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1.下载达梦相应版本这里要在linux上安装下载的是rhel7版本2.下载完成后上传到服务器SBSWdmTF^Si:rh7«;2川靠ME
口山谕升卫・m埼卡:23aMM口12MHp龙白1电叮ndXDd<A?Hxjft 3M州“Ji口«*昉加MBWi-RMN.前H.旭“tk22iTfif□i3。创建安装用户组及用户rootgroupadddinstalluseradd-gdinstall-m-d/home/dmdba/-s/bin/bashdmdba初始化密码passwddmdbaisshorterman8characterstokensupdatedsuccessfully.[rcot{placalhost[root(3"l-acaihost[r-ooteIocalhost(isshorterman8characterstokensupdatedsuccessfully.[rcot{placalhost[root(3"l-acaihost[r-ooteIocalhost(rootGlocalhostIr-oQt^localhost[raotijlocalhost[rootelocalhost[rootelocalriostI.rcoLglocairiostijmdbsifcundi±ndba(»dba.i±ndbadn»dbaB-bash:psaawd:commandnot[「口口七矶"dlh口5t/)#pmsswdChsnglrigpasswordforirserMewpassword:froatfaiacaltiast门拜[rciatiplocalhoEt/J#pa^EwdChangingpiasswordforuserNowpasisword:BADPASSlrtDRD:mepasswordRetypenewpass-word:passed:allauthentication[rootelacalho5t/I#[nootelocalhost/]事clearuseradd-gdinstall-m-d/home/dnidfa-a-s/bin/bashdmdba/F/P7]#groupadiJdinstall4.然后使用ulimit-a查看服务器配置参数[rcat^localhostdm]#ulimLt-acorefilesize(blocks.-c)gdatasegsize(kbytes.-djunlifiiitedschedulingpriorityf-e)Gfilesize(blocks,-f)unlimitedpendingsignals(-1)150L2maxlucked帽ry(kbytes/-1)64nisimemorysize(kbytes,-m)uniicnited(-n)-P)10248pipesize(512bytes.PDSIXmessagequeues(bytes,-q)819200real-timepriority(-r)Gstacksize(kbytes,-s)3192cputime(secondsfunlimitodmaxuserprocessesl-U)15012virtualiikmany(kbytes,7)uniimlterifilelocks(x)uniLfritfid4.然后配置概要文件rootvi/etc/profileexportPATH=$PATH:/sbinexportPS1='[\u@\h\w]\$'sourceetc/profileexportPATHJ5ERLUGMAMEMAILHDSTHAMEHISTSI2EHISTCONTRDLBydefault.蟠wantumasktcgetset.ThissetsitforloqinshellCurrentthresholdforsy5tpmrcserveduid/gidsis2G0ToucouldcheckuidgidreservationvalidityIn/usr/5harp/doc/5Qtup-+/uidgiclfileifI$UID-gt199]dt[1/usr/bin/idgn'"="'/usr/bin/id-un,dl];thenumaskGO2elseumask022fiforiin/etc/profile.d/*.5h:daif[-i"Si,b];thenifl誓{-Mi/1="$-*1];then."$i"else.”$i*>/dew/ndllfifidoneunsetiunset-fpaThnntngeulimit-n65536exportPATH-^PATH:/sbLn[exportP51=J[\u@\h由、$'5.创建安装程序临时目录mkdir-p/opt/tmpchown-Rdmdba:dinstall/opt/tmpchmod-R777/opt/tmp[root0localhost/]#[root@loccilh0!5t/]#[root@localhost/]#[root©localhost/]#nikdir-p/opt/tmp[roEat@localhost/J#|root^localhoist/)#chown-Rdmdlba:dinstall/opt/tmpch&wn:missingioperandafterJdmdba:dinstall/opt/tnipTry'chown--halp1formreinforination.[root@localhGist/]#[rootgUocalhust/J#chown-Rdmclba:dinstall/opt/tmp[raot@lncalhost/J#|root@localhost chmod-R的4/opt/tcrp/Iroot@locathcist/]#[root@localhini5t/]#[root@Toccilhost/]#(root@local.hD5t/]#,[raat@locaIhost/]#6.(root)采用挂载的方式挂载到了dm文件夹mount-oloop-tiso9660/home/dmdba/dm7_setup_rocky4.2_64_20160421.iso/dm
IroQt^locBlhost"■001IroQt^locBlhost"■001机89111巾1:|r^jct^lacalhosr|r-act^laealhosi/hoii»/d>fdbaj#7horrK>/dirdbaJ#/honw-/dirdbajfir£iun(dm7_sotup_rh763_snt_7„&-G.1422G19D312.iso/dn/mountingrciad-onlyIroot©lacalhosEXhornfi/dirdba]#IrooTcioc-dLhoicXhom«/dirdba]|#Ir'oot$laca"lhost/home/dirdha]#iid/&/Imountingrciad-onlyIroot©lacalhosEXhornfi/dirdba]#IrooTcioc-dLhoicXhom«/dirdba]|#Ir'oot$laca"lhost/home/dirdha]#iid/&/Irwtelflcalhosttotal52S319-r-xr-xr-x-1rootr-xr-xr-j(u1rootr-xr-xr-Xu1rwtr-sr-xr-Xu1rootr-«r-^r-x.1r&otroot 53^473729 H^rrwt 2266249 怕「rwt67674Harroot £68 %「root 973 War1202:24DmnstaU.fain1202:18DMLln9taU_BH.p«f1282:用&M_In5tall_zli-pdf12日2;L8reteaseenrtxt1202:13relea5P_zhrtjEt.使用dmdba用户,进行数据库安装[dmdba@localhost-]$exportDM_INSTALL_TMPDIR=/opt/tmp[dmdba@localhost/dm]$./DMInstall.bin-i 安装的时候会提示选择安装语言fdmdba@localhost--■]!$[dm-asaslocalhost■■]5cd/dm/[dmeUa®!ocalhottDfllnstfllI.bin DH_Inistflll_;h*pdfreLease_EliitxtPH_Tn5t*ll_en,pr!frele*5.?_en,tKt[dmSsaelDcalhcsst/dm)S./OMlInstall.bin-1Picasciscil4ctth«in^tallar1£1白n贽叫口4E/q:Englis-hC/cLChina5o)[E/*]:EExtrasInstallTiles「・,「・,―・ —WelcometoDMDBMSWh口thortoinputWh口thortoinputthcipathafFilo?(Y,y:Y口5N/nlNo)l¥PleaseinputihePathoTtheKq*Filo[dmrko^|:/hom&/dnidba/dm.kei*ThekeyfileisnotesistPpl?«?checkth?pathofthekeyfil?:Zhome/dmdte/dmtkeyWhethertoinputthepatliofKeyFile?(Y/y:YesN/nrMo)|Y/y]:YPleaseInputthePathoftheKeyFile[dm.keyh/home/diiKlba/ThekeyrileIsnotexists口lg邮电checkHiepathoTtheTllei/hcflie/dndte/WhethertoinputPleaseInputthePleaseinputtheWhochartaInputthepathofPathofthepathofkeyTh口pmBoTK叮File?(Y/y;Ye5N/nrHo}I.Y/y];¥KeyFile[dmskey]:fllE!KoyFilo?[Y/fYsN/nziNo)[r/y]rn口:、l宿人dE.k”文件,日上免有度力、选捋附r.选择安装时区,这里选择21WhethertoSetTheTlmeZone?(¥/y:¥esN/n:No)[Y/y]:VTimaZone:[1]:GTMI2=WestDateLineI2]:GTH-ll=Sanioa[3];GTI1-10=Hawaii14kGTH-e^Alaska[5];GTM-0B=Pacifit(AmericaandCanada)[6]:GTM-Q7=ArizonaI7]:GTrt-QS=Central(AmericaandCanada)E8J:GTM-05=East(AmericaandCanada)L9]:GTH-EH=At\antlc(An>ericaandCanada)[IG]:GTM-D3=Bra5llld[11]:GTM-02=MiddleAtlantic1121:GTH-01=AzoresL13]:EiTW=GrBCDwichMoaiTin*p[14J:GTl+t01=Saraje^o[15]:GTH*02=CairoU6]:GT舟117]:GTM4-D4-AbuDhabiL18J:6Tg药XlaniMdU9]:GTNh06=0akar[20]:GTWtDy^angKok,Hanoi[21]:GTh4t0B=China122]:GThH09=SeouTL231;GTrU10=GuainL24]:[JTl4tll=Solofnofl[25]:GTh4*12=FlJi[26]:GT^13=Mukual<jfa127]:GThR14=KiribatiPl(?35gSelecttheTimZon9191.选择安装的类型及安装软件的位置选择安装类型段安装位置可自定义InstallationType:ITypical2Server3Client4CustomPleaseInputthenuat>3「oftheInstallationType[1Typical]:2选择安装类型段安装位置可自定义PleaseInputtheinstiallpathl/home/dnidbe/dindbins]:/hDirie/clindbe/d")dbni5AvailableSpace:INPleaseConfirmtheinstallpath(/homeZdmdbB/dndbrns)?(Y/y:YesNZn:No)FY/y]:nPleaseInputtheinstallpath[/home/dmclba/dmdbans]:/dniinstallAvailableSpac6:32GPleaseConfirmtheinstallpath(/dminstall)?(Y/y^YesN/n;No}(Y/y].然后确认开始安装,安装完成后会提示让使用root用户来执行脚本InstallatianLocatiom:/dminstallRequireSpace:479MAv-ailableSpace;326VersionInTofmacionrExpire。源电:InstallationTypa:ServerConfirmtoInstall?(Y/y:YesN/n:Mo):Y2919-67-26D7;2'9:38[mro]Installing^TaultModule...2919«72697:20^38[IMF叮InstallingONDBMS„--2019-97-2607:20:42[INFO]InstallingserverModule-t.2019-97-26O7;20:44[INFO]installingdriversmoduleP,.2019-07-2607:29^46[INFO)InstallingmanualModule..„2919-07-2607:2'9:4&[INFO]InstallingserviceModule….2919-07-26町:西:4K[INFO)Hoveantlogfiletologdirectory,2019-97-26fl7i2e:4&[INFO]InstalledDMDBMScompletelymPleaseexecutetheconmandsbyroot;/d»lnstall/script/root/root_lnstallerPshEnd[cindb口国LcKnlh口、E/dm]1iexitlogout.使用root用户执行脚本完成安装[dndba@localhost/dB]$cxitlogout[root@lDcalhost/optJ#sh/dminstall/script/root/rDDt_installer.shHo小/dimlflstaiI/bin/drni_svc.confto/etcModifythefil&s'mcide口于DMServerCreatetheDmAPServiceserviceCreatedsyrnlink+「□■/etc/systemd/system/muIti-user,target-wants/DrnAPS-ervice.servic电to/U5r/1lb/5ystcffd/5ystem/DmAPServic©,servic®..Fiftishe-dtocreateservice(DmAPService)/optI#/apt]#/opt)#/optj#/opt]#“pt]鼻/opt]#/opty/opt]#StarttheDmAPServiceservice[rootelocalhost[roQt@lDL-alhast[rootigiciicalhost[nocit@lL口匚wlhcist[rootigloccilhost[roQt@localho5t[TOOtelOCcllhO5t/optI#/apt]#/opt)#/optj#/opt]#“pt]鼻/opt]#/opty/opt]#.安装完成后开始初始化数据库,也就是创建数据库[root^lccaliiost/dminstaIl/bin]#pwd/dminstall/bin[r口口七矶(Kdlhost/dminstall/bin^./dmiriiitInitdbV7..6.8.142-Build(2019.03.12-W3811)EWTdbtf&rsion:BxlEBgfiledpi,keynotfoundrus口defaultlicense!Licensewillexpireon2020-03-12inputsystemdir:/deinstall.inputdbname:ordinputpertnum;5326inputp己龚5ize(^fflF16,32):6inputextentsizedO,32):16Inputtimezone(-12:594+14:60):-+Bstringcasesensitive?(IVjesa[N]o:nwhichdiarsettouse?(61GB1SD30J?HUTF-8L21EUC-KR]);1lengthinchar?([Y]aa,[Nlo]:nenabledatabaseencrypt?([Y]es,[N]c):npag&checkmode?{fl/1/2):&inputelogpath:/opt/elogajto_ove™ritemode?(9/1/2):0logfilepath:/dminstall/orcl/crclOl.loglogfilepath:/dmin5tall/orcl/Drcl02,logwritetcdlr[/dmlnstall/orcl].createdmdatabasesuccess.2019-87-26Id:16:Q6IrootOlocaltiDst/dminstall/bin]#.然后找到dm.ini配置文件位置[rentalqcalhost/tininstall/arc!Jflltotal524712drwxr-xr-x.2drirfxr-xr-x.2-total524712drwxr-xr-x.2drirfxr-xr-x.2-rw-r--r--.1-rw-r--r--.1-rw-r--r---1drwxr-xr-Jt.2-rw-r--r--,1-rw-r--r--,1-rw-r--r--.1-rw-r--r--.1-rw-r--r--,1-rw-r--r--.1dmdbadinstaltdmdbadinstalLdmdbadinstalLdmdbadinstatldnidbadinstalLdmcjbadinstalIdindbadinstalldmdbadinstalldindbadinstalLdmdbadinstalldnidbadinstalLdmdbadinstall6Jul42JuT5120Jul44G23Jul633Jul6Jul13421772EJul263435456Jut263435456Jul134217726Jul479Jul10435760Jul26262626262626262626262610:15bak10:16ctIhakLB:16dn.ctl1G:15dm.ini*10:ISdm_serviceTprikey10:15HHAIM10:16MAIN.DBF10:15arclOl.tog10:15arc102.log16:16ROLL.DBFIB:15sqllag.inj10:16SYSTEM.DBF[rout^locdlho4t/dminstaH/arcl]#|[rout^locdlho4t/dminstaH/arcl]#|14.找到后记录下dm.ini位置路径,继续访问注册入口路径-rwxr-xr-x.1dmdbadinsta7l1391JjI2607:20ckiin&tdt.sh-rwxr-xr-x.1d(ndbadinstall6955Jul2697:20ndte.sh-rwxr-xr-x.1dmdbadinstall6960Jul2697:20cjnoRemenu.sh-rwxr-xr-xa1dmdbadinstatL6955Jul2607:20kdenenu.sh-rwxr-xr-xa1dmdbadinstall6965Jill2607:29kderacnu_suscFsh-rwxr-xr-x.1dmdbadinstall940Jul2607:20make呢sktepdir.shdrwxr-xr-x.2dnid匕石dinstall95JjI2507:20rootdrwxr-xr-x.5dmdbadrwxr-xr-x.5dmdbadinstall292Jul2610:16-rwxr-xr-xa1dmdbadinstallBfiaJul2607:20-riir/xr-xr-x.1dmdbadin5tall973Jul2S97:29drwxr-xr-x.6dnidbadinstall92Jul2607:20drwxr-xr-x-3dmdbaditistall1482607:20drwxr-xr-x.3dmdbadinstall79Jul2607:20-rvfxr-xr-xa1dmdbsdinstall2433Jul2607:201roat@lacalhast/dminstail]#cdscript/[root@lacaihast/dminstall/script]#].1total40OTClreleaseen.txtreleasezh,txtsamplessc『即tuninstalluninstall.sh[rflat101acaihast/deinstall/scMpt]妻pwd/dminstall/script[roat@lacathost/dmlnstall/scriptj#cdroot/|raat{31QCathast/dminstall/script/raot]#1Ltotal3&-rwxr-xr-x. 1 dmdba dinstall 19329 Jul 26 07:20 dmserviceinstiillcr,sh-rwxr-Jtr-x. 1 dmdbs dinstall 8531 Jul 26 07:20 dmserviceuninstaller.-rwxr-xr-x. 1 dmdba dinstall 572 Jul 26 fi7:20 roothistaller.vh[root@iocal.ho5t/dmlnstall/script/root]#15.如果不清楚命令用法可以通过-h来进行查询|rDot^TLocalhost/opt/drndbois/script/root]#IrQoWlocalhost/opt/dmdbms/script/root]-ff[root^localhost/opt/dmdbms/script/root]#,/dm_5€irvice_installg「1,5h-hUs&ge■: rvici&_installer,slh-tservice_type[-pservice_name_postfix)[-1[--ddcr_ini_file][-mopen[mount][-yctepend9nt_servic0]ordm_service_instalIer.sh[-sservicile_path]or 『寸1£电_±祚5taller■与h-htServiceType『include::dmimon>dmaprdenserver,dmwat匚h『denrwwrdmwmon.dmwatcher』dmmcnltor.dmc弋5」dmcss%[顺与抽邛r,pServiceNam@Postfix,isinvalidfordmimonTdmap,1 Thepathoftheinifile4isinvalidfordniimon,dmapBd 讣屯pathofdmdcr^inij.isvalidfordmserveronly,select.mSetthestartmode-nftheserv&r^include:openormountrisvalidforctns-er^erwlyPselect,ySetthedependentservice,thisparameterisvalid-Fordmservertdrnasmsvrinsy$t«mdserviceenvlreinvent,5Hi电pathoftheservicescript于11®.ifsetthisparameterandignoraoth&rparameterbuthHelp[rDDt®localtiast/opt/dmdbus/script/root]#16.使用命令的时候需要三个参数,如果少参数会有提示[r-oot@iloealhQst/opt/dnidbnte/scrIpt/rootW[root3localhost,^pt/dmdbms/scrlpt/root]#[roct@localhdst/apt/dmdbnE/5eript/ractJ#./dm_service_instaiIer.sh-tDRSERVERpleaseset-pparafnet^r —[root^localhost/opt/dmribms/script/rootJ#[root@localhiost/opt/dntdbmts/script/root]#[rootdlocalhostopt/diTKlbiTfcs/scrlpt/root]Zdm_service_instailer,5h-tDM6ERVER-p53口1电859set-1parameter[raot@ilacalhDst/dpt/dmdbms/亏匚「ipt/rantJ#[root3loealhCiSt/opt/dmdbmts/scrlpt/root./dni_servlce_instdller-sh-1DMSERVER-p5326-i/opt/dni7data/DAB€NG/dm,iniCreatedsymlinkfroim/etc/syetemd/systerVmulti-user-target.wan15/DfriService5326.5erviceto/usrAib/syst«!Md/systom/Wfisrvi)ce5326asarvlce.Finishedtolreatethe5e「iri匚2(DntService5326)[noot@ilocalhost[rootilocalhost[raot0ilocalhDst[rocit0localhost[rnot@ilocalhDEt[r-ootOloealhDst[root^localhast/opt/dnidbrrks/script/root/opt/dmdbins/scrlpt/root]#/apt/drwdbnE/5cript/rant]#,^opt/dmdbms/scrlpt/root]#/dpt/dmdbms/5匚「ipt/rent]#/opt/dnidbins/script/root]#/opt/dmdbnts/scrlpt/root]#[noot@ilocalhost[rootilocalhost[raot0ilocalhDst[rocit0localhost[rnot@ilocalhDEt[r-ootOloealhDst[root^localhast17.创建完成后,启动服务即可[root@Iocalhost/opt/dmdbnis/scrlpt/root]#[rootOlocalhcist/opt/drmibnis/script/roof]^5?rviceDmServixe5326startRedirect!rugto/bin/syst^nctlstartDm6'&rvice5326.service[root@localhost/opt/dmclbnis/script/root]#[rogt@localhost/opt/dntdbnis;Zscript/roDt]■#[rgatfflocalhost[root@localhDst/□pt/dn>dbnv5/5cript/roDt[rgatfflocalhost[root@localhDst/opt/dmdbnis/script/roDt]#serwiceDmfier^ice5326statusRedirectinigto/bin/syst^mctlstatusDno6ervice5326.service*DfflServiee5326.sarvIce-Darning口口七口口白g白Serwice(D0iSerwic®5326ji.Loaded:loaded(/usr/lib/systemd/system/DFnService5326^service;enabled;vendorpreset:disabled)Active:active(exited)sir\CQFri2019-97-2611:48:55EDI;15sagoProcess:12363EKecStart=/opt/dmdbiis/bin/DmService5326start{code=exitedKstatus=O/SUCCESS)MainPID;1Z3&3(code=exited.5tatkis=0/SUCCESS)JulJulJulJulJulJul262626JulJulJulJulJulJul26262626262611:48:4011:48:4911:48:4911:48:4911:48:5511:48:55Iocalii05t.Plocaldomainlocalhost.1oca!dornalnLocalhost.Localdomainlocalhost„IdcsIdomainLocath05t.iocaldomaifilocalliDst.localdornainsyst&mdll]:StartingDsmengDatabase5grvBaP.su[12383]:(tudwidbai)rootorinoneDniSGrvice5326[12363J:StartingDm5&r¥ice53a,.D(nService5326[12363]:Lastlog
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 粉扑收纳架市场发展前景分析及供需格局研究预测报告
- 口琴产业链招商引资的调研报告
- 天然气输送结构的建造行业相关项目经营管理报告
- 剪贴集产品供应链分析
- 大学或学院教育行业市场调研分析报告
- 宝石分级行业营销策略方案
- 厕所除臭剂产品供应链分析
- 石油专用泥浆泵项目运营指导方案
- 缝纫用剪刀项目运营指导方案
- 电动轨道照明设备项目运营指导方案
- 心肌炎护理查房课件
- 广告图像数码喷印材料市场
- 2024年公路交通运输技能考试-道路运输管理人员考试近5年真题集锦(频考类试题)带答案
- 2024年山东省临沂市沂南县招聘20人历年高频难、易错点500题模拟试题附带答案详解
- 2024年安徽芜湖事业单位联考高频难、易错点500题模拟试题附带答案详解
- 2024年秋季新人教版7年级上册生物课件 第2单元 第1章大单元整体设计
- 2025年高考语文专项复习 专题一 信息类文本阅读
- 2024年国家宪法日主题2024年“2·4”国家宪法日系列宣传活动方案
- 9.1增强安全意识课件-2024-2025学年统编版道德与法治七年级上册
- 环境监测仪器设备采购投标方案(技术标)
- 炸药及火工品生产过程中的安全防护技术考核试卷
评论
0/150
提交评论