欢迎来到天天文库
浏览记录
ID:8851074
大小:865.73 KB
页数:60页
时间:2018-04-09
《自学安装cloudstack4.2》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、之前参考网上的文档安装了几次cloudstack都没成功,大概是因为安装的版本不完全一样,或是步骤没有完全作对。这次我按照官方安装指南的步骤再做一遍,虽然会省略一些步骤,不过应该没太大问题。整个安装过程,顺利的话1小时以上,合理安排时间安装cloudstack版本4.2软件包apache-cloudstack-4.2.0-src.tar.bz2虚拟机使用系统centos6.3x86_64,vmwareworkstation9两台虚拟机cloudm为管理服务器clouda为代理这两台虚拟机都由vmwarew
2、orkstation自动安装确保有足够硬盘空间放虚拟机参考手册Apache_CloudStack-4.2.0-Installation_Guide-en-US.pdfApache_CloudStack-4.2.0-Admin_Guide-en-US.pdf第二十二章Cloudstack软件包和手册都可以上cloudstack官网下载先使用nat,能够连网好用yum下载,等所需软件下载完之后换成自定义网络,使管理服务器和代理连通。有些文档里面要求一开始就改hostname和ip,我感觉没必要,后面再改也行。
3、一.安装managementserver前的准备1.确认对硬件的要求2.准备编译环境3.编译产生rpms(事后:没必要)4.配置本地yum源(事后:没必要)二.安装ManagementServer1.安装cloudstack-management2.安装数据库,使用的是mysql3.准备nfs存储4.准备SystemVM模板5.总结三.安装KVMHypervisorHost1.系统要求2.准备系统3.安装agent4.安装libvirt5.配置selinux和防火墙6.配置网桥一.安装management
4、server前的准备以下都是在cloudm上安装...1.确认对硬件的要求4.3.1.ManagementServer,Database,andStorageSystemRequirementsOperatingsystem:Preferred:CentOS/RHEL6.3+orUbuntu12.04(.1)64-bitx86CPU(morecoresresultsinbetterperformance)4GBofmemory250GBoflocaldisk(moreresultsinbettercapa
5、bility;500GBrecommended)Atleast1NICStaticallyallocatedIPaddressFullyqualifieddomainnameasreturnedbythehostnamecommand2.准备编译环境3.6.BuildingRPMsfromSource所需软件1.Maven(version3)2.Java(OpenJDK1.6orJava7/OpenJDK1.7)3.ApacheWebServicesCommonUtilities(ws-commons-u
6、til)4.MySQL5.MySQLdb(providesPythondatabaseAPI)6.Tomcat6(not6.0.35)7.Genisoimage8.rpmbuildordpkg-dev用yum自动安装所需软件[root@localhostDesktop]#yumgroupinstall"DevelopmentTools"Loadedplugins:fastestmirror,refresh-packagekit,securityDeterminingfastestmirrors*base:
7、centos.ustc.edu.cn*extras:mirror.esocc.com*updates:centos.ustc.edu.cnSettingupGroupProcessCheckingfornewreposformirrorsPackage1:make-3.81-20.el6.x86_64alreadyinstalledandlatestversionPackagepatch-2.6-6.el6.x86_64alreadyinstalledandlatestversionPackage1:pk
8、gconfig-0.23-9.1.el6.x86_64alreadyinstalledandlatestversionPackageelfutils-0.152-1.el6.x86_64alreadyinstalledandlatestversionResolvingDependencies-->Runningtransactioncheck--->Packageautoconf.noarch0:2.63-5.1.el6wil
此文档下载收益归作者所有