Setup mariadb » Historie » Version 3
Jeremias Keihsler, 17.03.2017 20:18
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 | 3 | Jeremias Keihsler | yum install mariadb mariadb-server |
18 | 1 | Jeremias Keihsler | </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 | 2 | Jeremias Keihsler | h2. Firewall |