




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
概 編寫目 適用范 術語解 安裝環(huán) 集成部 獨立部 軟件要 應用平臺介 服務模 應用引 應用 系統(tǒng)服 部署模 集成部 獨立部 安裝流程 安裝前準 字符集設 設 安裝包安裝應用引 安裝前準 安裝應用引擎服 配置AppEngine服務 安裝流程 安裝前準 安裝MySQL數據庫服 安裝NFS文件服 安裝應用引 配置AppEngine服務 系統(tǒng)初始 初始化AppEngine服 初始化操作系統(tǒng)倉 初始化組 初始化軟件 典型PAAS應用設計(可選 安裝應用平臺 準備環(huán) 安 配置數 【Appengine集成部署 【Appengine獨立部署 啟動服務 VMWARE模板制 準 創(chuàng)建虛擬 制作虛擬機模 導出模 上傳模 KVM模板制 前 制作PAAS服務模 生成模 PaaS-kvm實例 查看應用平臺頁 附 概本手冊供天云軟件SkyForm3.0研發(fā)及測試使用,用于指導PAAS產品的安裝,并PAASSkyForm3.0數據庫安集成部服務用內服務用內網絡要paasnode模板CentOSBasicSSH42.4GHz上IP獨立部服務用內網絡要1CentOSBasicSSH42.4GHz上IP2paasnode模板CentOSBasicSSH42.4GHz上IP5.1.6應用平臺介應用引Linux應用GUI是應用引擎與用戶進行交互的接口應用GUI由Java+FLEX開發(fā)Java代碼運行在TOMCAT容器中。FLEX主要用來做界面展示和用戶交互。應用GUI運行在SkyFormAdminSFSDKSFSDKSFSDKApacheHTTP軟件包,配置本地YUM倉庫等,都需要使用到HTTP服務。所以應用引擎使用了ApacheHTTPDHTTP集成部獨立部特殊的要求。應用引擎和SkyFormAdmin服務分開部署,即是“獨立部署”模式。SkyFormAdminSkyFormAdmin服務n應用平應用引 安裝流程安裝前準OS版RHEL-6.2-RedhatEnterpriseLinux6.2TheCommunityEnterpriseOperatingSystem6.3ISO。 在命令行下執(zhí)行:vi修改后重啟命令:source-AINPUT-AINPUT-mstate--stateNEW-pudp--dport80-j-AINPUT-mstate--stateNEW-ptcp--dport80-j-AINPUT-mstate--stateNEW-pudp--dport8088-j-A-AINPUT-mstate--stateNEW-ptcp--dport8088-j-AINPUT-mstate--stateNEW-pudp--dport8089-j-AINPUT-mstate--stateNEW-ptcp--dport8089-j-A-AINPUT-mstate--stateNEW-pudp--dport3306-j-AINPUT-mstate--stateNEW-ptcp--dport3306-jserviceiptablesserviceiptables安裝應用引SELinux/etc/selinux/configSELINUXdisabled(詳細命[root@localhost[root@localhost~]#vi disabled-NoSELinuxpolicyisloaded.[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. ache安裝應用引擎服用戶可以使用任意的工具,如FTP,SCP,HTTP等工具,將安裝包到服務器上,假設 [root@localhost[root@localhostyum.repos.d]#cd/root[root@localhost~]#cdappengine/[root@localhostappengine]#ls[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]#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)InstallInstance[P]aaS[root@localhostappengine-3.x.65639]#P)InstallInstance[P]aaSA)Install[A]pacheD)Install[D]atabaseU)[U]ninstallthePaaSQ)>TheinstallationrequiressomedependenciesfromOperationSystemDistributionISOPleasespecifytheISOlocation(/dev/cdrom):注:AppengineVM(CDROMinstallcoremoduleinstallcoremoduledexmlinstallskyformpaasservicepleaseinputwhichLANGUAGEyouareprefer[en_US grantthrgrantthrexecutionrightinstallskyformpaasserviceappenginesuccessfully.registeringappengineassystemservice...pleaseinputIPaddressofthenicyou輸入本地IP后,回測,安裝將自動安裝需要的一切依賴服務和程序。中間會有大 Nowyouhaveskyformpaasserviceinstalled.youcanstarttheserviceusingfollowingcommand:#serviceappenginepleasepleaseusingfollowingcommandtoloadappengineenvironmentseachtimeyoulogonthesystem.#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.編輯/opt/skyform/skyform-admin/conf/SkyFormConfig文件添加以下##PLEASEINPUTSKYFORMCONFIGURATIONMANUALLY.以上信息分別為SkyFormAdmin##PLEASEINPUTSKYFORMCONFIGURATIONMANUALLY.[root@localhostappengine-3.x.65639]#…P)Install[root@localhostappengine-3.x.65639]#…P)InstallInstance[P]aaSA)Install[A]pacheD)Install[D]atabaseU)[U]ninstallthePaaSQ)>>SkyFormAdmininstallinginstallingskyformpaasdatabaseuseskyformdatabasetostoreapplicationinformation[y/n]?inherittheSkyFormManagementSystemdatabasesettingupdatingapplicationenginedatabasesetting...updatedatabasesettinginitdbwillcreatetablesforappengineindatabasespecifiedinappengine.confcreatetablessuccessfully.dothepostdatabaseworks...dothepostdatabaseworksinstallapplicationenginedatabasesuccessfully.AppEngine服務PaaS軟件倉[root@localhost[root@localhost~]#cd/opt/skyform/repos/packages/[root@localhostpackages]#ls配[root@localhostpackages]#vi#======================cloudstackadapterpotions=============================cloudstack_host=cloudstack_apikey=cloudstack_secret_key[root@localhostpackages]#vi#======================cloudstackadapterpotions=============================cloudstack_host=cloudstack_apikey=cloudstack_secret_key=cloudstack_username=cloudstack_password=cloudstack_option_account=admin#adminid=#cloudstack_option_template_filter=cloudstack_option_zoneid=其默認值為9527;cloudstack_username和cloudstack_password是指cloudstack的用戶[root@localhost[root@localhostpackages]#vi#======================cloudstackadapterpotions=============================cloudstack_host=cloudstack_apikey=cloudstack_secret_key=cloudstack_username=admincloudstack_password=passwordcloudstack_option_account=admin#adminaccount id=1 #ROOTcloudstack_option_template_filter=executablecloudstack_option_zoneid=1配置日maxsize1Glogdir=/var/log/appenginelogname=appengine.logmaxsize=10Mmaxbackup=10loglevel=[root@localhost~]#vi disabled[root@localhost~]#vi disabled-NoSELinuxpolicyisloaded.[root@localhost[root@localhost~]#Broadcastmessagefromroot@localhost.local(/dev/pts/2)at15:49...Thesystemisgoingdownforreboot YUM[root@localhost~]#mkdir–p[root@localhost~]#mount/root/CentOS-6.3-x86_64-dvd1.iso[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/oritss.Oracleis ofOracleCorporationand/oraffiliates.OthernamesmaybetrademarksoftheirrespectiveType'help;'or'\h'forhelp.Type'\c'toclearthecurrentinputstatement.mysql>showdatabases; | |information_schema| | 3rowsinset(0.00[root@appengine-qayum.repos.d]#[root@appengine-qayum.repos.d]#chkconfigmysqldNFS[root@appengine-qayum.repos.d]#yuminstallnfs-utils[root@appengine-qayum.repos.d]#chkconfign[root@appengine-qayum.repos.d]#servicerpcbindstart[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[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]#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 ./install.sh,選擇“P”安裝引[root@localhost[root@localhostappengine-3.x.65639]#P)InstallInstance[P]aaSA)Install[A]pacheD)Install[D]atabaseU)[U]ninstallthePaaSQ)>TheinstallationrequiressomedependenciesfromOperationSystemDistributionISOPleasespecifytheISOlocation(/dev/cdrom):注:AppengineVM(CDROMinstallcoremoduleinstallcoremoduledexmlinstallskyformpaasservicepleaseinputwhichLANGUAGEyouareprefer[en_US grantthrgrantthrexecutionrightinstallskyformpaasserviceappenginesuccessfully.registeringappengineassystemservice...pleaseinputIPaddressofthenicyou Nowyouhaveskyformpaasserviceinstalled.youcanstarttheserviceusingfollowingcommand:#serviceappenginepleaseusingfollowingcommandtoloadappengineeacheachtimeyoulogonthe#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]#…A)Install[A]pache[root@appengine-qaappengine]#…A)Install[A]pacheP)InstallInstance[P]aaSD)Install[D]atabaseU)[U]ninstallthePaaSQ)>installingskyformpaasdatabaseuseskyformdatabasetostoreapplicationinformation[y/n]?database(skycloud):user(skycloud):password(skycloud):AppEnginePaaS軟件倉[root@localhost[root@localhost~]#cd/opt/skyform/repos/packages[root@localhostpackages]#lsNFS[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/opt/skyform/repos/packages/upload配編輯/opt/appengine/conf/appengine.conf文件,完成配置[root@localhost[root@localhostpackages]#vi#======================cloudstackadapterpotions=============================cloudstack_host=cloudstack_apikey=cloudstack_secret_key=cloudstack_username=cloudstack_password=cloudstack_option_account=admin#adminaccount id=1 #ROOTcloudstack_option_template_filter=executablecloudstack_option_zoneid=1其默認值為9527;cloudstack_username和cloudstack_password是指cloudstack的用戶名和。[root@localhost[root@localhostpackages]#vi#======================cloudstackadapterpotions=============================cloudstack_host=cloudstack_apikey=cloudstack_secret_key=cloudstack_username=admincloudstack_password=passwordcloudstack_option_account=admin#adminaccount id=1 #ROOTcloudstack_option_template_filter=executablecloudstack_option_zoneid=1配置日用戶可以編輯/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]#servicehttpdrestart[root@localhostpackages]#servicehttpdrestart httpd:[OK]Startinghttpd:[OK [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>|--i--ISOmanagementmode.UsercaninApplicationsoftwaremanagementist-ptrs--storageActions-n--Machinetemplatemanagementmode.ThetemplatecouldVMtemplateorPhysicalMachinetemplate.YUMrepositorymanagementmode.Therepositorystoragemanagement-ld--Create/Register/Uploadnewitemsintorepository.behaviordependsontheListtheitemsintherepository.Whatwillbelisted,dependsonthecurrentMODE.Delete/Remove/Detachsomethingfromrepository.Whatwillbedeleteddependson-h,i,p,r,t,s,n,l,--showthishelpmessageandOSISOrepositorySoftwarerepositoryYUMrepositoryTemplaterepositoryApplicationrepositorycreatenew<ISO,Software,YUM,Template>listaction.list<ISO,Software,YUM,Template>repositoryinformation.-dDELETE,--delete<ISO,Software,YUM,Template>informationfrom-fFILE,--file=FILEAbsolutepathofonefile.itcouldbeISOimagesoftware-- NFSservicelocation.itshouldbein-- ManullysynctheVMtemplateinformation shortnameofOperatingSystem.Currentsupported[centos|rhel|epel|ambari]-- onwhichport,theappengine--whereisappengineae-repoilISOae-repoinfXXXX.isoae-repoidISOIDISO;ISO,操作命令如下:[root@localhost[root@localhostpackages]#source[root@localhostpackages]#ae-repo-i-n-f/root/CentOS-6.3-x86_64-bin-CentOS-6.3,則需選擇“12PleasePleasechoosetheoperationsystemforyouReal VMTemplate: =>AmbariHadoopManagement:centos-5.6- =>CentOS5.6(32-:centos-5.6- =>CentOS5.6(64-:centos-6.0- =>CentOS6.0(32-:centos-6.0- =>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-:centos-6.3-:centos-6.3-:rhel-6.1-:rhel-6.1-:rhel-6.2-:rhel-6.2-:rhel-6.3-:rhel-6.3-:windos-xp-:windos-xp-:windos-xp-sp2-:windos-xp-sp3-32yourchoice:uploadingISOfile=>EctraPackagesforEnterpriseLinux=>OtherCentOS(32-=>OtherCentOS(64-=>RetHatEnterpriseLinux6.1(32-=>RetHatEnterpriseLinux6.1(64-=>RetHatEnterpriseLinux6.2(32-=>RetHatEnterpriseLinux6.2(64-=>RetHatEnterpriseLinux6.3(32-=>RetHatEnterpriseLinux6.3(64-=>WindowsXP(32-=>WindowsXP(64-=>WindowsXPSP2(64-=>WindowsXPSP3(32-ISOhavebeenuploadedintoappengine組 [root@localhost[root@localhostlocalhost-pp-bponent/-INFO:registerapplicationcomponentapache.xmlINFO:registerapplicationcomponentmysql.xmlsuccessfully.INFO:registerapplicationcomponenttomcat.xmlsuccessfully.INFO:registerapplicationcomponentnetwork.xmlsuccessfully.INFO:registerapplicationcomponentgroup.xmlsuccessfully.INFO:registerapplicationcomponentnginx.xmlsuccessfully.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.xml查看組件是否到數據庫(1[root@localhostpackages]#mysqlD-ecid,name +|+|+|||||||||||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-h--pskycloud-skycloud-e"selectcid,name +|+|+||+|+|ApacheWEB|MySQLDatabase+|+||||||||||||c-|||||emr-hadoop-|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~]#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.gz[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@localhost~]#[root@localhost~]#ps-ef|grep 17113:32 ies-server-XX:PermSize=1024M-- i.jar-Dcatalina.base=/opt/skyform/skyform-adminorg.apache.catalina.startup.Bootstrapstart 186384639013:36 00:00:00grep[root@localhostupload]#kill-9[root@localhostpaasGui-3.x.65639]#G)InstallInstance[root@localhostpaasGui-3.x.65639]#G)InstallInstancePaaS[G]UID)ConfigInstancePaaSU)[U]ninstallInstancePaaSGUIA)st[A]rtInstancePaaSGUIsto[P]InstancePaaSGUI>installguipagesconfigureconfigureinstancepaasapplicationAttention:ifapplicationengineanddbnotinthesamemachine,pleaseinputdbserver.whereisapplicationengineserver(localhost):1paasguiwillservesonwhichNIC[ethx](eth0bydefault):instancepaasguipagesinstalled.youmustrestartthecloud-managementservicetoloadthechanges.用戶需要選擇應用引擎服務的安裝位置和網卡的信息(eth0,若網卡信息為eth0注意:若沒有cloud用戶,則會提示一下信息(可忽略不計installguipagesconfigureinstancepaasapplicationAttention:ifapplicationenginedbnotpleaseinputdbwhereisapplicationengineserveruserdel:user'cloud'doesnot【Appengine器上。由于SkyFormAdmin服務和SkyFormAdmin數據庫可以分開部署,因此PaaSGUI配置數【SkyFormAdmin的服務和數據庫集成安裝所謂的SkyFormAdmin的服務和數據庫集成安裝是指,SkyFormAdmin的服務和數據庫[root@localhostpaasgui-3.x.61584]#G)InstallInstancePaaS[G]UID)Config[root@localhostpaasgui-3.x.61584]#G)InstallInstancePaaS[G]UID)ConfigInstancePaaSU)[U]ninstallInstancePaaSGUIA)st[A]rtInstancePaaSGUIsto[P]InstancePaaSGUI>>configuratingdatabasepleaseinputdatabasesetting(ENTERtousethedefault)installerdetectedthatapplicationplatforminstalledonthesameserverasGUIwillbeinstalled.inheritthedatabasesetting[y/n]?ydatabaseupdatefinisheddothepostdatabasedothepostdatabaseworksfinished.【SkyFormAdminSkyFormAdmin的服務和數據庫獨立安裝是指,kyFormAdmin的服務和數據庫[root@localhostpaasgui-3.x.61584]#G)InstallInstancePaaS[G]UID)ConfigInstance[root@localhostpaasgui-3.x.61584]#G)InstallInstancePaaS[G]UID)ConfigInstancePaaSU)[U]ninstallInstancePaaSGUIA)st[A]rtInstancePaaSGUIsto[P]InstancePaaSGUI>configuratingdatabasepleaseinputdatabasesetting(ENTERtousethedefault)installerdetectedthatapplicationplatforminstalledonthesameserverasGUIwillbeinstalled.inheritthedatabasesetting[y/n]?nserver(localhost):2databaseconfigupdatefinisheddothepostdatabaseworks...dothepostdatabaseworksfinished.installerconfigappengineguisuccessfully.serverappenginedatabase、user、passwordpasswordappengine【Appengine獨立部署SkyFormAdmin[root@localhost[root@localhostpaasGui-3.x.65639]#G)InstallInstancePaaS[G]UID)ConfigInstancePaaSU)[U]ninstallInstancePaaSGUIA)st[A]rtInstancePaaSGUIsto[P]InstancePaaSGUI>ConfiguratingConfiguratingPleaseinputdatabasesetting(ENTERtousethedefault)databaseupdatefinished[root@localhost[root@localhostSkyFormRes]#serviceskyform-adminstartStartingcloud-management:[OK]至此,應用平臺GUI安裝完畢。用戶可登錄運維平臺(tomcat-mysql.tar.gzoracle.tar.gznginx.tar.gzphp.tar.gzVmware模板制OS版TheCommunityEnterpriseOperatingSystem6.3VMSFSDK[root@localhost~]#serviceiptablesiptables:Flushingfirewall[]iptables:SettingchainstopolicyACCEPT:[]iptables:Unloading[][root@localhost~]#serviceip6tablesip6tables:Flushingfirewall[]ip6tables:SettingchainstopolicyACCEPT:[]ip6tables:Unloading[][root@localhost~]#chkconfigiptables[root@localhost~]#chkconfigiptables[root@localhost[root@localhost~]#chkconfigip6tables[root@localhost~]#chkconfig--list|grepSELinuxetc/selinux/configSELINUXdisabled(詳細命令請[root@localhost[root@localhost~]#vi disabled-NoSELinuxpolicyisloaded.[root@localhost~]#[root@localhost~]#Broadcastmessagefromroot@localhost.local(/dev/pts/2)at15:49...ThesystemisgoingdownforrebootVMwarevSphereClient:CentOS-6.3-x86_64-bin-ISOmounttiso9660/dev/cdrom/media,iso9660文件類型,media[root@localhost[root@localhost~]#mount-tiso9660/dev/cdrom[root@localhost~]#/dev/sr0on/mediatypeiso9660(ro)[root@localhost~]#cd/media[root@localhost~]#ls [root@localhost~]#mount-o[root@localhost~]#mount-oloop/root/CentOS-6.3-x86_64-bin-DVD1.iso/media[root@localhost~]#ls[root@localhost~]#cd[root@localhost[root@localhost~]#VMHypervisorVM[root@localhost~]#cd[root@localhostyum.repos.d]#CentOS-Base.repoCentOS-Debuginfo.repoCentOS-Media.repoCentOS-[root@localhostyum.repos.d]#mkdir[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]#[root@localhostsf_sdk-3.x.65639]#yuminstall連續(xù)選擇“y”后,顯示如下[root@localhostsf_sdk-3.x.65639]#S)InstallPaaS[S]FSDK[root@localhostsf_sdk-3.x.65639]#S)InstallPaaS[S]FSDKU)[U]ninstallPaaSSFSDKQ) installingPaaSSFSDKAgentcleaningtheoldinstallationTheinstallationrequiressomedependenciesfromOperationSystemDistributionISOPleasespecifytheISOlocation(/dev/cdrom):VM如果,光盤在VM的虛擬光驅中(CDROM,則直接回車確認即可如果,光盤以ISO的形式存在于磁盤上,則請輸入ISO文件的絕對路徑VMHypervisorVMwhereisPaaSAPPENGINEservice:server(54):whereisPaaSAPPENGINEservice:server(54):0port(80):NowNowyouhaveskyformpaassdkinstalled.youcanstarttheserviceusingfollowingcommand:#servicesfdpleaseusingfollowingcommandtoloadappengineenvironmentseachtimeyoulogonthesystem.#source/opt/sf-afterthat,youcanenjoythepowerofWARNING:anWARNING:anoldSFSDKinstallationdetectedat/opt/sf-sdkERASEtheoldinstallationandREINSTALL[y/n]?:yy”“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]#yummakecacheVM配置清理( IPADDR注釋掉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-net.rules#PCIdevice0x15ad:0x07b0(vmxnet3) VsphereClient(OVAcloudstack,OtherCentos(64-bit)“SFSK;msql;tomcathttpd;pp;lamp加入:登錄到運維平臺(),點擊:資源管理--資源配置—模板同步,使資源池中加入了PaaS的模板同步到模板同步列表中。KVM模板制cloudsatckkvmIP
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 高效溝通協(xié)作機制建立方案
- 鄉(xiāng)村環(huán)境綜合整治技術作業(yè)指導書
- 電力行業(yè)供電安全告知書
- 房屋買賣按揭合同
- 商業(yè)場所租賃使用協(xié)議及設備設施管理細則協(xié)議
- 智能辦公系統(tǒng)集成方案簽署協(xié)議
- 高考語文復習-文言文重點字詞解析練習
- 高考英語整句翻譯漢譯英專題訓練500題(含答案)
- 新品手機使用說明手冊
- 企業(yè)研發(fā)創(chuàng)新基金合作協(xié)議
- 廣東義務教育標準化學校
- 煤質化驗員測試題(附參考答案)
- 全電發(fā)票樣式
- (完整版)供應商審核表
- 饅頭工藝流程圖
- (二次供水單位)生活飲用水衛(wèi)生許可證延續(xù)申請表
- 鈉電池正極材料PPT
- 體能訓練概論(NSCA)
- 青島版三年級數學下冊《美麗的街景》教學課件7
- 液壓傳動全套ppt課件(完整版)
- 內部控制五要素圖解
評論
0/150
提交評論