Skip to content

Commit

Permalink
M #-: Update provision deps installation
Browse files Browse the repository at this point in the history
  • Loading branch information
xorel committed Aug 16, 2024
1 parent 659566e commit ed874fc
Showing 1 changed file with 14 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,59 +96,45 @@ There are also packages with debugging symbols for some platforms, e.g. ``openen

There are a few differences in package names among distributions. Those with varying package names contain mostly integration libraries and since they are for general use on installation Hosts, their names are left to follow the distribution conventions. Above, you can find the AlmaLinux/RHEL specific packages prefixed with "*rpm:*" and Debian/Ubuntu specific packages prefixed with "*deb:*".

AlmaLinux / RHEL
--------------------------

Install all OpenNebula Front-end components by executing the following commands under a privileged user:

AlmaLinux / RHEL
--------------------------

.. prompt:: bash # auto

# yum -y install opennebula opennebula-fireedge opennebula-gate opennebula-flow opennebula-provision

**Optional**

1. Install dependencies for OpenNebula Edge Clusters provisioning:

.. note::

Ansible and Terraform can be also installed from packages if their versions are **Ansible 2.9.x** and **Terraform 0.14.x**.

.. prompt:: bash # auto

# yum -y install python3-pip
# pip3 install 'cryptography<3.4'
# pip3 install 'ansible>=2.8.0,<2.10.0'
# pip3 install 'Jinja2>=2.10.0'
# curl 'https://releases.hashicorp.com/terraform/0.14.7/terraform_0.14.7_linux_amd64.zip' | zcat >/usr/bin/terraform
# chmod 0755 /usr/bin/terraform

Debian / Ubuntu
---------------

Install all OpenNebula Front-end components by executing the following commands under a privileged user:

.. prompt:: bash # auto

# apt-get update
# apt-get -y install opennebula opennebula-fireedge opennebula-gate opennebula-flow opennebula-provision

**Optional**

1. Install dependencies for OpenNebula Edge Clusters provisioning:
Optional: Install dependencies for OpenNebula Edge Clusters provisioning
------------------------------------------------------------------------

.. note::
There are 2 main dependencies which needs to be installed on the FE for running provisioning.

Ansible and Terraform can be also installed from packages if their versions are **Ansible 2.9.x** and **Terraform 0.14.x**.
1. **Terraform** -- is needed to provision resources on public cloud providers, download the binary as follows

.. prompt:: bash # auto

# apt-get -y install python3-pip
# pip3 install 'cryptography<3.4'
# pip3 install 'ansible>=2.8.0,<2.10.0'
# pip3 install 'Jinja2>=2.10.0'
# curl 'https://releases.hashicorp.com/terraform/0.14.7/terraform_0.14.7_linux_amd64.zip' | zcat >/usr/bin/terraform
# chmod 0755 /usr/bin/terraform


2. **Ansible** -- is used to configure the provisioned resources (cloud or on-premise). Ansible system package is installed
as a dependency of the opennebula-provision package. However for HCI provisioning including Ceph, the system-installed
ansible version may not be sufficient as it requires ansible-core 2.15+. It is advised to use latest Ubuntu for the FE if
Ceph HCI provision is needed or install ansible 2.15+ on the system and make it default for oneadmin user.


Step 3. Enabling MySQL/MariaDB (Optional)
================================================================================

Expand Down

0 comments on commit ed874fc

Please sign in to comment.