Setup mariadb » Historie » Version 1
Jeremias Keihsler, 12.01.2017 11:51
| 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. CentOS 7.x) |
||
| 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="bash"> |
||
| 17 | yum install mysql, mysql-server |
||
| 18 | </code></pre> |
||
| 19 | |||
| 20 | h2. Service |
||
| 21 | |||
| 22 | <pre><code class="bash"> |
||
| 23 | systemctl start mariadb |
||
| 24 | systemctl enable mariadb |
||
| 25 | </code></pre> |
||
| 26 | |||
| 27 | h2. Hardening |
||
| 28 | |||
| 29 | <pre><code class="bash"> |
||
| 30 | /usr/bin/mysql_secure_installation |
||
| 31 | </code></pre> |
||
| 32 | |||
| 33 | h2. Firewall |