Skip to content

Commit bfc3e71

Browse files
authored
Update kvm.rst - iptables before rule necessary for Ubuntu 24.04 LTS (#510)
1 parent d67c456 commit bfc3e71

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

source/installguide/hypervisor/kvm.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,19 +1541,19 @@ To open the required ports, execute the following commands:
15411541
$ ufw allow proto tcp from any to any port 49152:49216
15421542
15431543
.. note::
1544-
By default UFW is not enabled on Ubuntu. Executing these commands with the
1545-
firewall disabled does not enable the firewall.
1544+
Since Ubuntu 22.04 LTS, the UFW's default policy for forwarding is set to "DROP".
1545+
Change it to "ACCEPT".
15461546

1547-
If you have an issue with ufw while using a bridged connection,
1548-
add those two lines at the end of the /etc/ufw/before.rules just before COMMIT
1547+
.. parsed-literal::
1548+
sudo vi /etc/default/ufw
15491549
15501550
.. parsed-literal::
1551-
sudo vi /etc/ufw/before.rules
1551+
DEFAULT_FORWARD_POLICY="ACCEPT"
15521552
15531553
.. parsed-literal::
1554-
-A FORWARD -d 192.168.42.11 -j ACCEPT
1555-
-A FORWARD -s 192.168.42.11 -j ACCEPT
1554+
sudo ufw enable
15561555
1556+
UFW is disabled by default, so enabling it is recommended but optional.
15571557

15581558
Additional Packages Required for Features
15591559
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

source/installguide/management-server/_database.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,20 @@ MySQL. See :ref:`install-database-on-separate-node`.
6464
innodb_rollback_on_timeout=1
6565
innodb_lock_wait_timeout=600
6666
max_connections=350
67-
log-bin=mysql-bin
68-
binlog-format = 'ROW'
67+
log_bin=mysql-bin
68+
binlog_format=ROW
6969
7070
.. note::
71-
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.
71+
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.
7272

7373
.. parsed-literal::
7474
75-
server-id=source-01
75+
server_id=source-01
7676
innodb_rollback_on_timeout=1
7777
innodb_lock_wait_timeout=600
7878
max_connections=350
79-
log-bin=mysql-bin
80-
binlog-format = 'ROW'
79+
log_bin=mysql-bin
80+
binlog_format=ROW
8181
8282
.. note::
8383
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
337337
innodb_rollback_on_timeout=1
338338
innodb_lock_wait_timeout=600
339339
max_connections=700
340-
log-bin=mysql-bin
341-
binlog-format = 'ROW'
342-
bind-address = 0.0.0.0
340+
log_bin=mysql-bin
341+
binlog_format=ROW
342+
bind-address=0.0.0.0
343343
344344
#. Start or restart MySQL to put the new configuration into effect.
345345

source/installguide/management-server/_pkg_repo.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,16 @@ DEB package repository
9090

9191
You can add a DEB package repository to your apt sources with the
9292
following commands. Replace the code name with your Ubuntu LTS version :
93-
Ubuntu 16.04 (Xenial), Ubuntu 18.04 (Bionic) and Ubuntu 20.04 (Focal) .
94-
Ubuntu 14.04 (Trusty) is no longer supported.
93+
Ubuntu 18.04 (Bionic), Ubuntu 20.04 (Focal), Ubuntu 22.04 (Jammy), and Ubuntu 24.04 (Noble).
94+
Ubuntu 12.04 (Precise), Ubuntu 14.04 (Trusty), and Ubuntu 16.04 (Xenial) are no longer supported.
9595

9696
Use your preferred editor and open (or create)
9797
``/etc/apt/sources.list.d/cloudstack.list``. Add the community provided
98-
repository to the file (replace "trusty" with "xenial" or "bionic" if it is the case):
98+
repository to the file (replace "noble" with "jammy" or "focal" or "bionic" if it is the case):
9999

100100
.. parsed-literal::
101101
102-
deb https://download.cloudstack.org/ubuntu focal |version|
102+
deb https://download.cloudstack.org/ubuntu noble |version|
103103
104104
We now have to add the public key to the trusted keys.
105105

source/quickinstallationguide/qig.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ section:
353353
innodb_rollback_on_timeout=1
354354
innodb_lock_wait_timeout=600
355355
max_connections=350
356-
log-bin=mysql-bin
357-
binlog-format = 'ROW'
356+
log_bin=mysql-bin
357+
binlog_format=ROW
358358
359359
360360
Now that MySQL is properly configured we can start it and configure it to

0 commit comments

Comments
 (0)