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 23:14] – [MariaDB] hwehrs | freebsd:server:install [2026/02/13 00:47] (aktuell) – [MariaDB] hwehrs | ||
|---|---|---|---|
| Zeile 115: | Zeile 115: | ||
| Message from galera26-26.4.25: | Message from galera26-26.4.25: | ||
| - | -- | + | Find the Galera Cluster documentation at https:// |
| - | Find the Galera Cluster documentation at | + | ---- |
| - | https:// | + | |
| - | ===== | + | |
| Message from mariadb1011-client-10.11.16: | Message from mariadb1011-client-10.11.16: | ||
| - | -- | + | MariaDB respects hier(7) and doesn' |
| - | MariaDB respects hier(7) and doesn' | + | |
| - | my.cnf. Please move existing my.cnf files from those paths to | + | |
| - | / | + | |
| - | configuration files are provided in / | + | |
| - | and / | + | |
| - | The rc(8) script no longer uses / | + | |
| nor / | nor / | ||
| - | This port does NOT include the mytop perl script, this is included in | + | 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/ |
| - | the MariaDB tarball but the most recent version can be found in the | + | |
| - | databases/ | + | |
| - | %%WSREP%%Using wsrep clustering requires adding a configuration file. | + | WSREP\\ |
| - | %%WSREP%%Copy / | + | Using wsrep clustering requires adding a configuration file. Copy / |
| - | %%WSREP%%/ | + | ---- |
| - | ===== | + | |
| Message from mariadb1011-server-10.11.16: | Message from mariadb1011-server-10.11.16: | ||
| - | -- | + | MariaDB respects hier(7) and doesn' |
| - | MariaDB respects hier(7) and doesn' | + | |
| - | my.cnf. Please move existing my.cnf files from those paths to | + | |
| - | / | + | |
| - | configuration files are provided in / | + | |
| - | and / | + | |
| - | The rc(8) script no longer uses / | + | |
| nor / | nor / | ||
| - | This port does NOT include the mytop perl script, this is included in | + | 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/ |
| - | 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 / | ||
| + | </ | ||
| - | Using wsrep clustering requires adding a configuration file. | + | <WRAP info round centeralign 60%>< |
| - | Copy /usr/local/etc/mysql/conf.d/wsrep.cnf.sample to | + | < |
| - | /usr/local/etc/mysql/conf.d/wsrep.cnf and change what you need there. | + | NAME |
| + | zfshdd | ||
| + | zfshdd/mariadb | ||
| + | zfshdd/mariadb/daten | ||
| + | zfshdd/mariadb/log | ||
| + | </code> | ||
| </ | </ | ||
| </ | </ | ||
| Zeile 162: | Zeile 169: | ||
| <WRAP group> | <WRAP group> | ||
| - | <WRAP right 10%>dd dd dd</ | + | <WRAP right 10%>xx yy zz</ |
| <WRAP left 85%> | <WRAP left 85%> | ||
| - | ==== ZFS-Dataset für die Daten ==== | + | ==== 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 | ||
| + | </ | ||
| </ | </ | ||
| </ | </ | ||
freebsd/server/install.1770938096.txt.gz · Zuletzt geändert: von hwehrs · Momentan gesperrt von: hwehrs
