This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git
The following commit(s) were added to refs/heads/main by this push:
new b087880 Kvm cloudstack repo (#405)
b087880 is described below
commit b08788027bbc138ddf6bfc03a9d03759941bd8b1
Author: Jithin Raju <[email protected]>
AuthorDate: Fri Jun 21 16:57:34 2024 +0530
Kvm cloudstack repo (#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]>
---
source/installguide/hypervisor/kvm.rst | 101 +++++++++++++++++++++++++++++++++
1 file changed, 101 insertions(+)
diff --git a/source/installguide/hypervisor/kvm.rst
b/source/installguide/hypervisor/kvm.rst
index 9095ff0..caa94dd 100644
--- a/source/installguide/hypervisor/kvm.rst
+++ b/source/installguide/hypervisor/kvm.rst
@@ -165,6 +165,107 @@ KVM Instances.
is the selected/active one (in case you had a previous Java version already
installed)
with ``alternatives --config java``, after CloudStack agent is installed.
+Configure package repository
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+CloudStack is only distributed from source from the official mirrors.
+However, members of the CloudStack community may build convenience
+binaries so that users can install Apache CloudStack without needing to
+build from source.
+
+If you didn't follow the steps to build your own packages from source in
+the sections for `“Building RPMs from Source”
+<../building_from_source.html#building-rpms-from-source>`__ or
+`“Building DEB packages”
<../building_from_source.html#building-deb-packages>`__
+you may find pre-built DEB and RPM packages for your convenience linked from
+the `downloads <http://cloudstack.apache.org/downloads.html>`_ page.
+
+.. note::
+ These repositories contain both the Management Server and KVM Hypervisor
+ packages.
+
+RPM package repository
+~~~~~~~~~~~~~~~~~~~~~~
+
+There is a RPM package repository for CloudStack so you can easily
+install on RHEL and SUSE based platforms.
+
+If you're using an RPM-based system, you'll want to add the Yum
+repository so that you can install CloudStack with Yum.
+
+In RHEL or CentOS:
+
+Yum repository information is found under ``/etc/yum.repos.d``. You'll
+see several ``.repo`` files in this directory, each one denoting a
+specific repository.
+
+To add the CloudStack repository, create
+``/etc/yum.repos.d/cloudstack.repo`` and insert the following
+information.
+
+In the case of RHEL being used, you can replace 'centos' by 'rhel' in the
value of baseurl
+
+.. parsed-literal::
+
+ [cloudstack]
+ name=cloudstack
+ baseurl=http://download.cloudstack.org/centos/$releasever/|version|/
+ enabled=1
+ gpgcheck=0
+
+Now you should now be able to install CloudStack using Yum.
+
+In SUSE:
+
+Zypper repository information is found under ``/etc/zypp/repos.d/``. You'll
+see several ``.repo`` files in this directory, each one denoting a
+specific repository.
+
+To add the CloudStack repository, create
+``/etc/zypp/repos.d/cloudstack.repo`` and insert the following
+information.
+
+.. parsed-literal::
+
+ [cloudstack]
+ name=cloudstack
+ baseurl=http://download.cloudstack.org/suse/|version|/
+ enabled=1
+ gpgcheck=0
+
+
+Now you should now be able to install CloudStack using zypper.
+
+
+DEB package repository
+~~~~~~~~~~~~~~~~~~~~~~
+
+You can add a DEB package repository to your apt sources with the
+following commands. Replace the code name with your Ubuntu LTS version :
+Ubuntu 20.04 (focal), Ubuntu 22.04 (jammy), Ubuntu 24.04 (noble).
+
+Use your preferred editor and open (or create)
+``/etc/apt/sources.list.d/cloudstack.list``. Add the community provided
+repository to the file (replace "trusty" with "xenial" or "bionic" if it is
the case):
+
+.. parsed-literal::
+
+ deb https://download.cloudstack.org/ubuntu focal |version|
+
+We now have to add the public key to the trusted keys.
+
+.. parsed-literal::
+
+ wget -O - https://download.cloudstack.org/release.asc |sudo tee
/etc/apt/trusted.gpg.d/cloudstack.asc
+
+Now update your local apt cache.
+
+.. parsed-literal::
+
+ sudo apt update
+
+Your DEB package repository should now be configured and ready for use.
+
Install and configure the Agent
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~