注:此文档是针对ant方式管理 maven方式的还需另外配置,内容来自官方网站
Step 1: Install the tools and dependencies:
For fedora the package names are ant ant-devel, openjdk, openjdk-devel
Tools:
yum install ant ant-devel openjdk openjdk-devel mysql mysql-server tomcat
for example
yum install java-1.6.0-openjdk.i686 java-1.6.0-openjdk-devel.i686
Dependencies:
yum install jakarta-commons-collections jakarta-commons-dbcp.noarch apache-commo
ns-logging.noarch jakarta-commons-pool jakarta-commons-httpclient.noarch ws-comm
ons-util.noarch glibc-devel gcc python MySQL-python openssh-clients
Tomcat:
Download tomcat6.0.33 from http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.3
3/bin/ instead of using distribution's default tomcat. Set CATALINA_HOME and CAT
ALINA_BASE to path where you extract tomcat in environment variable, it would be better off setting them in .bashrc as it will take effect every time you log in.
Note: Tomcat6.0.35 has some known issue with CloudStack, please avoid it
SSHKEY:
Run:
sh-keygen -t rsa -q
to create sshkey for your account if you don't have one
Step 2: Configuration
Start the MySQL service :
# service mysqld start
Step 3: Get the source
$ git clone https://github.com/CloudStack/CloudStack.git
For subsequent pulls, do:
$ git pull
Step 4: Building, testing, and deploying CloudStack using Ant :
Ant is a Java-based build tool designed to be cross-platform, easy to use, extensible, and scalable. Ant is controlled by providing a text file that tells how to perfo
rm all the stages of building, testing, and deploying a project. These files are build files, and every project that uses Ant must have at least one named as build.xml
. You can see build.xml in your CloudStack source.
Type to build CloudStack :
$ ant clean-all build-all
Type to deploy mgt server :
$ ant deploy-server
Type to deploy database :
$ ant deploydb
Type to run mgt server:
$ ant debug
If all of the above process is successful. You are done the single server CloudStack installation.Now your CloudStack Management Server is running.
Open your browser and type the bellow url in address bar:
http://localhost:8080/client/
OR
http://management-server-ip-address:8080/client
You can see CloudStack Management Console page via a web browser. It will show you management consle login page. You can use the default username and password and lea
ve domain as blank.
The default credentials are “admin” for user and “password” for password. The domain field should be left blank. A blank
domain field is defaulted to the ROOT domain.
NOTE : This document is very basic CloudStack development installation. If you are very new to CloudStack and want to feel the power of CloudStack very quickly in RPM
based distro, this document will guide very clear step to get it done. Since I am new to CloudStack, I doing this documentation by learning from community. I will keet
update new information in this guide to make it more valuable resource.
分享到:
相关推荐
该cloudstack云计算平台搭建是本文花了一个多月的时间整理出来的,希望大家能够有所借鉴,不足之处,还望指出
cloudstack 开发.一个小例子提示了如何添加一个简单的插件集成到cloud stack的环境中去
私有云搭建 CloudStack
CloudStack 在Windows 平台上的开发环境设置
由于资源有限个人不能拥有计算服务器以及交换机等硬件设备,所以在VMWare上搭建cloudstack的测试开发环境,支持高级网络部署模式,体验更多功能。
CloudStack3.0 官方文档。也可由官方网站下载。
讲解了开发的过程与详细的模块分析 CloudStack二次开发帮助文档
CloudStack是Citrix公司将Cloudstack基础设施即服务 laaS 产品源代码与Apache Foundation合作的一个云平台管理软件
架设cloudstack + xenserver 服务器所需要的服务器添加
适用于cloudstack二次开发的源码结果分析,及开发流程说明
描述的是在CentOS6.5系统中利用CloudStack与KVM搭建云平台的过程!!!不错哟,快快收藏哟!!!
CloudStack二次开发帮助文档 CLOUDSTACK二次开发帮助文档 3 1. 用CLOUDSTACK的源码进行工作 3 1.1. 源码获得方式 3 2. 包与依赖 3 2.1. 包 3 2.2. 依赖 4 2.3. 未来 5 3. 异常与日志 5 3.1. 日志 5 3.2. 异常和异常...
CloudStack应用越来越广,但是随着测试也遇到了越来越多的bug。 不想等待新版本发布而且又急于修复某些bug的童鞋,可以参考下本文内容。
基于CloudStack和KVM的云计算IaaS平台构建.pdf
CloudStack技术沙龙北京站第四期在中关村云基地举行,CloudStack committer李学辉、中航信高级架构工程师曹伟、天云趋势测试工程师沈楠进行了分享,现场近50名开发者参与了活动讨论。
CloudStack OpenStack Eucalyptus 比较
CloudStack 3.0快速安装文档
本书从历史发展、架构设计、安装配置、基本功能、开发入门等角度对CloudStack进行了全面的介绍。作为云计算IaaS平台,尽管CloudStack的安装非常简单,但其规划和安装对保证CloudStack系统稳定运行而言至关重要,很...
利用vmware workstation虚拟机搭建cloudstack4.2.1