Cleanup.
This commit is contained in:
parent
8f0ef13d4d
commit
f7310f4060
|
@ -82,7 +82,7 @@ wget https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/sql/fail2ban.
|
|||
Please replace `<my-secret-password>` by your own strong password.
|
||||
|
||||
```
|
||||
CREATE DATABASE fail2ban DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
CREATE DATABASE fail2ban DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
GRANT ALL ON fail2ban.* TO 'fail2ban'@'localhost' IDENTIFIED BY '<my-secret-password>';
|
||||
|
||||
USE fail2ban;
|
||||
|
@ -240,6 +240,12 @@ pkg_add GeoIP geolite-country
|
|||
|
||||
## For iRedAdmin-Pro users: Enable the SQL integration
|
||||
|
||||
!!! attention
|
||||
|
||||
iRedAdmin-Pro upgrade script will detect Fail2ban + SQL integration, so
|
||||
if you're upgrading iRedAdmin-Pro, you don't need to add missing
|
||||
configuration parameters manually.
|
||||
|
||||
Please add Fail2ban SQL credential in iRedAdmin-Pro config file
|
||||
`/opt/www/iredadmin/settings.py`, then restart `iredadmin` service. If you're
|
||||
still running Apache web server, you should restart Apache service instead.
|
||||
|
|
|
@ -105,7 +105,7 @@ wget https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/sql/fail2ban.
|
|||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<pre><code>CREATE DATABASE fail2ban DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
<pre><code>CREATE DATABASE fail2ban DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
GRANT ALL ON fail2ban.* TO 'fail2ban'@'localhost' IDENTIFIED BY '<my-secret-password>';
|
||||
|
||||
USE fail2ban;
|
||||
|
@ -250,6 +250,12 @@ country of banned IP address and store it in SQL database.</p>
|
|||
</code></pre>
|
||||
|
||||
<h2 id="for-iredadmin-pro-users-enable-the-sql-integration">For iRedAdmin-Pro users: Enable the SQL integration</h2>
|
||||
<div class="admonition attention">
|
||||
<p class="admonition-title">Attention</p>
|
||||
<p>iRedAdmin-Pro upgrade script will detect Fail2ban + SQL integration, so
|
||||
if you're upgrading iRedAdmin-Pro, you don't need to add missing
|
||||
configuration parameters manually.</p>
|
||||
</div>
|
||||
<p>Please add Fail2ban SQL credential in iRedAdmin-Pro config file
|
||||
<code>/opt/www/iredadmin/settings.py</code>, then restart <code>iredadmin</code> service. If you're
|
||||
still running Apache web server, you should restart Apache service instead.</p>
|
||||
|
|
Loading…
Reference in New Issue