![skyform30云產(chǎn)品應(yīng)用平臺(tái)安裝手冊(cè)_第1頁](http://file4.renrendoc.com/view/32417fb0a90f2015f6623e825eb4b6b0/32417fb0a90f2015f6623e825eb4b6b01.gif)
![skyform30云產(chǎn)品應(yīng)用平臺(tái)安裝手冊(cè)_第2頁](http://file4.renrendoc.com/view/32417fb0a90f2015f6623e825eb4b6b0/32417fb0a90f2015f6623e825eb4b6b02.gif)
![skyform30云產(chǎn)品應(yīng)用平臺(tái)安裝手冊(cè)_第3頁](http://file4.renrendoc.com/view/32417fb0a90f2015f6623e825eb4b6b0/32417fb0a90f2015f6623e825eb4b6b03.gif)
![skyform30云產(chǎn)品應(yīng)用平臺(tái)安裝手冊(cè)_第4頁](http://file4.renrendoc.com/view/32417fb0a90f2015f6623e825eb4b6b0/32417fb0a90f2015f6623e825eb4b6b04.gif)
![skyform30云產(chǎn)品應(yīng)用平臺(tái)安裝手冊(cè)_第5頁](http://file4.renrendoc.com/view/32417fb0a90f2015f6623e825eb4b6b0/32417fb0a90f2015f6623e825eb4b6b05.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
概 編寫目 適用范 術(shù)語解 安裝環(huán) 軟件要 應(yīng)用平臺(tái)介 服務(wù)模 系統(tǒng)服 部署模 安裝流程 安裝前準(zhǔn) 字符集設(shè) 設(shè) 安裝包安裝應(yīng)用引 系統(tǒng)初始 安裝應(yīng)用平臺(tái) 準(zhǔn)備環(huán) 安 配置數(shù) 啟動(dòng)服務(wù) VMWARE模板制 KVM模板制 查看應(yīng)用平臺(tái)頁 附 SkyForm3.0PAASPAASSkyForm3.0具有獨(dú)立IP地址的一臺(tái)主機(jī)(服務(wù)器數(shù)據(jù)庫安1.paas1.CentOS1.IP板(64)42.Basic核3.2.SSHnodeCentOS(64)41Basic核2.SSH1.paasCentOS板(64)422.Basic核3.2.SSHnode5.1.6Linux代碼運(yùn)行在TOMCAT容器中。FLEX主要用來做界面展示和用戶交互。應(yīng)用GUI運(yùn)行在SkyFormAdminSFSDKApacheHTTPHTTPDHTTPSkyFormAdmin特殊的要求。應(yīng)用引擎和SkyFormAdmin服務(wù)分開部署,即是“獨(dú)立部署”模式。無論是“集成部署”還是“獨(dú)立部署指的都是應(yīng)用引擎這個(gè)服務(wù)。應(yīng)用GUI都和SkyForm資源管理平臺(tái)部署在同一個(gè)TOMCAT容器中。SFSDK也都安裝在VM模板中。SkyFormAdminSkyFormAdminn OS版RHEL-6.2-RedhatEnterpriseLinux6.2TheCommunityEnterpriseOperatingSystemISO。 在命令行下執(zhí)行:vi修改后重啟命令:source80-j80-j-A-AINPUT-mstate--stateNEW-pudp--dport3306-j-AINPUT-mstate--stateNEW-ptcp--dport3306-jserviceiptables 安裝包SELinux/etc/selinux/configSELINUXdisabled(詳細(xì)命[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等工具,將安裝包到服務(wù)器上,假設(shè) [root@localhost[root@localhostyum.repos.d]#cd/root[root@localhost~]#cdappengine/[root@localhost[root@localhostappengine]#ls3.解壓安裝包,并給運(yùn)行3.解壓安裝包,并給運(yùn)行 [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后,回測(cè),安裝將自動(dòng)安裝需要的一切依賴服務(wù)和程序。中間會(huì)有大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數(shù)據(jù)庫的IP、名稱、用戶名和;名稱、用戶名和 值為skycloud,其他字段的值保持默認(rèn)即可。[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. 設(shè)安裝包在 [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后,回測(cè),安裝將自動(dòng)安裝需要的一切依賴服務(wù)和程序。中間會(huì)有大量 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):如果使用數(shù)據(jù)庫服務(wù),則在上面的server(localhost):后面輸入服務(wù)器IPhostname。localhost,本地?cái)?shù)據(jù)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-在應(yīng)用平臺(tái)appengine(mysql應(yīng)用為例)appengine時(shí)選擇的語言自動(dòng)上傳對(duì)應(yīng)語言的文件[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.用戶需要選擇應(yīng)用引擎服務(wù)的安裝位置和網(wǎng)卡的信息(eth0,若網(wǎng)卡信息為eth0installguipagesinstallguipagesconfigureinstancepaasapplicationAttention:ifapplicationengineanddbnotinthesamemachine,pleaseinputdbserver.whereisapplicationengineserver(localhost):userdel:user'cloud'doesnotexist【Appengine【SkyFormAdmin執(zhí)行安 [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的服務(wù)和數(shù)據(jù)庫獨(dú)立安裝是指,kyFormAdmin的服務(wù)和數(shù)據(jù)庫[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獨(dú)立部署[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關(guān)閉[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(詳細(xì)命令請(qǐng)[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,加入以下內(nèi)[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的虛擬光驅(qū)中(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客戶端做如下操作導(dǎo)出該模板(OVAcloudstack,OtherCentos(64-bit)“SFSK;msql;tomcathttpd;pp;lamp加入:登錄到運(yùn)維平臺(tái)(),點(diǎn)擊:資源管理--資源配置—模板同步,使資源池中加入了PaaS的模板同步到模板同步列表中。KVMcloudsatckkvmIPPaaSCloudstackkvm由于kvmcloudstack管理頁面創(chuàng)建paas-kvm模板, cloudstackhttp://<cloudstackIP地址>:8080/選擇“全局設(shè)置”中的“sites”ip為cloudstackipcloudstackservicecloudstak-management登錄cloudstack頁面,點(diǎn)擊:模板,視圖框中選擇ISO,點(diǎn)擊ISO名稱,操作系統(tǒng)類型,URL,選擇:KVM域,選擇操作系統(tǒng)類型,填完相關(guān)信息后,點(diǎn)擊確定ISO,如下圖:查看ISO狀態(tài),當(dāng)狀態(tài)為SuccessfullyInst
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年全球及中國半導(dǎo)體用水溶性助焊劑行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報(bào)告
- 2025年全球及中國第一人稱視角射擊游戲行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報(bào)告
- 2025年全球及中國HDPE模制容器行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報(bào)告
- 2025年全球及中國茂金屬線型低密度聚乙烯樹脂行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報(bào)告
- 合同起草范本
- 汽車自駕租賃合同
- 房屋委托代管合同
- 2025贈(zèng)與合同公證書
- 維修工聘用合同范本
- 收獲成長迎接新起點(diǎn)主題班會(huì)
- 暑假作業(yè) 11 高二英語語法填空20篇(原卷版)-【暑假分層作業(yè)】2024年高二英語暑假培優(yōu)練(人教版2019)
- 2024年江西省南昌市南昌縣中考一模數(shù)學(xué)試題(含解析)
- 繪本的分鏡設(shè)計(jì)-分鏡的編排
- 查干淖爾一號(hào)井環(huán)評(píng)
- 體檢中心分析報(bào)告
- 人教版初中英語七八九全部單詞(打印版)
- 臺(tái)球運(yùn)動(dòng)中的理論力學(xué)
- 最高人民法院婚姻法司法解釋(二)的理解與適用
- 關(guān)于醫(yī)保應(yīng)急預(yù)案
- 新人教版五年級(jí)上冊(cè)數(shù)學(xué)應(yīng)用題大全doc
- 2022年中國止血材料行業(yè)概覽:發(fā)展現(xiàn)狀對(duì)比分析研究報(bào)告(摘要版) -頭豹
評(píng)論
0/150
提交評(píng)論