This is an automated email from the ASF dual-hosted git repository.

dahn 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 bfc3e716 Update kvm.rst - iptables before rule necessary for Ubuntu 
24.04 LTS (#510)
bfc3e716 is described below

commit bfc3e716e4cdf594f5a902b97deebd47be26d2b2
Author: Davi Torres <90287660+daviftor...@users.noreply.github.com>
AuthorDate: Wed Aug 6 04:33:35 2025 -0400

    Update kvm.rst - iptables before rule necessary for Ubuntu 24.04 LTS (#510)
---
 source/installguide/hypervisor/kvm.rst              | 14 +++++++-------
 source/installguide/management-server/_database.rst | 18 +++++++++---------
 source/installguide/management-server/_pkg_repo.rst |  8 ++++----
 source/quickinstallationguide/qig.rst               |  4 ++--
 4 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/source/installguide/hypervisor/kvm.rst 
b/source/installguide/hypervisor/kvm.rst
index 463578a6..5522f801 100644
--- a/source/installguide/hypervisor/kvm.rst
+++ b/source/installguide/hypervisor/kvm.rst
@@ -1541,19 +1541,19 @@ To open the required ports, execute the following 
commands:
    $ ufw allow proto tcp from any to any port 49152:49216
 
 .. note::
-   By default UFW is not enabled on Ubuntu. Executing these commands with the
-   firewall disabled does not enable the firewall.
+   Since Ubuntu 22.04 LTS, the UFW's default policy for forwarding is set to 
"DROP".
+   Change it to "ACCEPT".
 
-   If you have an issue with ufw while using a bridged connection,
-   add those two lines at the end of the /etc/ufw/before.rules just before 
COMMIT
+.. parsed-literal::
+   sudo vi /etc/default/ufw
 
 .. parsed-literal::
-   sudo vi /etc/ufw/before.rules
+   DEFAULT_FORWARD_POLICY="ACCEPT"
 
 .. parsed-literal::
-   -A FORWARD -d 192.168.42.11 -j ACCEPT
-   -A FORWARD -s 192.168.42.11 -j ACCEPT
+   sudo ufw enable
 
+UFW is disabled by default, so enabling it is recommended but optional.
 
 Additional Packages Required for Features
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/source/installguide/management-server/_database.rst 
b/source/installguide/management-server/_database.rst
index d7596016..4fab82ae 100644
--- a/source/installguide/management-server/_database.rst
+++ b/source/installguide/management-server/_database.rst
@@ -64,20 +64,20 @@ MySQL. See :ref:`install-database-on-separate-node`.
       innodb_rollback_on_timeout=1
       innodb_lock_wait_timeout=600
       max_connections=350
-      log-bin=mysql-bin
-      binlog-format = 'ROW'
+      log_bin=mysql-bin
+      binlog_format=ROW
 
    .. note::
-      For Ubuntu 16.04 and later, make sure you specify a ``server-id`` in 
your ``.cnf`` file for binary logging. Set the         ``server-id`` according 
to your database setup.
+      For Ubuntu 16.04 and later, make sure you specify a ``server_id`` in 
your ``/etc/mysql/mysql.conf.d/mysqld.cnf`` file for binary logging. Set the 
``server_id`` according to your database setup.
 
    .. parsed-literal::
 
-      server-id=source-01
+      server_id=source-01
       innodb_rollback_on_timeout=1
       innodb_lock_wait_timeout=600
       max_connections=350
-      log-bin=mysql-bin
-      binlog-format = 'ROW'
+      log_bin=mysql-bin
+      binlog_format=ROW
 
    .. note::
       You can also create a file ``/etc/mysql/conf.d/cloudstack.cnf``
@@ -337,9 +337,9 @@ same node for MySQL. See `“Install the Database on the 
Management Server Node
       innodb_rollback_on_timeout=1
       innodb_lock_wait_timeout=600
       max_connections=700
-      log-bin=mysql-bin
-      binlog-format = 'ROW'
-      bind-address = 0.0.0.0
+      log_bin=mysql-bin
+      binlog_format=ROW
+      bind-address=0.0.0.0
 
 #. Start or restart MySQL to put the new configuration into effect.
 
diff --git a/source/installguide/management-server/_pkg_repo.rst 
b/source/installguide/management-server/_pkg_repo.rst
index 9ef80c35..6fc23fc0 100644
--- a/source/installguide/management-server/_pkg_repo.rst
+++ b/source/installguide/management-server/_pkg_repo.rst
@@ -90,16 +90,16 @@ 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 16.04 (Xenial), Ubuntu 18.04 (Bionic) and Ubuntu 20.04 (Focal) .
-Ubuntu 14.04 (Trusty) is no longer supported.
+Ubuntu 18.04 (Bionic), Ubuntu 20.04 (Focal), Ubuntu 22.04 (Jammy), and Ubuntu 
24.04 (Noble).
+Ubuntu 12.04 (Precise), Ubuntu 14.04 (Trusty), and Ubuntu 16.04 (Xenial) are 
no longer supported.
 
 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):
+repository to the file (replace "noble" with "jammy" or "focal" or "bionic" if 
it is the case):
 
 .. parsed-literal::
 
-   deb https://download.cloudstack.org/ubuntu focal |version|
+   deb https://download.cloudstack.org/ubuntu noble |version|
 
 We now have to add the public key to the trusted keys.
 
diff --git a/source/quickinstallationguide/qig.rst 
b/source/quickinstallationguide/qig.rst
index da74fe90..7f08777b 100644
--- a/source/quickinstallationguide/qig.rst
+++ b/source/quickinstallationguide/qig.rst
@@ -353,8 +353,8 @@ section:
    innodb_rollback_on_timeout=1
    innodb_lock_wait_timeout=600
    max_connections=350
-   log-bin=mysql-bin
-   binlog-format = 'ROW'
+   log_bin=mysql-bin
+   binlog_format=ROW
 
 
 Now that MySQL is properly configured we can start it and configure it to 

Reply via email to