《区块链技术应用》课件-6-webase平台搭建(二)-Webase Platform Construction_第1页
《区块链技术应用》课件-6-webase平台搭建(二)-Webase Platform Construction_第2页
《区块链技术应用》课件-6-webase平台搭建(二)-Webase Platform Construction_第3页
《区块链技术应用》课件-6-webase平台搭建(二)-Webase Platform Construction_第4页
《区块链技术应用》课件-6-webase平台搭建(二)-Webase Platform Construction_第5页
已阅读5页,还剩34页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

ApplicationofBlockchainTechnologyMicroCourseName:WeBASEDeploymentandUse(II)Mainlecturer:GuoLina区块链技术应用微课程名称:WeBASE平台部署与使用(二)主讲人:郭丽娜21PARTCourseReview第一部分

课程回顾1.CourseReviewInthelastcourse,wehavecompletedthedeploymentoffiscobcosnodes,webasefront,andwebasenodemgrintheWeBASEplatform.Today,wewillcontinuetolearnthedeploymentprocessofWebaseSignandWebaseWeb,aswellastheinterfacepresentationandfunctionalsummaryoftheplatformafterdeployment.1.课程回顾在上一节课中,我们已完成WeBASE平台中的FISCOBCOS节点、WeBASE前置服务(Webase-Front)以及WeBASE节点管理服务(Webase-Node-Mgr)的部署工作。本节课,我们将继续学习WeBASE签名服务(Webase-Sign)与WeBASE管理平台(Webase-Web)的部署流程,以及部署完成后平台的界面展示与功能总结。2PARTWeBASEplatformdeployment第二部分WeBASE平台部署2.1.DeployingWebaseSignServiceWebaseSign,asasignatureservicesubsystem,ismainlyresponsibleformanagingpublicandprivatekeysandsigningdata.First,createthewebasesigndatabase:LogintotheMySQLdatabase.Afterloggingin,createadatabasenamedwebasesigninthedatabase.Aftercreation,wecancheckthedatabaselisttoensurethatthewebasesigndatabasehasbeensuccessfullycreated.2.1.DeployingWebaseSignService2.1部署WeBASE签名服务(Webase-Sign)WeBASE签名服务(Webase-Sign)作为签名服务子系统,主要负责管理公私钥以及对数据进行签名操作。第一步,创建webasesign数据库:登录MySQL数据库。登录后,在数据库中创建名为“webasesign”的数据库。创建完成后,可查看数据库列表,确认webasesign数据库已成功创建。2.1.DeployingWebaseSignServiceNext,modifytheconfiguration:Opentheconfigurationfileandlocatetheserviceport.Iftheportisalreadyoccupiedbyotherprograms,itneedstobemodifiedaccordingtotheactualsituation.Inaddition,theconfigurationfilealsoprovidesdetaileddatabaseconnectioninformation,includingdatabaseaddress,username,password,anddriverclass.Atthesametime,therearealsorelatedconfigurationsfortheconnectionpool,whichtogetherensureastableandefficientconnectionbetweentheserviceandthedatabase.Whenmodifyingtheconfiguration,itisimportanttocarefullycheckeachparametertoensurethatitmatchestheactualoperatingenvironment.2.1部署WeBASE签名服务(Webase-Sign)接下来,修改配置:打开配置文件,找到服务端口。若该端口已被其他程序占用,需根据实际情况进行修改。此外,配置文件中还提供了详细的数据库连接信息,包括数据库地址、用户名、密码以及驱动类。同时,还有连接池的相关配置,这些配置共同保障服务与数据库之间连接的稳定和高效。修改配置时,需仔细检查每一项参数,确保其与实际运行环境相符。2.1.DeployingWebaseSignServiceFinally,startandverify:Starttheserviceinthewebasesigndirectory.Duringtheservicestartupprocess,thesystemwilldisplaytheserviceportandprocessID,andpromptustoviewthestartupinformationthroughthelogfile.Bycheckingthelogs,wecanconfirmwhethertheservicewassuccessfullystarted.Onceaproblemoccursduringthestartupprocess,thelogfilewillrecordcriticalerrorinformation,whichcanbeusedtotroubleshoottheissue.最后,启动并验证:在WeBASE签名服务(Webase-Sign)的目录下启动服务。服务启动过程中,系统会显示服务端口和进程ID,并提示可通过日志文件查看启动信息。通过查看日志,可确认服务是否成功启动。若启动过程中出现问题,日志文件会记录关键错误信息,可据此进行问题排查。2.1部署WeBASE签名服务(Webase-Sign)2.2.DeployingWebaseWebWebaseWebisofgreatsignificanceforenterprisestoquicklydeployandoperatetheFISCOBCOSblockchainnetwork.Itprovidesacontractoperationinterfacethatfacilitatesdevelopersinwriting,testing,andoptimizingsmartcontracts,therebyacceleratingthedevelopmentcycle.Webase-Webcanalsomeettheregulatoryneedsoffinancialinstitutionsforblockchainsystems.Webase-WebItgreatlyreducesthethresholdfortheuseofblockchaintechnologyandimprovestheoperationalefficiencyofenterprises.Thecharacteristicsofwebaseweb2.2部署WeBASE管理平台(Webase-Web)WeBASE管理平台(Webase-Web)对于企业快速部署和运营FISCOBCOS区块链网络具有重要意义还能满足金融机构对区块链系统的监管需求。大幅降低了区块链技术的使用门槛,提升了企业的运营效率。Webase-Web它提供了合约操作界面,方便开发人员编写、测试和优化智能合约,从而缩短开发周期。webaseweb的特点2.2.DeployingWebaseWebFirst,modifynginx.conf:Thenginx.conffileistheconfigurationfilefortheNginxserver,whichdeterminestheaccesspathandrelatedconfigurationsforWebaseWeb.Inthisfile,theaddressofthebackendnodemanagementserviceisdefined,andthelisteningportandservernameofWebaseWebservicearespecified.Inaddition,theprocessinglogicforrequestshasbeenconfigured,includingtherootdirectoryofprojectfiles,defaultindexfiles,andthewayfilerequestsareprocessed.Whenmodifyingthenginx.conffile,itisimportanttoensuretheaccuracyoftheconfiguration,otherwiseitmaycausetheservicetobeinaccessible.2.2部署WeBASE管理平台(Webase-Web)第一步,修改nginx.conf配置文件:nginx.conf文件是Nginx服务器的配置文件,它决定了WeBASE管理平台(Webase-Web)的访问路径及相关配置。在此文件中,定义了后端节点管理服务的地址,并指定了WeBASE管理平台(Webase-Web)服务的监听端口和服务器名称。此外,还配置了请求的处理逻辑,包括项目文件的根目录、默认索引文件以及文件请求的处理方式。修改nginx.conf文件时,需确保配置的准确性,否则可能导致服务无法访问。2.2.DeployingWebaseWebNext,loadthenginx.confconfiguration:Beforereloadingtheconfiguration,weneedtofirstcheckandclosetherunningNginxprocess.Byusingspecificcommands,youcanviewNginxprocessinformation,findthemainprocessID,andthencloseit.Thisstepiscrucialbecauseiftheoldprocessisnotclosed,thenewconfigurationwillnottakeeffect.Viewpreviousprocessesandkillprocesses2.2部署WeBASE管理平台(Webase-Web)接下来,加载nginx.conf配置:重新加载配置前,需先检查并关闭正在运行的Nginx进程。通过执行特定命令,可查看Nginx进程信息,找到主进程ID,然后将其关闭。这一步至关重要,因为若未关闭旧进程,新配置将无法生效。进程查看与关闭命令行截图2.2.DeployingWebaseWebNext,loadthenginx.confconfiguration:TorecordtherunninginformationofNginxservice,weneedtocreatealogdirectoryinthespecifieddirectory.Logfilesareveryimportantfortroubleshootingproblemsthatoccurduringserviceoperation.Itisrecommendedthateveryonedevelopthehabitofregularlycheckinglogs.Checkthecreationlogfile2.2部署WeBASE管理平台(Webase-Web)接下来,加载nginx.conf配置:为记录Nginx服务的运行信息,需在指定目录下创建日志目录。日志文件对于排查服务运行过程中出现的问题至关重要,建议大家养成定期查看日志的习惯。日志目录创建命令行截图2.2.DeployingWebaseWebNext,loadthenginx.confconfiguration:Aftercompletingtheaboveoperations,wecanloadthemodifiednginx.confconfigurationfile.Aftersuccessfulloading,youcanchecktheprocessinformationagaintoconfirmthattheNginxservicehasstartedaccordingtothenewconfiguration.Loadconfiguration2.2部署WeBASE管理平台(Webase-Web)接下来,加载nginx.conf配置:完成上述操作后,即可加载修改后的nginx.conf配置文件。加载成功后,可再次查看进程信息,确认Nginx服务已根据新配置启动。配置加载与进程查看命令行截图3PARTWeBASEplatformdisplay第三部分WeBASE平台展示3.1WebaseplatformloginpageAfterdeployment,wecanaccesstheWebaseplatformthroughabrowser.ByenteringaspecificURLinthebrowseraddressbar,youcanentertheloginpage.Afterenteringtheaccount,password,andverificationcode,clicklogintoentertheplatformmaininterface.3.1WeBASE平台登录页面部署完成后,可通过浏览器访问WeBASE平台。在浏览器地址栏输入特定网址,即可进入登录页面。输入账号、密码及验证码后,点击“登录”,即可进入平台主界面。3.2.WebasePlatformMainPageInthemaininterface,wecanseenumerousfunctionalmodules.Thebigdatascreendisplayskeymonitoringindicators,suchastransactionvolume,numberofnodes,numberofblocks,andtransactionvolumeinthepast7days.Throughthisinformation,wecanquicklyunderstandtheoperatingstatusoftheblockchainnetwork.3.2WeBASE平台主页面在主界面中,可看到多个功能模块。大数据大屏展示了关键监控指标,如交易量、节点数量、区块数量以及近7天交易量。通过这些信息,可快速了解区块链网络的运行状态。3.2.WebasePlatformMainPageInaddition,modulessuchaschainmanagement,contractmanagement,privatekeymanagement,systemmanagement,andapplicationmanagementprovideuswithmanagementfunctionsfordifferentaspectsoftheblockchainnetwork.Forexample,inthecontractmanagementmodule,developerscaneasilydeployandcallsmartcontracts,andviewdetailedcontractinformation.a3.2WeBASE平台主页面此外,链

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论