%BOOK_ENTITIES; ]>
Building RPMs While we have defined, and you have presumably already installed the bootstrap prerequisites, there are a number of build time prerequisites that need to be resolved. &PRODUCT; uses maven for dependency resolution. You can resolve the buildtime depdencies for CloudStack by running the following command: $ mvn -P deps Now that we have resolved the dependencies we can move on to building &PRODUCT; and packaging them into RPMs by issuing the following command. $ ./waf rpm Once this completes, you should find assembled RPMs in artifacts/rpmbuild/RPMS/x86_64
Creating a yum repo While RPMs is an ideal packaging format - it's most easily consumed from yum repositories over a network. We'll move into the directory with the newly created RPMs by issuing the following command: $ cd artifacts/rpmbuild/RPMS/x86_64 Next we'll issue a command to create the repository metadata by issuing the following command: $ createrepo ./ The files and directories within our current working directory can now be uploaded to a web server and serve as a yum repository
Configuring your systems to use your new yum repository Now that your yum repository is populated with RPMs and metadata we need to configure our machines that need to install CloudStack. We will create a file at /etc/yum.repos.d/cloudstack.repo with the following content: [apache-cloudstack] name=Apache CloudStack baseurl=http://webserver.tld/path/to/repo enabled=1 gpgcheck=0 Completing this step will allow you to easily install CloudStack on a number of machines across the network.