<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>2.2. Build Procedure Prerequisites</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta name="generator" content="publican 2.8" /><meta name="package" content="Apache_CloudStack-Developers_Guide-4.1.0-it-IT-1-" /><script type="text/javascript" src="../../../../../toc.js"></script><script type="text/javascript">
              addID('Apache_CloudStack');
              
	      addID('Apache_CloudStack.4.1.0');
              
              addID('Apache_CloudStack.4.1.0.books');
	      addID('Apache_CloudStack.4.1.0.Developers_Guide');
              </script><link rel="home" href="index.html" title="Manuale dello Sviluppatore CloudStack" /><link rel="up" href="building-with-maven.html" title="Capitolo 2. Using Maven to Build CloudStack" /><link rel="prev" href="source-build.html" title="2.1. Building CloudStack from Source" /><link rel="next" href="building-with-maven-steps.html" title="2.3. Building Steps" /></head><body class="toc_embeded "><div id="tocdiv" class="toc"><iframe id="tocframe" class="toc" src="../../../../toc.html">This is an iframe, to view it upgrade your browser or enable iframe display.</iframe></div><p id="title"><a class="left" href="http://cloudstack.apache.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://cloudstack.apache.org/docs"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="source-build.html"><strong>Indietro</strong></a></li><li class="next"><a accesskey="n" href="building-with-maven-steps.html"><strong>Avanti</strong></a></li></ul><div xml:lang="it-IT" class="section" id="build-prerequisites" lang="it-IT"><div class="titlepage"><div><div><h2 class="title" id="build-prerequisites">2.2. Build Procedure Prerequisites</h2></div></div></div><div class="para">
		In this section we will assume that you are using the Ubuntu Linux distribution with the Advanced Packaging Tool (APT). If you are using a different distribution or OS and a different packaging tool, adapt the following instructions to your environment. To build CloudStack you will need:
	</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
				git, <a href="http://git-scm.com">http://git-scm.com</a>
			</div><div class="para">
				
<pre class="programlisting">sudo apt-get install git-core</pre>
			</div></li><li class="listitem"><div class="para">
				maven, <a href="http://maven.apache.org">http://maven.apache.org</a>
			</div><div class="para">
				
<pre class="programlisting">sudo apt-get install maven</pre>
			</div><div class="para">
				Make sure that you installed maven 3
			</div><div class="para">
				
<pre class="programlisting">$ mvn --version
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-33-generic", arch: "amd64", family: "unix"</pre>
			</div></li><li class="listitem"><div class="para">
				java
			</div><div class="para">
				set the JAVA_HOME environment variable
			</div><div class="para">
				
<pre class="programlisting">$ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk</pre>
			</div></li></ul></div><div class="para">
		In addition, to deploy and run CloudStack in a development environment you will need:
	</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
				Mysql
			</div><div class="para">
				
<pre class="programlisting">sudo apt-get install mysql-server-5.5</pre>
			</div><div class="para">
				Start the mysqld service and create a cloud user with cloud as a password
			</div></li><li class="listitem"><div class="para">
				Tomcat 6
			</div><div class="para">
				
<pre class="programlisting">sudo apt-get install tomcat6</pre>
			</div></li></ul></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="source-build.html"><strong>Indietro</strong>2.1. Building CloudStack from Source</a></li><li class="up"><a accesskey="u" href="#"><strong>Risali</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Partenza</strong></a></li><li class="next"><a accesskey="n" href="building-with-maven-steps.html"><strong>Avanti</strong>2.3. Building Steps</a></li></ul></body></html>
