




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
概 编写目 适用范 术语解 安装环 软件要 应用平台介 服务模 系统服 部署模 安装流程 安装前准 字符集设 设 安装包安装应用引 系统初始 安装应用平台 准备环 安 配置数 启动服务 VMWARE模板制 KVM模板制 查看应用平台页 附 SkyForm3.0PAASPAASSkyForm3.0具有独立IP地址的一台主机(服务器数据库安1.paas1.CentOS1.IP板(64)42.Basic核3.2.SSHnodeCentOS(64)41Basic核2.SSH1.paasCentOS板(64)422.Basic核3.2.SSHnode5.1.6Linux代码运行在TOMCAT容器中。FLEX主要用来做界面展示和用户交互。应用GUI运行在SkyFormAdminSFSDKApacheHTTPHTTPDHTTPSkyFormAdmin特殊的要求。应用引擎和SkyFormAdmin服务分开部署,即是“独立部署”模式。无论是“集成部署”还是“独立部署指的都是应用引擎这个服务。应用GUI都和SkyForm资源管理平台部署在同一个TOMCAT容器中。SFSDK也都安装在VM模板中。SkyFormAdminSkyFormAdminn OS版RHEL-6.2-RedhatEnterpriseLinux6.2TheCommunityEnterpriseOperatingSystemISO。 在命令行下执行:vi修改后重启命令:source80-j80-j-A-AINPUT-mstate--stateNEW-pudp--dport3306-j-AINPUT-mstate--stateNEW-ptcp--dport3306-jserviceiptables 安装包SELinux/etc/selinux/configSELINUXdisabled(详细命[root@localhost[root@localhost~]#vi##disabled-Nois[root@localhost~]#[root@localhost~]#Broadcastmessagefromroot@localhost.local(/dev/pts/2)at15:49...ThesystemisgoingdownforrebootYUM1:##yumcleanmetadata#yummakecache2.[root@localhost~]#cd/etc/yum.repos.d/[root@localhostyum.repos.d]#ls[root@localhost~]#cd/etc/yum.repos.d/[root@localhostyum.repos.d]#lsRedhat.reporhel6.reporhel-source.repo[root@localhostyum.repos.d]#mkdir[root@localhostyum.repos.d]#mv*.repobackup/[root@localhostyum.repos.d]#yumcleanmetadata -basedrepositoriesCleaning0metadatafiles files0metadatafiles[root@localhostyum.repos.d]#yumLoadedplugins:product-id,security,subscription-manager -basedrepositories.MetadataCache用户可以使用任意的工具,如FTP,SCP,HTTP等工具,将安装包到服务器上,假设 [root@localhost[root@localhostyum.repos.d]#cd/root[root@localhost~]#cdappengine/[root@localhost[root@localhostappengine]#ls3.解压安装包,并给运行3.解压安装包,并给运行 [root@localhostappengine]#tarxvfappengine-3.x.65639.tar.gz[root@localhostappengine]#cdappengine-3.x.65639[root@localhostappengine-3.x.65639]#lsAppengine.tar.gzcommon.tar.gzdepsinstall.shREADMEscripts[root@localhostappengine-3.x.65639]# od+xinstall.sh[root@localhostappengine-3.x.65639]#P)[root@localhostappengine-3.x.65639]#P)InstallInstance[P]aaSA)Install[A]pacheD)Install[D]atabaseU)[U]ninstallthePaaSQ)>TheinstallationrequiressomedependenciesfromOperationSystemDistributionPleasespecifytheISOlocation注:AppengineVM(CDROMinstallcoremoduleinstallcoremoduledexmlinstallskyformpaasservicepleaseinputwhichLANGUAGEyouareprefer[en_US 如果,不 grantthrgrantthrexecutionrightinstallskyformpaasserviceappenginesuccessfully.registeringappengineassystemservice...pleaseinputIPaddressofthenicyou输入本地IP后,回测,安装将自动安装需要的一切依赖服务和程序。中间会有大Nowyouhaveskyformpaasserviceinstalled.youcanstarttheserviceusingfollowingcommand:#serviceappenginepleaseusingfollowingcommandtoloadappengineenvironmentseachtimeyoulogonthesystem.#source/opt/appengine/bin/setenv.shafterthat,youcanenjoythepowerofpaas.[root@localhostappengine-3.x.65639]#P)Install[root@localhostappengine-3.x.65639]#P)InstallInstance[P]aaSD)Install[D]atabaseA)Install[A]pacheU)[U]ninstallthePaaSQ)>ApacheHTTPinstallinstallapacheservicesuccessfully.####PLEASEINPUTSKYFORMCONFIGURATIONMANUALLY.以上信息分别为SkyFormAdmin数据库的IP、名称、用户名和;名称、用户名和 值为skycloud,其他字段的值保持默认即可。[root@localhostappengine-3.x.65639]#…[root@localhostappengine-3.x.65639]#…P)InstallInstance[P]aaSA)Install[A]pacheD)Install[D]atabaseU)[U]ninstallthePaaSQ)>SkyFormAdmininstallinginstallingskyformpaasdatabaseuseskyformdatabasetostoreapplicationinformation[y/n]?yinherittheSkyFormManagementSystemdatabasesettingupdatingapplicationenginedatabasesetting...updatedatabasesettinginitdbwillcreatetablesforappengineindatabasespecifiedinappengine.conffilecreatetablessuccessfully.dothepostdatabaseworks...dothepostdatabaseworksinstallapplicationenginedatabasesuccessfully.[root@localhost[root@localhost~]#cd/opt/skyform/repos/packages/[root@localhostpackages]#ls[root@localhostpackages]#vi#======================cloud[root@localhostpackages]#vi#======================cloudstackadapterpotions=============================cloudstack_host=cloudstack_apikey=cloudstack_secret_key=cloudstack_username=cloudstack_password=cloudstack_option_account=admin#adminid=#te_filter=cloudstack_option_zoneid=[root@localhost[root@localhostpackages]#vi#======================cloudstackadapterpotions=============================cloudstack_host=cloudstack_apikey=cloudstack_secret_key=cloudstack_username=admincloudstack_password=passwordcloudstack_option_account=admin#adminid=#te_filter=cloudstack_option_zoneid=再次编辑/opt/appengine/conf/appengine.confmaxsizemaxsize1Glogdir=/var/log/appenginelogname=appengine.logmaxsize=10Mmaxbackup=10loglevel= [root@localhost~]#vi disabled-NoSELinux is[root@localhost~]#vi disabled-NoSELinux isloaded.[root@localhost[root@localhost~]#Broadcastmessagefromroot@localhost.local(/dev/pts/2)at15:49...Thesystemisgoingdownforreboot YUM[root@localhost~]#mkdir–p[root@localhost~]#mkdir–p[root@localhost~]#mount/root/CentOS-6.3-x86_64-dvd1.iso/tmp/iso–oloop,ro[root@localhost~]#yumcleanmetadata[root@localhost~]#yum[root@localhost~]#vi[root@localhost[root@localhost~]#mkdir–p[root@localhost~]#mount-tiso9660/dev/cdrom/tmp/iso[root@localhost~]#yumcleanmetadata[root@localhost~]#yum[root@localhost~]#viMySQL[root@appengine-qayum.repos.d]#yuminstallmysqlmysql-server- LoadedLoadedplugins:LoadingmirrorspeedsfromcachedhostfileSettingupInstallProcessResolving-->Runningtransaction>Packagemysql.x86_640:5.1.61-4.el6willbe…mysql.x86_640:5.1.61-mysql-server.x86_640:5.1.61-DependencyInstalled:perl.x86_644:5.10.1-127.el6perl-Module-Pluggable.x86_641:3.90-127.el6perl-Pod-Escapes.x86_641:1.04-127.el6perl-Pod-Simple.x86_641:3.13-127.el6perl-libs.x86_644:5.10.1-127.el6perl-version.x86_643:0.77-127.el6[root@localhostyum.repos.d]#servicemysqld [root@appengine-qayum.repos.d]#eto[root@appengine-qayum.repos.d]#etotheMySQLmonitor.Commandsendwith;orYourMySQLconnectionidisServerversion:5.1.61SourceCopyright(c)2000,2011,Oracleand/oritsaffiliates.AllOracleisaregisteredtrademarkofOracleCorporationand/oritsaffiliates.Othernamesmaybetrademarksoftheirrespective.Type'help;'or'\h'forhelp.Type'\c'toclearthecurrentinputmysql>show | |information_schema| | +++3rowsinset(0.00[root@appengine-qayum.repos.d]#[root@appengine-qayum.repos.d]#chkconfigmysqldNFS[root@appengine-qayum.repos.d]#yuminstallnfs-utils–y[root@appengine-qayum.repos.d]#chkconfignfson[root@appengine-qayum.repos.d]#servicerpcbind[root@appengine-qayum.repos.d]#servicenfsStartingNFS ]StartingNFS ]StartingNFS ]2.NFS[root@appengine-qayum.repos.d]#showmount-eExportlistfor6.2.5. 设安装包在 [root@localhost[root@localhostyum.repos.d]#cd/root[root@localhost~]#cdappengine/[root@localhostappengine]#ls 3.3. [root@localhostappengine]#tarxvfappengine-3.x.65639.tar.gz[root@localhostappengine]#cdappengine-3.x.65639[root@localhostappengine-3.x.65639]#lsAppengine.tar.gzcommon.tar.gzdepsinstall.shREADMEscripts[root@localhostappengine-3.x.65639]# od+xinstall.sh[root@localhostappengine-3.x.65639]#P)[root@localhostappengine-3.x.65639]#P)InstallInstance[P]aaSA)Install[A]pacheD)Install[D]atabaseU)[U]ninstallthePaaSQ)>TheinstallationrequiressomedependenciesfromOperationSystemDistributionPleasespecifytheISOlocation注:AppengineVM(CDROMinstallcoremoduleinstallcoremoduledexmlinstallskyformpaasservicepleaseinputwhichLANGUAGEyouareprefer[en_US grantthrgrantthrexecutionrightinstallskyformpaasserviceappenginesuccessfully.registeringappengineassystemservice...pleaseinputIPaddressofthenicyou输入本地IP后,回测,安装将自动安装需要的一切依赖服务和程序。中间会有大量 Nowyouhaveskyformpaasserviceinstalled.youcanstarttheserviceusingfollowingcommand:##serviceappenginepleaseusingfollowingcommandtoloadappengineenvironmentseachtimeyoulogonthesystem.#source/opt/appengine/bin/setenv.shafterthat,youcanenjoythepowerofpaas.[root@localhostappengine-3.x.65639]#P)Install[root@localhostappengine-3.x.65639]#P)InstallInstance[P]aaSD)Install[D]atabaseA)Install[A]pacheU)[U]ninstallthePaaSQ)>ApacheHTTPinstallinstallapacheservicesuccessfully.[root@appengine-qaappengine]#[root@appengine-qaappengine]#…A)Install[A]pacheP)InstallInstance[P]aaSD)Install[D]atabaseU)[U]ninstallthePaaSQ)>installingskyformpaasdatabaseuseskyformdatabasetostoreapplicationinformation[y/n]?database(skycloud):user(skycloud):password(skycloud):如果使用数据库服务,则在上面的server(localhost):后面输入服务器IPhostname。localhost,本地数据AppEngine[root@localhost[root@localhost~]#cd/opt/skyform/repos/packages[root@localhostpackages]#ls[root@appengine-qaappengine][root@appengine-qaappengine]#vi/opt/skyform/repos/packages/upload*(rw,async,no_root_squash)[root@appengine-qaappengine]#servicenfsrestart[root@appengine-qaappengine]#showmount-elocalhostExportlistfor [root@localhost[root@localhostpackages]#vi#======================cloudstackadapterpotions=============================cloudstack_host=cloudstack_apikey=cloudstack_secret_key=cloudstack_username=cloudstack_password=cloudstack_option_account=admin#adminid=#te_filter=cloudstack_option_zoneid=[root@localhost[root@localhostpackages]#vi#======================cloudstackadapterpotions=============================cloudstack_host=cloudstack_apikey=cloudstack_secret_key=cloudstack_username=admincloudstack_password=passwordcloudstack_option_account=admin#adminid=#te_filter=cloudstack_option_zoneid=用户可以编辑/opt/appengine/conf/appengine.confmaxsizemaxsize1G[root@localhost[root@localhostpackages]#vilogdir=/var/log/appenginelogname=appengine.logmaxsize=10Mmaxbackup=10loglevel=AppEngine[root@localhostpackages]#serviceappengine[root@localhostpackages]#serviceappenginestartStartingappengine:[OK][root@localhostpackages]#servicehttpdservice[root@localhostpackages]#servicehttpdhttpd:[OKStartinghttpd:[OK3.Appeng[root@localhostpackages]#ps-ef|grepappengine 1010:14? 00:00:00python/opt/appengine/bin/appengine-a 34182638010:16pts/0 00:00:00grepappengine[root@localhostpackages]#netstat-anp|grep3346 0 0 3[184393[18427 -[root@localhostpackages]#[root@localhostpackages]#source[root@localhostpaas]#ae-repo-hae-repo[-h|-[-i[-n<-fISOPATH>|-d<ISOID>|-[-p[-n<-fPKGPATH>|-d<PKGNAME>|-[-t[--sync|-l|-d[-r[-n<--osOSNAME>|-d<REPONAME>|--ipt--ISOmanagementmode.Usercanupload/delete/listinApplicationsoftwaremanagementMachinetemanagementmode.ThetecouldVM teorPhysicalMachine -r-- YUMrepositorymanagement-s--storageTherepositorystoragemanagementActions-nl--Create/Register/Uploadnewitemsintorepository.behaviordependsontheListtheitemsintherepository.Whatwillbedependsdependsonthecurrent-d--delete Delete/Remove/Detachsomethingfromtherepository.Whatwillbedeleteddependsonthe-h,i,p,r,t,s,n,l,--showthishelpmessageandOSISOrepositorySoftwarerepositoryYUMrepositoryteApplicationrepositorycreatenew<ISO,Software,YUM,te>listaction.list<ISO,Software,YUM,repository-dDELETE,--delete<ISO,Software,YUM,Tem te>informationfrom-fFILE,--file=FILEAbsolutepathofonefile.itcouldbeISOimagesoftware-- NFSservicelocation.itshouldbeinManullysynctheVMteinformationshortnameofOperatingSystem.Current[centos|rhel|epel|onwhichport,theappenginewhereisappengineae-repoil查询ISOae-repoinfXXXX.isoae-repoidISOIDISO;ISO,操作命令如下:[root@localhostpackages]#[root@localhostpackages]#source/opt/appengine/bin/setenv.sh[root@localhostpackages]#ae-repo-i-n-f/root/CentOS-6.3-x86_64-bin-CentOS-6.3,则需选择“12PleasePleasechoosetheoperationsystemforyouReal::centos-5.6-:centos-5.6-:centos-6.0-:centos-6.0-VMte=>AmbariHadoopManagement=>CentOS5.6(32-=>CentOS5.6(64-=>CentOS6.0(32-=>CentOS6.0(64-:centos-6.1- =>CentOS6.1(32-:centos-6.1- =>CentOS6.1(64-:centos-6.2- =>CentOS6.2(32-:centos-6.2- =>CentOS6.2(64-:epel-6- =>EctraPackagesforEnterprise6=>OtherCentOS(32-=>OtherCentOS(64-=>RetHatEnterprise=>RetHatEnterprise=>RetHatEnterprise=>RetHatEnterprise=>RetHatEnterprise=>RetHatEnterprise=>WindowsXP(32-=>WindowsXP(64-=>WindowsXPSP2(64-=>WindowsXPSP3(32-yourchoice:12uploadingISOfileISOhavebeenuploadedintoappengine [root@localhost[root@localhostlocalhost-pp-bponent/-INFO:registerapplicationcomponentapache.xmlINFO:registerapplicationcomponentmysql.xmlsuccessfully.INFO:registerapplicationcomponenttomcat.xmlsuccessfully.INFO:registerapplicationcomponentnetwork.xmlsuccessfully.INFO:registerapplicationcomponentgroup.xmlsuccessfully.INFO:registerapplicationcomponentnginx.xmlINFO:registerapplicationcomponentphp.xmlsuccessfully.INFO:INFO:registerapplicationcomponentphp.xmlsuccessfully.INFO:registerapplicationcomponentlamp.xmlsuccessfully.INFO:registerapplicationcomponentcentos6.1.xmlsuccessfully.INFO:registerapplicationcomponentcentos6.2.xmlsuccessfully.INFO:registerapplicationcomponentcentos6.3.xmlsuccessfully.INFO:registerapplicationcomponentredhat6.1.xmlsuccessfully.INFO:registerapplicationcomponentredhat6.2.xmlsuccessfully.INFO:registerapplicationcomponentredhat6.3.xmlsuccessfully.INFO:registerapplicationcomponentemr-mgmt.xmlsuccessfully.INFO:registerapplicationcomponentemr-slave.xmlsuccessfully.INFO:registerapplicationcomponentemr-master.xmlsuccessfully.(1[root@localhostpackages]#mysql-uskycloud-pskycloud[root@localhostpackages]#mysql-uskycloud-pskycloud-Dskycloud-e"selectcid,namefrom ++|+|||||||||||c-|||||emr-hadoop-+|+|ApacheWEB|MySQLDatabase|TomcatApplication||AutoScale|NginxWEB|PHPand|LinuxApachePHPand|CentOS|CentOS|CentOS|RedHatEnterpriseLinux|RedHatEnterpriseLinux|RedHatEnterpriseLinux+|+|||||||||||||||SkyFormHadoopClusterManagementNode|SkyFormHadoopSlave|emr-hadoop-master|SkyFormHadoopMaster ||+[root@localhostpackages]#mysql-h2[root@localhostpackages]#mysql-h2-uskycloud-pskycloud-Dskycloud-e"selectcid,namefrom ++|+|||||||||||c-|||||emr-hadoop-+|+|ApacheWEB|MySQLDatabase|TomcatApplication||AutoScale|NginxWEB|PHPand|LinuxApachePHPand|CentOS|CentOS|CentOS|RedHatEnterpriseLinux|RedHatEnterpriseLinux|RedHatEnterpriseLinux+|+|||||||||||||||SkyFormHadoopClusterManagementNode|SkyFormHadoopSlave|emr-hadoop-master|SkyFormHadoopMaster ||+package中的所有软件包拷贝至/opt/skyform/repos/packages/upload[root@localhost[root@localhost~]#cd[root@localhostpackages]#apache-httpd2.0-linux.tar.gzjdk-7u2-linux-x86_64.tar.gzp.regj2ee-paas-在应用平台appengine(mysql应用为例)appengine时选择的语言自动上传对应语言的文件[root@localhostpackages]#[root@localhostpackages]#source/opt/appengine/bin/setenv.sh[root@localhostpaas]#ae-app-i/opt/appengine/share/application/mysql.xml[root@localhostpackages]#source/opt/appengine/bin/setenv.sh[root@localhostpackages]#source/opt/appengine/bin/setenv.sh[root@localhostpaas]#ae-app-b/opt/appengine/share/application/[root@localhost[root@localhost~]#ps-ef|grep 17113:32mon/jre/bin/javaadmin/conf/perties-server-XX:PermSize=1024M--Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager-Djava.endorsed.dirs=/opt/skyform/skyform-admin/endorsed- admin/bin/tomcat-juli.jar-Dcatalina.base=/opt/skyform/skyform-admin-Dcatalina.home=/opt/skyform/skyform-admin-org.apache.catalina.startup.Bootstrapstart 186384639013:36 00:00:00grep[root@localhostupload]#kill-9 [root@localhost~]#cdGUI/[root@localhostGUI]#ls[root@localhostGUI]#tarxvfpaasGui-3.x.65639.tar.gz[root@localhostGUI]#cdpaasGui-3.x.65639[root@localhostpaasGui-3.x.65639]#lsInstall.shpaasgui-2.1.1.tar.gzscripts[root@localhostpaasGui-3.x.65639]# od+xinstall.sh[root@localhostpaasGui-3.x.65639]#[root@localhostpaasGui-3.x.65639]#G)G)InstallInstancePaaS[G]UID)ConfigInstancePaaSU)[U]ninstallInstancePaaSGUIA)st[A]rtInstancePaaSGUIsto[P]InstancePaaSGUI>installguipagesconfigureinstancepaasapplicationAttention:ifapplicationengineanddbnotinthesamemachine,pleaseinputdbserver.whereisapplicationengineserver(localhost):1paasguiwillservesonwhichNIC[ethx](eth0bydefault):instancepaasguipagesinstalled.youmustrestartthecloud-managementservicetoloadthechanges.用户需要选择应用引擎服务的安装位置和网卡的信息(eth0,若网卡信息为eth0installguipagesinstallguipagesconfigureinstancepaasapplicationAttention:ifapplicationengineanddbnotinthesamemachine,pleaseinputdbserver.whereisapplicationengineserver(localhost):userdel:user'cloud'doesnotexist【Appengine【SkyFormAdmin执行安 [root@localhost[root@localhostpaasgui-3.x.61584]#G)InstallInstancePaaS[G]UID)ConfigInstancePaaSU)[U]ninstallInstancePaaSGUIA)st[A]rtInstancePaaSGUIsto[P]InstancePaaSGUI>configuratingdatabasepleaseinputdatabasesetting(ENTERtousethedefault)installerdetectedthatapplication tforminstalledonthesameserverasGUIwillbeinstalled.inheritthedatabasesetting[y/n]?ydatabaseupdatefinisheddothepostdatabasedothepostdatabaseworksfinished.SkyFormAdmin的服务和数据库独立安装是指,kyFormAdmin的服务和数据库[root@localhostpaasgui-3.x.61584]#G)InstallInstancePaaS[G]UID)ConfigInstancePaaSU)[U]ninstallInstancePaaSGUIA)st[A]rtInstancePaaSGUIsto[P]InstancePaaSGUI>configuratingdatabasepleaseinputdatabasesetting(ENTERtousethedefault)installerdetectedthatapplication tforminstalledonthesameserverasGUIwillbeinstalled.inheritthedatabasesetting[y/n]?nserver(localhost):2databasedatabaseconfigupdatefinisheddothepostdatabaseworks...dothepostdatabaseworksfinished.installerconfigappengineguisuccessfully.serverappenginedatabase、user、passwordpasswordappengine【Appengine独立部署[root@localhost[root@localhostpaasGui-3.x.65639]#G)InstallInstancePaaS[G]UID)ConfigInstancePaaSU)[U]ninstallInstancePaaSGUIA)st[A]rtInstancePaaSGUIsto[P]InstancePaaSGUI>ConfiguratingConfiguratingPleaseinputdatabasesetting(ENTERtousethedefault)databaseupdatefinished[root@localhostSkyFormRes]#serviceskyform-adminstart[root@localhostSkyFormRes]#serviceskyform-adminstartStartingcloud-management:[OK]mysql.tar.gzoracle.tar.gznginx.tar.gzphp.tar.gzVmwareTheCommunityEnterpriseOperatingSystem6.3VMSFSDK关闭[root@localhost~]#serviceiptables iptables:iptables:Flushingfirewalliptables:Settingchainsto ACCEPT:filteriptables:Unloadingmodules:[OK[OK[OK[root@localhost~]#serviceip6tablesip6tables:Flushingfirewallrules: [OK]ip6tables:SettingchainstoACCEPT:filter[OK]ip6tables:Unloading [OK[root@localhost~]#chkconfigiptablesoff[root@localhost~]#chkconfigip6tables[root@localhost~]#chkconfig--list|grepSELinuxetc/selinux/configSELINUXdisabled(详细命令请[root@localhost[root@localhost~]#vi disabled-NoSELinux isloaded.[root@localhost~]#[root@localhost~]#Broadcastmessagefromroot@localhost.local(/dev/pts/2)at15:49...Thesystemisgoingdownforreboot在VMwarevSphere上上传的镜像文件:CentOS-6.3-x86_64-bin-ISOmounttiso9660/dev/cdrom/media,iso9660文件类型,media[root@localhost[root@localhost~]#mount-tiso9660/dev/cdrom/media[root@localhost~]#mount/dev/sr0on/mediatypeiso9660(ro)[root@localhost~]#cd/media[root@localhost~]#lsCentOS_BuildTag [root@localhost~]#mount-oloop[root@localhost~]#mount-oloop/root/CentOS-6.3-x86_64-bin-DVD1.iso[root@localhost~]#ls[root@localhost~]#cd/media[root@localhost~]#lsVMHypervisorVM(4)repo,并新建文件/etc/yum.repos.d/centos.repo,加入以下内[root@localhost[root@localhost~]#cd/etc/yum.repos.d/[root@localhostyum.repos.d]#lsCentOS-Base.repoCentOS-Debuginfo.repoCentOS-Media.repoCentOS-Vault.repo[root@localhostyum.repos.d]#mkdirbackup[root@localhostyum.repos.d]#mv*.repobackup[root@localhost~]#vi/etc/yum.repos.d/centos.repo[root@localhost~]#[root@localhost~]#cd/root[root@localhost~]#lsanaconda-ks.cfginstall.loginstall.log.syslogsf_sdk-#tarxvfsf_sdk- #cdsf_sdk-3.x.65639#pwd#cdsf_sdk-3.x.65639#pwd od+x[root@localhostsf_sdk-3.x.65639]#yuminstall [root@localhostsf_sdk-3.x.65639]#S)InstallPaaS[root@localhostsf_sdk-3.x.65639]#S)InstallPaaS[S]FSDKU)[U]ninstallPaaSSFSDKQ) installinginstallingPaaSSFSDKAgentcleaningtheoldinstallationTheinstallationrequiressomedependenciesfromOperationSystemDistributionPleasespecifytheISOlocationVM如果,光盘在VM的虚拟光驱中(CDROMVMHypervisorVMwhereisPaaSAPPENGINEservice:server(54):whereisPaaSAPPENGINEservice:server(54):0port(80):NowNowyouhaveskyformpaassdkinstalled.youcanstarttheserviceusingfollowingcommand:#servicesfdpleaseusingfollowingcommandtoloadappengineenvironmentseachtimeyoulogonthesystem.#source/opt/sf-afterthat,youcanenjoythepowerofWARNING:anWARNING:anoldSFSDKinstallationdetectedat/opt/sf-sdkERASEtheoldinstallationandREINSTALL[y/n]?:y“ny[root@localhostsf_sdk-3.x.65639]#[root@localhostsf_sdk-3.x.65639]#vi~/.bashrc#加入下面的行:source/opt/sf-[root@localhostsf_sdk-3.x.65639]#[root@localhostsf_sdk-3.x.65639]#cd/etc/yum.repos.d[root@localhostyum.repos.d]#lsbackupcentos.repo[root@localhostyum.repos.d]#mvcentos.repobackup[root@localhostyum.repos.d]#yumcleanmetadata[root@localhostyum.repos.d]#yummakecache[root@localhostsf_sdk-3.x.65639]vietc/sysconfig/network-scripts/ifcfg-eth0BOOTPROTO[root@localhostsf_sdk-3.x.65639]vietc/sysconfig/network-scripts/ifcfg-eth0BOOTPROTOdhcp”UUIDHWADDRIPADDR注释掉GATEWAY注释掉DNS1[root@localhost[root@localhostsf_sdk-3.x.65639]#vi/etc/sysconfig/network [root@localhost[root@localhostsf_sdk-3.x.65639]#vi/etc/udev/rules.d/70-persistent-#PCIdevice0x15ad:0x07b0(vmxnet3) 通过Vsphere客户端做如下操作导出该模板(OVAcloudstack,OtherCentos(64-bit)“SFSK;msql;tomcathttpd;pp;lamp加入:登录到运维平台(),点击:资源管理--资源配置—模板同步,使资源池中加入了PaaS的模板同步到模板同步列表中。KVMcloudsatckkvmIPPaaSCloudstackkvm由于kvmcloudstack管理页面创建paas-kvm模板, cloudstackhttp://<cloudstackIP地址>:8080/选择“全局设置”中的“sites”ip为cloudstackipcloudstackservicecloudstak-management登录cloudstack页面,点击:模板,视图框中选择ISO,点击ISO名称,操作系统类型,URL,选择:KVM域,选择操作系统类型,填完相关信息后,点击确定ISO,如下图:查看ISO状态,当状态为SuccessfullyInst
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 高效能电动工具企业制定与实施新质生产力项目商业计划书
- 沿海化学品船运输创新创业项目商业计划书
- 高蛋白谷物能量条行业跨境出海项目商业计划书
- 高速铁路列车自动驾驶企业制定与实施新质生产力项目商业计划书
- 胃malt淋巴瘤parsonnet等课件
- DB32/T 4555-2023动物来源生化药品制法及质量控制技术规范
- 八年级物理上册1.4尝试科学探究习题
- DB32/T 4551-2023省级产品质量检验中心技术创新服务规范
- 高一下学期心理健康教育工作计划
- 老上海风情旅游项目策划方案教学文案
- 2025年上半年酒店市场营销部工作总结与下半年计划
- 多元金融行业:期货行业专题报告:行业逻辑趋完善乘风破浪终有时311mb
- 2025届山东省济南市高三二模历史试题(含答案)
- 第七单元 第1课时 从不同位置观察物体(大单元教学设计) 一年级数学下册 (苏教版2025)
- 2025年环境管理体系审核员考试试题及答案
- 安徽省六安市2024-2025学年八年级(下)期中历史试卷(含答案)
- 航运业人力资源开发与管理考核试卷
- 楼梯 栏杆 栏板(一)22J403-1
- 塑胶原料来料检验报告
- 一级病原微生物实验室危害评估报告
- [模板]健康教育处方
评论
0/150
提交评论