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:44] – hwehrs | freebsd:server:install [2026/02/13 00:47] (aktuell) – [MariaDB] hwehrs | ||
|---|---|---|---|
| Zeile 4: | Zeile 4: | ||
| ---- | ---- | ||
| - | ==== Test einer Server-Installation ==== | + | ====== Test einer Server-Installation |
| ...nach Möglichkeit ohne Container in irgendeiner Form, damit man das ganze Setup in irgendeiner Form auch noch sichern kann... | ...nach Möglichkeit ohne Container in irgendeiner Form, damit man das ganze Setup in irgendeiner Form auch noch sichern kann... | ||
| Zeile 11: | Zeile 11: | ||
| <WRAP clear /> | <WRAP clear /> | ||
| - | ==== Grundinstallation ==== | + | ===== Grundinstallation |
| Screenshots der Grundinstallation stammen von einer VM. | Screenshots der Grundinstallation stammen von einer VM. | ||
| Zeile 18: | Zeile 18: | ||
| ---- | ---- | ||
| - | ==== SSH-Key kopieren und SSHD_CONFIG anpassen ==== | + | ===== SSH-Key kopieren und SSHD_CONFIG anpassen |
| {{: | {{: | ||
| Danach reboot. | Danach reboot. | ||
| ---- | ---- | ||
| - | ==== Erste Anpassungen ==== | + | ===== Erste Anpassungen |
| <WRAP group> | <WRAP group> | ||
| <WRAP right 10%>{{ : | <WRAP right 10%>{{ : | ||
| <WRAP left 85%> | <WRAP left 85%> | ||
| - | === Paketverwaltung umstellen === | + | ==== Paketverwaltung umstellen |
| Paketverwaltung von vierteljährlichen Updates auf Aktuell umstellen. | Paketverwaltung von vierteljährlichen Updates auf Aktuell umstellen. | ||
| Zeile 44: | Zeile 44: | ||
| <WRAP right 10%>{{ : | <WRAP right 10%>{{ : | ||
| <WRAP left 85%> | <WRAP left 85%> | ||
| - | === Installation vim === | + | ==== Installation vim ==== |
| <code bash> | <code bash> | ||
| pkg install -y vim | pkg install -y vim | ||
| Zeile 56: | Zeile 56: | ||
| <WRAP right 10%>{{ : | <WRAP right 10%>{{ : | ||
| <WRAP left 85%> | <WRAP left 85%> | ||
| - | === Aliasse und Environment === | + | ==== Aliasse und Environment |
| <code bash> | <code bash> | ||
| vim / | vim / | ||
| Zeile 78: | Zeile 78: | ||
| <WRAP right 10%>{{ : | <WRAP right 10%>{{ : | ||
| <WRAP left 85%> | <WRAP left 85%> | ||
| - | === ZFS-Pool auf die HDDs legen === | + | ==== ZFS-Pool auf die HDDs legen ==== |
| Bei BSD gibt es die Verzeichnisstruktur **''/ | Bei BSD gibt es die Verzeichnisstruktur **''/ | ||
| <code bash> | <code bash> | ||
| 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.1770936291.txt.gz · Zuletzt geändert: von hwehrs · Momentan gesperrt von: hwehrs
