Versions Compared

Key

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

...

Step 9) Install "mkisofs"

...

Password is assigned to DBROOTPW= in the build/replace.properties file.

E.g.
{{
$ 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
}}

Step 11) Build

To pull in dependenciesclean out existing artifacts, go to the cloudstack source folder and run:

mvn -P depsclean

To compile Apache CloudStack, go to the cloudstack source folder and run:ant clean-all build-all

mvn install

Step 12) Verify

To deploy Apache CloudStack, run:

ant deploy-server

Deploy the database next:

ant deploydb

Step 12) Verify

To start the server

ant debug

and run in developer mode, please refer to Setup CloudStack development environment in 8 steps

Next, 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 –

ant clean-all build-all deploy-server

and debug

ant debug