freebsd:server:install
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| freebsd:server:install [2026/02/12 22:48] – [Erste Anpassungen] hwehrs | freebsd:server:install [2026/02/13 00:47] (aktuell) – [MariaDB] hwehrs | ||
|---|---|---|---|
| Zeile 101: | Zeile 101: | ||
| </ | </ | ||
| ---- | ---- | ||
| + | |||
| + | ===== MariaDB ===== | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP right 10%>{{ : | ||
| + | <WRAP left 85%> | ||
| + | ==== Installation ==== | ||
| + | <code bash> | ||
| + | pkg install -y mariadb1011-server mariadb1011-client | ||
| + | </ | ||
| + | |||
| + | <WRAP info round justify>< | ||
| + | Message from galera26-26.4.25: | ||
| + | |||
| + | Find the Galera Cluster documentation at https:// | ||
| + | ---- | ||
| + | Message from mariadb1011-client-10.11.16: | ||
| + | |||
| + | MariaDB respects hier(7) and doesn' | ||
| + | nor / | ||
| + | |||
| + | This port does NOT include the mytop perl script, this is included in the MariaDB tarball but the most recent version can be found in the databases/ | ||
| + | |||
| + | WSREP\\ | ||
| + | Using wsrep clustering requires adding a configuration file. Copy / | ||
| + | ---- | ||
| + | Message from mariadb1011-server-10.11.16: | ||
| + | |||
| + | MariaDB respects hier(7) and doesn' | ||
| + | nor / | ||
| + | |||
| + | This port does NOT include the mytop perl script, this is included in the MariaDB tarball but the most recent version can be found in the databases/ | ||
| + | |||
| + | Using wsrep clustering requires adding a configuration file. Copy / | ||
| + | </ | ||
| + | dddddd | ||
| + | ddddd | ||
| + | ddddd | ||
| + | </ | ||
| + | </ | ||
| + | ---- | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP right 10%>{{ : | ||
| + | <WRAP left 85%> | ||
| + | ==== ZFS-Dataset für das Datenverzeichnis erstellen ==== | ||
| + | <code bash> | ||
| + | zfs create -o mountpoint=/ | ||
| + | zfs create -o recordsize=16k zfshdd/ | ||
| + | zfs create -o recordsize=128k -o atime=off zfshdd/ | ||
| + | chown -Rv mysql:mysql / | ||
| + | chmod 700 / | ||
| + | </ | ||
| + | |||
| + | <WRAP info round centeralign 60%>< | ||
| + | < | ||
| + | NAME | ||
| + | zfshdd | ||
| + | zfshdd/ | ||
| + | zfshdd/ | ||
| + | zfshdd/ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | ---- | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP right 10%>xx yy zz</ | ||
| + | <WRAP left 85%> | ||
| + | ==== MariaDB Datendateien erstellen & Zugänge sichern ==== | ||
| + | <code bash> | ||
| + | mysql_install_db --defaultsfile=/ | ||
| + | </ | ||
| + | |||
| + | Nachdem die Datendateien erstellt sind, die User-Accounts sichern. | ||
| + | <code bash> | ||
| + | mysql_secure_installation | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | ---- | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP right 10%>dd dd dd</ | ||
| + | <WRAP left 85%> | ||
| + | ==== MariaDB Konfiguration ==== | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | |||
freebsd/server/install.1770936533.txt.gz · Zuletzt geändert: von hwehrs · Momentan gesperrt von: hwehrs
