Skip to content

Commit 2dcf9ec

Browse files
rajujithDaanHooglandrohityadavcloud
authored andcommitted
Kvm cloudstack repo (apache#405)
* Find primary storage Adding a section describing how CloudStack finds suitable primary storage for volume migration. * Update source/adminguide/storage.rst Co-authored-by: dahn <[email protected]> * Update source/adminguide/storage.rst Co-authored-by: dahn <[email protected]> * Update source/adminguide/storage.rst Co-authored-by: dahn <[email protected]> * Adding rep configuration steps KVM needs cloudstack repro configuration , copying the section from management server installation here. * Update source/installguide/hypervisor/kvm.rst --------- Co-authored-by: dahn <[email protected]> Co-authored-by: Rohit Yadav <[email protected]>
1 parent 2ea63ad commit 2dcf9ec

File tree

1 file changed

+101
-0
lines changed
  • source/installguide/hypervisor

1 file changed

+101
-0
lines changed

source/installguide/hypervisor/kvm.rst

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,107 @@ KVM Instances.
165165
is the selected/active one (in case you had a previous Java version already installed)
166166
with ``alternatives --config java``, after CloudStack agent is installed.
167167

168+
Configure package repository
169+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
170+
171+
CloudStack is only distributed from source from the official mirrors.
172+
However, members of the CloudStack community may build convenience
173+
binaries so that users can install Apache CloudStack without needing to
174+
build from source.
175+
176+
If you didn't follow the steps to build your own packages from source in
177+
the sections for `“Building RPMs from Source”
178+
<../building_from_source.html#building-rpms-from-source>`__ or
179+
`“Building DEB packages” <../building_from_source.html#building-deb-packages>`__
180+
you may find pre-built DEB and RPM packages for your convenience linked from
181+
the `downloads <http://cloudstack.apache.org/downloads.html>`_ page.
182+
183+
.. note::
184+
These repositories contain both the Management Server and KVM Hypervisor
185+
packages.
186+
187+
RPM package repository
188+
~~~~~~~~~~~~~~~~~~~~~~
189+
190+
There is a RPM package repository for CloudStack so you can easily
191+
install on RHEL and SUSE based platforms.
192+
193+
If you're using an RPM-based system, you'll want to add the Yum
194+
repository so that you can install CloudStack with Yum.
195+
196+
In RHEL or CentOS:
197+
198+
Yum repository information is found under ``/etc/yum.repos.d``. You'll
199+
see several ``.repo`` files in this directory, each one denoting a
200+
specific repository.
201+
202+
To add the CloudStack repository, create
203+
``/etc/yum.repos.d/cloudstack.repo`` and insert the following
204+
information.
205+
206+
In the case of RHEL being used, you can replace 'centos' by 'rhel' in the value of baseurl
207+
208+
.. parsed-literal::
209+
210+
[cloudstack]
211+
name=cloudstack
212+
baseurl=http://download.cloudstack.org/centos/$releasever/|version|/
213+
enabled=1
214+
gpgcheck=0
215+
216+
Now you should now be able to install CloudStack using Yum.
217+
218+
In SUSE:
219+
220+
Zypper repository information is found under ``/etc/zypp/repos.d/``. You'll
221+
see several ``.repo`` files in this directory, each one denoting a
222+
specific repository.
223+
224+
To add the CloudStack repository, create
225+
``/etc/zypp/repos.d/cloudstack.repo`` and insert the following
226+
information.
227+
228+
.. parsed-literal::
229+
230+
[cloudstack]
231+
name=cloudstack
232+
baseurl=http://download.cloudstack.org/suse/|version|/
233+
enabled=1
234+
gpgcheck=0
235+
236+
237+
Now you should now be able to install CloudStack using zypper.
238+
239+
240+
DEB package repository
241+
~~~~~~~~~~~~~~~~~~~~~~
242+
243+
You can add a DEB package repository to your apt sources with the
244+
following commands. Replace the code name with your Ubuntu LTS version :
245+
Ubuntu 20.04 (focal), Ubuntu 22.04 (jammy), Ubuntu 24.04 (noble).
246+
247+
Use your preferred editor and open (or create)
248+
``/etc/apt/sources.list.d/cloudstack.list``. Add the community provided
249+
repository to the file (replace "trusty" with "xenial" or "bionic" if it is the case):
250+
251+
.. parsed-literal::
252+
253+
deb https://download.cloudstack.org/ubuntu focal |version|
254+
255+
We now have to add the public key to the trusted keys.
256+
257+
.. parsed-literal::
258+
259+
wget -O - https://download.cloudstack.org/release.asc |sudo tee /etc/apt/trusted.gpg.d/cloudstack.asc
260+
261+
Now update your local apt cache.
262+
263+
.. parsed-literal::
264+
265+
sudo apt update
266+
267+
Your DEB package repository should now be configured and ready for use.
268+
168269
Install and configure the Agent
169270
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
170271

0 commit comments

Comments
 (0)