Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NB: Test your environment variables by opening a Cygwin shell and typing 'which mvn'. This should return the path to the ant maven executable.

Step 8) Download cloudstack-oss source

...

Step 9

...

              -> tomcat_home=C:\Tomcat 6.0

...

) Install "mkisofs"

...

Cygwin's mkisofs is really an alias, and this does not work with the build.

Instead, downloan the .exe from               -> http://svnpenn.blogspot.com/2011/06/mkisofs-for-windows_24.html

Copy over the above exe some place in C:\, and set the PATH env variable for Windows 7 to point to this directory.

...

  • Place in a known folder
  • Be sure to update the PATH environment variable to point to the folder with mkisofs

NB: Test your environment variables by opening a Cygwin shell and typing 'which mkisofs'. This should return the path to the mkisofs executable.

Step 10) You will need to set a parameter DBROOTPW= in the build/override/replace.properties file. Here is how my file looks –

vijayendra1@sjcwvijayendra1 /cygdrive/c/Users/vijayendra1.CITRITE/My Documents/cloudstack/cloudstack-oss
$ cat build/override/replace.properties
DBUSER=cloud
DBPW=cloud
DBROOTPW=
MSLOG=vmops.log
APISERVERLOG=api.log
DBHOST=localhost
AGENTLOGDIR=logs
AGENTLOG=logs/agent.log
MSMNTDIR=/mnt
COMPONENTS-SPEC=components-premium.xml

vijayendra1@sjcwvijayendra1

Step

...

11) Build

To pull in dependencies, go to the cloudstack source folder and run:

mvn -P deps

To compile Apache CloudStack, go to the cloudstack source folder and run:

ant clean-all build-all

To deploy Apache CloudStack, run:

ant deploy-server

Deploy the database next:

ant deploydb

Step

...

12) Verify

Open the mgmt server console using http://localhost:8080 and configure it as required.

Step

...

13) Parting words

When you make changes to the code, and want to restart the mgmt. server, you should not recreate the mysql database, because that would wipe out the setup. So you make your code changes, and then do –

...