OpenSuse: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Module) |
|||
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 3: | Zeile 3: | ||
<pre> | <pre> | ||
zypper install <package> | zypper install <package> | ||
</pre> | |||
== Alias IP-Adressen == | |||
Für Schnittstelle ''eth0'': | |||
<pre> | |||
nano /etc/sysconfig/network/ifcfg-eth0 | |||
</pre> | |||
<pre> | |||
BOOTPROTO='static' | |||
STARTMODE='auto' | |||
NAME='VMXNET3 Ethernet Controller' | |||
BROADCAST='' | |||
ETHTOOL_OPTIONS='' | |||
IPADDR='10.8.2.170/24' | |||
MTU='1500' | |||
NETWORK='' | |||
REMOTE_IPADDR='' | |||
USERCONTROL='no' | |||
IPADDR_0='10.8.2.172/24' | |||
LABEL_0='VIE' | |||
IPADDR_1='10.8.2.173/24' | |||
LABEL_1='HK' | |||
... | |||
</pre> | </pre> | ||
Zeile 13: | Zeile 38: | ||
systemctl stop apache2.service | systemctl stop apache2.service | ||
systemctl start apache2.service | systemctl start apache2.service | ||
</pre> | |||
=== Fehlersuche === | |||
<pre> | |||
journalctl -xn | |||
</pre> | </pre> | ||
Zeile 25: | Zeile 56: | ||
<pre> | <pre> | ||
nano /etc/sysconfig/apache2 | nano /etc/sysconfig/apache2 | ||
</pre> | |||
<pre> | |||
APACHE_MODULES="<...> deflate proxy proxy_ajp proxy_connect proxy_http headers" | |||
</pre> | </pre> | ||
Aktuelle Version vom 13. Mai 2016, 16:32 Uhr
Paketinstallation
zypper install <package>
Alias IP-Adressen
Für Schnittstelle eth0:
nano /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='static' STARTMODE='auto' NAME='VMXNET3 Ethernet Controller' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='10.8.2.170/24' MTU='1500' NETWORK='' REMOTE_IPADDR='' USERCONTROL='no' IPADDR_0='10.8.2.172/24' LABEL_0='VIE' IPADDR_1='10.8.2.173/24' LABEL_1='HK' ...
Apache
Starten / Stoppen
systemctl status apache2.service systemctl stop apache2.service systemctl start apache2.service
Fehlersuche
journalctl -xn
Module
Speicherort:
/usr/lib64/apache2/
Festlegen, welche Module geladen werden:
nano /etc/sysconfig/apache2
APACHE_MODULES="<...> deflate proxy proxy_ajp proxy_connect proxy_http headers"
mod_jk
wget ftp://rpmfind.net/linux/opensuse/ports/ppc/distribution/13.2/repo/oss/suse/ppc/apache2-mod_jk-1.2.40-2.2.1.ppc.rpm rpm -i apache2-mod_jk-1.2.40-2.2.1.ppc.rpm
zypper install apache2-mod_jk
Zurück zu Hauptseite