Setup mariadb » Historie » Version 2
Jeremias Keihsler, 20.03.2021 18:37
| 1 | 1 | Jeremias Keihsler | h1. Install Procedure for mariadb |
|---|---|---|---|
| 2 | |||
| 3 | h2. Requirements |
||
| 4 | |||
| 5 | To install apache you will need the following: |
||
| 6 | * a installed and supported operating system (e.g. Fedora 33 Workstation) |
||
| 7 | * root-access |
||
| 8 | * a fast internet connection |
||
| 9 | |||
| 10 | h2. Preliminary Note |
||
| 11 | |||
| 12 | mariadb is a drop-in replacement for MySQL. |
||
| 13 | |||
| 14 | h2. Install |
||
| 15 | |||
| 16 | <pre><code class="shell"> |
||
| 17 | 2 | Jeremias Keihsler | dnf install mariadb-server |
| 18 | 1 | Jeremias Keihsler | </code></pre> |
| 19 | |||
| 20 | h2. Service |
||
| 21 | |||
| 22 | <pre><code class="shell"> |
||
| 23 | systemctl start mariadb |
||
| 24 | systemctl enable mariadb |
||
| 25 | </code></pre> |
||
| 26 | |||
| 27 | h2. Hardening |
||
| 28 | |||
| 29 | <pre><code class="shell"> |
||
| 30 | /usr/bin/mysql_secure_installation |
||
| 31 | </code></pre> |