Skip to content

Commit e209a2c

Browse files
committed
Update the INSTALL.md file with the changed noredist flag.
And fix a few old entries
1 parent 4d461d5 commit e209a2c

1 file changed

Lines changed: 17 additions & 20 deletions

File tree

INSTALL.md

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -96,23 +96,20 @@ Clean and build:
9696

9797
$ mvn clean install -P systemvm,developer
9898

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.
101104

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
111108

112109
$ cd deps
113110
$ ./install-non-oss.sh
114111

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:
116113

117114
$ mvn clean install -P systemvm,developer -Dnonoss
118115

@@ -153,7 +150,7 @@ This section describes packaging and installation.
153150

154151
To create debs:
155152

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
157154
$ dpkg-buildpackage
158155

159156
All the deb packages will be created in ../$PWD
@@ -183,15 +180,15 @@ Install needed packages, apt-get upgrade for upgrading:
183180

184181
To create rpms:
185182

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 ]
188185

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
190187

191188
To create a yum repo: (assuming appropriate user privileges)
192189

193190
$ path=/path/to/your/webserver/cloudstack
194-
$ cd artifacts/rpmbuild/RPMS/x86_64
191+
$ cd dist/rpmbuild/RPMS/x86_64
195192
$ mv *.rpm $path
196193
$ createrepo $path
197194

@@ -208,10 +205,10 @@ Installation:
208205
Install needed packages:
209206

210207
$ yum update
211-
$ yum install cloud-client # management server
208+
$ yum install cloudstack-management # management server
212209
$ 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
215212

216213
## Installing CloudMonkey CLI
217214

0 commit comments

Comments
 (0)