| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -96,23 +96,20 @@ Clean and build: | |||
| 96 | 96 | ||
| 97 | 97 | $ mvn clean install -P systemvm,developer | |
| 98 | 98 | ||
| 99 | - In case you want support for VMWare, SRX and other non-Apache (referred to as nonoss) | ||
| 100 | - compliant libs, you may download the following jar artifacts from respective vendors: | ||
| 99 | + CloudStack supports several plugins that depend on libraries with distribution restrictions. | ||
| 100 | + Because of this they are not included in the default build. Enable these additional plugins | ||
| 101 | + activate their respective profiles. For convenience adding -Dnoredist will enable all plugins | ||
| 102 | + that depend on libraries with distribution restrictions. The build procedure expects that the | ||
| 103 | + required libraries are present in the maven repository. | ||
| 101 | 104 | ||
| 102 | - deps/cloud-iControl.jar | ||
| 103 | - deps/cloud-manageontap.jar | ||
| 104 | - deps/cloud-netscaler-sdx.jar | ||
| 105 | - deps/cloud-netscaler.jar | ||
| 106 | - deps/vmware-apputils.jar | ||
| 107 | - deps/vmware-vim.jar | ||
| 108 | - deps/vmware-vim25.jar | ||
| 109 | - | ||
| 110 | - Install them to ~/.m2 so maven can get them as dependencies: | ||
| 105 | + The following procedure can be used to add the libraries to the local maven repository. Details | ||
| 106 | + on obtaining the required libraries can be found in this file. Note that this will vary between | ||
| 107 | + releases of cloudstack | ||
| 111 | 108 | ||
| 112 | 109 | $ cd deps | |
| 113 | 110 | $ ./install-non-oss.sh | |
| 114 | 111 | ||
| 115 | - To build with nonoss components, use the build command with the nonoss flag: | ||
| 112 | + To build all non redistributable components, add the noredist flag to the build command: | ||
| 116 | 113 | ||
| 117 | 114 | $ mvn clean install -P systemvm,developer -Dnonoss | |
| 118 | 115 | ||
@@ -153,7 +150,7 @@ This section describes packaging and installation. | |||
| 153 | 150 | ||
| 154 | 151 | To create debs: | |
| 155 | 152 | ||
| 156 | - $ mvn -P deps # -D nonoss, for nonoss as described in the "Building" section above | ||
| 153 | + $ mvn -P deps # -D noredist, for noredist as described in the "Building" section above | ||
| 157 | 154 | $ dpkg-buildpackage | |
| 158 | 155 | ||
| 159 | 156 | All the deb packages will be created in ../$PWD | |
@@ -183,15 +180,15 @@ Install needed packages, apt-get upgrade for upgrading: | |||
| 183 | 180 | ||
| 184 | 181 | To create rpms: | |
| 185 | 182 | ||
| 186 | - $ mvn -P deps # -D nonoss, for nonoss as described in the "Building" section above | ||
| 187 | - $ ./waf rpm | ||
| 183 | + $ cd packaging/centos63 | ||
| 184 | + $ bash packaging.sh [ -p NOREDIST ] | ||
| 188 | 185 | ||
| 189 | - All the rpm packages will be create in artifacts/rpmbuild/RPMS/x86_64 | ||
| 186 | + All the rpm packages will be create in dist/rpmbuild/RPMS/x86_64 | ||
| 190 | 187 | ||
| 191 | 188 | To create a yum repo: (assuming appropriate user privileges) | |
| 192 | 189 | ||
| 193 | 190 | $ path=/path/to/your/webserver/cloudstack | |
| 194 | - $ cd artifacts/rpmbuild/RPMS/x86_64 | ||
| 191 | + $ cd dist/rpmbuild/RPMS/x86_64 | ||
| 195 | 192 | $ mv *.rpm $path | |
| 196 | 193 | $ createrepo $path | |
| 197 | 194 | ||
@@ -208,10 +205,10 @@ Installation: | |||
| 208 | 205 | Install needed packages: | |
| 209 | 206 | ||
| 210 | 207 | $ yum update | |
| 211 | - $ yum install cloud-client # management server | ||
| 208 | + $ yum install cloudstack-management # management server | ||
| 212 | 209 | $ yum install mysql-server # mysql server | |
| 213 | - $ yum install cloud-agent # agent (kvm) | ||
| 214 | - $ yum install cloud-usage # usage server | ||
| 210 | + $ yum install cloudstack-agent # agent (kvm) | ||
| 211 | + $ yum install cloudstack-usage # usage server | ||
| 215 | 212 | ||
| 216 | 213 | ## Installing CloudMonkey CLI | |
| 217 | 214 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments