OpenCMS installieren (AlmaLinux/CentOS): Unterschied zwischen den Versionen

K
keine Bearbeitungszusammenfassung
 
KKeine Bearbeitungszusammenfassung
Zeile 13: Zeile 13:
</syntaxhighlight>my.cnf anpassen<syntaxhighlight lang="bash">
</syntaxhighlight>my.cnf anpassen<syntaxhighlight lang="bash">
vi /etc/my.cnf
vi /etc/my.cnf
</syntaxhighlight>Verbindungen nur von localhost akzeptieren<syntaxhighlight lang="bash">
vi /etc/my.cnf.d/server.cnf
</syntaxhighlight><syntaxhighlight lang="bash" line="1">
# Allow server to accept connections on all interfaces.
#
bind-address=127.0.0.1
</syntaxhighlight><syntaxhighlight lang="bash" line="1">
</syntaxhighlight><syntaxhighlight lang="bash" line="1">
#
#
Zeile 31: Zeile 24:
#
#
!includedir /etc/my.cnf.d
!includedir /etc/my.cnf.d
</syntaxhighlight>Verbindungen nur von localhost akzeptieren<syntaxhighlight lang="bash">
vi /etc/my.cnf.d/server.cnf
</syntaxhighlight><syntaxhighlight lang="bash" line="1">
# Allow server to accept connections on all interfaces.
#
bind-address=127.0.0.1
</syntaxhighlight>MySQL Service starten<syntaxhighlight lang="bash">
</syntaxhighlight>MySQL Service starten<syntaxhighlight lang="bash">
systemctl enable --now mysql
systemctl enable --now mysql