OpenSuse: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Module) |
|||
(6 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 5: | Zeile 5: | ||
</pre> | </pre> | ||
== | == Alias IP-Adressen == | ||
=== mod_jk === | 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> | |||
== Apache == | |||
=== Starten / Stoppen === | |||
<pre> | |||
systemctl status apache2.service | |||
systemctl stop apache2.service | |||
systemctl start apache2.service | |||
</pre> | |||
=== Fehlersuche === | |||
<pre> | |||
journalctl -xn | |||
</pre> | |||
=== Module === | |||
Speicherort: | |||
<pre> | |||
/usr/lib64/apache2/ | |||
</pre> | |||
Festlegen, welche Module geladen werden: | |||
<pre> | |||
nano /etc/sysconfig/apache2 | |||
</pre> | |||
<pre> | |||
APACHE_MODULES="<...> deflate proxy proxy_ajp proxy_connect proxy_http headers" | |||
</pre> | |||
==== mod_jk ==== | |||
<pre> | <pre> | ||
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 | 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 | |||
</pre> | </pre> | ||
<pre> | |||
zypper install apache2-mod_jk | |||
</pre> | |||
Zurück zu [[Hauptseite]] | Zurück zu [[Hauptseite]] |
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